Skip to content

feat: add sandboxed WASM plugin runtime (#35) - #64

Merged
Nanle-code merged 1 commit into
StarsForges:masterfrom
nomsoscript:feat/wasm-plugin-runtime-35
Jul 30, 2026
Merged

feat: add sandboxed WASM plugin runtime (#35)#64
Nanle-code merged 1 commit into
StarsForges:masterfrom
nomsoscript:feat/wasm-plugin-runtime-35

Conversation

@nomsoscript

Copy link
Copy Markdown
Contributor

Summary

  • Adds a wasmi-backed sandboxed WASM plugin runtime with ABI validation and import permission checks.
  • Extends plugin manifests, registry lookup, install/load/audit/execute flows to support .wasm plugin artifacts.
  • Adds SDK ABI export support plus tests for WASM ABI compatibility and sandbox boundary enforcement.

Closes #35

Testing

  • cargo check --message-format=short
  • cargo test plugins::wasm_runtime --lib -- --nocapture
  • cargo test --lib

@Nanle-code
Nanle-code merged commit e2482d3 into StarsForges:master Jul 30, 2026
4 of 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.

[RFC/Feature] Transition from Native Dynamic Library Loading (libloading) to a Sandboxed WASM-based Plugin Runtime

2 participants