diff --git a/cmd/wazero/wazero.go b/cmd/wazero/wazero.go index 0c64bc9033..20e76d18c6 100644 --- a/cmd/wazero/wazero.go +++ b/cmd/wazero/wazero.go @@ -173,7 +173,9 @@ func doRun(args []string, stdOut io.Writer, stdErr logging.Writer) int { "Filesystem path to expose to the binary in the form of [:][:ro]. "+ "This may be specified multiple times. When is unset, is used. "+ "For example, -mount=/:/ or c:\\:/ makes the entire host volume writeable by wasm. "+ - "For read-only mounts, append the suffix ':ro'.") + "For read-only mounts, append the suffix ':ro'. "+ + "Note that the volume mount inherently allows the guest to escape the volume via relative path lookups like '../../'. "+ + "If that is not desired, use wazero as a library and implement a custom fs.FS.") var listens sliceFlag flags.Var(&listens, "listen",