<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>jetzzz</author><text>If you are running untrusted WASM files with wasmedge be aware that it doesn&amp;#x27;t sandbox by default. WASM can contain native code that will be executed without sandboxing. From the docs [0][1]:&lt;p&gt;&amp;gt; The wasmedge CLI tool will execute the WebAssembly in ahead-of-time(AOT) mode if available in the input WASM file.&lt;p&gt;&amp;gt; The wasmedgec can compile WebAssembly into native machine code (i.e., the AOT compiler). For the pure WebAssembly, the wasmedge tool will execute the WASM in interpreter mode. After compiling with the wasmedgec AOT compiler, the wasmedge tool can execute the WASM in AOT mode which is much faster.&lt;p&gt;They added an option (--force-interpreter) to disable running untrusted native code [2]:&lt;p&gt;&amp;gt; Thanks for reporting this. I think we can have a flag to disable the automatically loaded AOT sections from an unknown given universal wasm format. One possible situation is that users want to execute a wasm file with interpreter mode, however, they use a universal wasm format received from a malicious developer, and then the bad thing happens.&lt;p&gt;[0]: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;wasmedge.org&amp;#x2F;book&amp;#x2F;en&amp;#x2F;cli&amp;#x2F;wasmedge.html&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;wasmedge.org&amp;#x2F;book&amp;#x2F;en&amp;#x2F;cli&amp;#x2F;wasmedge.html&lt;/a&gt;&lt;p&gt;[1]: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;wasmedge.org&amp;#x2F;book&amp;#x2F;en&amp;#x2F;cli&amp;#x2F;wasmedgec.html&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;wasmedge.org&amp;#x2F;book&amp;#x2F;en&amp;#x2F;cli&amp;#x2F;wasmedgec.html&lt;/a&gt;&lt;p&gt;[2]: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;WasmEdge&amp;#x2F;WasmEdge&amp;#x2F;issues&amp;#x2F;1631&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;WasmEdge&amp;#x2F;WasmEdge&amp;#x2F;issues&amp;#x2F;1631&lt;/a&gt;</text><parent_chain></parent_chain></comment><story><title>WasmEdge</title><url>https://wasmedge.org/</url></story>
<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>politelemon</author><text>I got a bit bewildered by the quick start documentation. It starts by showing how to install and uninstall, followed by running it in different execution environments, it seems to be expecting that you already know what wasmedge is. That&amp;#x27;s unexpected, as usually a quickstart shows how to write and run a simple application.</text><parent_chain></parent_chain></comment><story><title>WasmEdge</title><url>https://wasmedge.org/</url></story>