Skip to content

feat: improved WASI sandboxing#102

Merged
chirino merged 1 commit intoroastedroot:mainfrom
chirino:main
Jun 19, 2025
Merged

feat: improved WASI sandboxing#102
chirino merged 1 commit intoroastedroot:mainfrom
chirino:main

Conversation

@chirino
Copy link
Collaborator

@chirino chirino commented Jun 19, 2025

Implements a restricted subset of the WASI ABI (wasi_snapshot_preview1) to support proxy-wasm modules that require base level WASI functionality. This implementation adds a ABI_WASI class to handle WASI-specific functions:

  • Supports core WASI functions required by proxy-wasm spec
  • Implements fd_write for stdout/stderr logging
  • Adds support for clock, random, environment, and args functions

This should result in a better sandboxing of the guest modules.

Implements a restricted subset of the WASI ABI (wasi_snapshot_preview1) to support proxy-wasm modules that require base level WASI functionality. This implementation adds a ABI_WASI class to handle WASI-specific functions:
 
- Supports core WASI functions required by proxy-wasm spec 
- Implements fd_write for stdout/stderr logging 
- Adds support for clock, random, environment, and args functions 

This should result in a better sandboxing of the guest modules.
@chirino chirino merged commit b5cc1f5 into roastedroot:main Jun 19, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant