[License Exception Request] [Spin] [MPL-2.0]
Maintainers usually reply within 1 day
@krook is already working on this.
Since Nov 6, 2026.
Assessment
This issue has not been assessed yet.
Description
For which CNCF project are you requesting exceptions?
Spin
Are you an official maintainer of this project?
Yes
List of components requiring an exception
| Component | Upstream URL | Project Usage URL | License(s) | Purpose |
|---|---|---|---|---|
| SpiderMonkey (built by StarlingMonkey / spidermonkey-wasi-embedding) | https://github.com/bytecodealliance/StarlingMonkey | [spin-js-sdk package.json URL]; [sandbox packages/typescript/sandbox/package.json https://github.com/fermyon/spin-agent-sandbox/blob/b23b72b3ad36cebc584d6244243920a3d634c484/packages/typescript/sandbox/package.json#L23 | ||
| https://github.com/fermyon/spin-agent-sandbox/blob/b23b72b3ad36cebc584d6244243920a3d634c484/packages/typescript/bundler/package.json#L24] | MPL-2.0 | JavaScript engine that ComponentizeJS compiles into Spin JavaScript Wasm components, unmodified by the project. | ||
Distribution and integration model
- CNCF-Distributed: The CNCF project will distribute the dependency or the resulting combined artifacts to users.
- User-Fetched Dependency: The CNCF project code will cause the user's system to automatically retrieve the dependency from an upstream source at build, install, or runtime.
- System Component: The CNCF project expects that the dependency will either already be present on the user's system or will be installed independently by the user.
- Not Distributed + Not Needed by End User (Internal Project Tooling): ALL of the following are true:
Distribution and integration model — explanation
The Spin JS SDK and Spin sandbox publish prebuilt .wasm components containing SpiderMonkey. Users building their own JS components fetch it through @bytecodealliance/componentize-js from npm.
Modification status
- Modified Upstream: The CNCF project will patch, alter, or otherwise modify the source code of the dependency and contribute upstream.
- Modified Downstream: The CNCF project will patch, alter, or otherwise modify the source code of the dependency and maintain a downstream fork or local copy.
- Unmodified: The CNCF project will use the dependency exactly as provided by the upstream maintainers without any changes to its source code.
Modification status — explanation
Spin consumes the engine exactly as ComponentizeJS/StarlingMonkey ship it. Any patches are maintained upstream by the Bytecode Alliance, not by Spin.
Structural separation
- Separated Component: The dependency's code will either be (a) kept in a distinct directory or module clearly separated from CNCF project code, or (b) retrieved at build/installation time from a third-party repository and never stored in the CNCF project repository.
- Intermingled Code: The dependency's code will be "mixed in" with CNCF source files, copied into existing project files, or will otherwise lose its distinct directory/module boundary.
Structural separation — explanation
The engine is fetched at build time from npm and never stored in Spin repositories.
Communication mechanism
- Static Linking: The dependency and the CNCF project code will be combined into a single binary or similar type of artifact during the build process.
- Dynamic Linking: The CNCF project code will interact with the dependency by loading it into the shared address space (memory) at run-time. This includes traditional shared objects compiled into a separate binary, as well as runtime module loading in interpreted or JIT-compiled languages.
- Separate Process: The dependency and the CNCF project code will run as distinct executables and communicate via Inter-Process Communication (e.g., pipes, sockets, or shared files)
- Network Interaction: The dependency and the CNCF project code will be logically and physically separated by a network boundary, with the CNCF project's code acting as a client or consumer of the remote service and interacting with the dependency exclusively via standardized network protocols.
Communication mechanism — explanation
The engine and the project's JavaScript are combined into one Wasm component at build time.
Data exchange
- Tightly Coupled: The upstream dependency and CNCF project code will exchange complex internal data structures such as shared pointers, class instances, or private memory offsets that require extensive knowledge of the other component's internal memory layout.
- Arms-Length Only: The communication between the dependency and the CNCF project code will be limited to standard serialized data (e.g., JSON, XML, or Protobuf) where data is "flattened" for transport and neither component accesses the other's internal memory structures.
Data exchange — explanation
Spin code is JavaScript source run by the engine. It doesn't access the engine's internal data structures. Other parts of the sandbox talk to the JS component only through typed WebAssembly interface calls.
Additional information — explanation
Several MPL-2.0 dependencies already have approved exceptions, scoped to unmodified use as a separate component. Spin has no existing exceptions. Separately, please confirm that the BlueOak-1.0.0 npm packages pulled in by the build tooling (tar, minipass, minimatch via weval/jco-std) count as internal project tooling and need no exception.
- Dominant language
- Rich Text Format
- Stars
- 702
- Forks
- 871
- Avg merge
- 3h 43m
- Merged PRs (30d)
- 19
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cncf/foundation
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
cncf/foundation#1614 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
cncf/foundation#1579 ·
Maintainers usually reply within 1 day
-
code-of-conduct.md: version number is not bumped up since v1.3 (2023-06-09)May be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
cncf/foundation#1109 · 1 comment ·
Maintainers usually reply within 1 day
-
[License Exception Request] [Modelplane] [MPL-2.0] @vercel/og, satori, @resvg/resvg-wasmPossibly taken @krook claimed this 24 days ago. Openlicensing needs-review
cncf/foundation#1598 · 3 comments · 1 reaction · 3 assignees ·
Maintainers usually reply within 1 day
-
[License Exception Request] [wasmCloud] [CC0-1.0] hexf-parse statically linked into washMay be free again @krook claimed this 44 days ago, and no pull request is open. Openlicensing needs-review
cncf/foundation#1583 · 1 comment · 3 assignees ·
Maintainers usually reply within 1 day