Repository navigation
Immutable
release. Only release title and notes can be modified.
0.1.6 moves the engine to wasmtime 51, which closes a sandbox escape on Windows: on 0.1.5 and earlier any guest could read host files outside its folders through a drive-prefixed name, even with no folders granted (GHSA-f2pq-268w-886c). The runner also turns off WebAssembly's GC proposal, which the runtime never used, and an rmdir of a folder named with a trailing slash now works on a mount. Act on one change: the wheel now requires wasmtime 51, which installs with it. python.wasm, the snapshot and the stdlib zip are byte for byte 0.1.5's; only the manifest, which names the engine, changes.
Security
- On Windows, a drive letter no longer reaches host files. wasmtime 51 refuses a
:in any path. Before, any guest could read a name such as/usr/local/lib/C:secretfrom drive C's current folder, with nothing granted, and write through a writable folder orroot=True(GHSA-f2pq-268w-886c, High). Your own wasmtime needs 51.0.0, 50.0.3, 49.0.7, 48.0.10 or 36.0.22. Security model - wasmtime's other fixes since 50.0.0 are carried. None of them reached the runner. A guest's empty writes, for one, never reach the output stream that one of them is about. Security model
- The engine refuses WebAssembly GC types. The runtime uses exceptions but none of the GC proposal's structs and arrays, so the runner now turns that proposal off. A module that declares one is refused. Security model
Fixed
- Removing a folder named with a trailing slash works on a mount.
os.rmdir("logs/")now removes an emptylogson a mount, as it does on a granted folder under wasmtime 51 and on Linux. It answered EINVAL before. The guest's files
Upgrading
- wasmtime 51 is required. The wheel requires
wasmtime>=51,<52, and the fix lives in that engine: an environment installed without dependencies, such as withpip install --no-deps, keeps its old wasmtime and the escape, so check thatpip show wasmtimesays 51. Fuel figures change slightly, since fuel is counted by the new engine. Support and versioning
For contributors
- Four more jinja2 tests the collector moves are named. The 0.1.5 release run saw two tests join jinja2's asyncio-loop class and two leave it with no change to the code, so the four join the six already named, and the rest of the class is still held exactly. Two tiers of tests
Verify a download (gh logged in; see Verify a download):
gh attestation verify <asset> --repo ClayGendron/wasi-python \
--signer-workflow ClayGendron/wasi-python/.github/workflows/release.yml@refs/tags/v0.1.6 \
--source-ref refs/tags/v0.1.6 --deny-self-hosted-runners