[GH-ISSUE #3999] [Feature]: Sandbox and gate Personal and External Extensions #2160

Closed
opened 2026-10-21 05:45:52 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3999

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Personal Extensions currently mix trusted drafts and third-party imports, and their browser/server code needs stronger isolation and default-deny execution controls. Settings also contains cramped Custom sound copy, hard-coded theme icon color, and extension controls that do not match the intended trust model.

Proposed solution

Make Personal Extensions Professor Mari-authored and disabled by default, with exact SHA-256 approval. Move third-party imports into a hidden External Extensions section that requires both ENABLE_EXTERNAL_EXTENSIONS=true and an explicit Danger Zone opt-in. Keep manually stored and imported external records invisible and unexecutable until both gates are open. Run browser code in an opaque-origin Worker iframe and server code under a mandatory macOS Seatbelt or Linux Bubblewrap sandbox. Also fix the Custom sound layout, accent-color theme icons and warning, remove New Draft, and keep supported formats expanded.

Alternatives considered

Leaving import controls in Personal Extensions, relying only on hash approval, or running server extensions in-process were rejected because they do not provide the requested default-deny boundary. Node permissions and node:vm alone are not treated as a malicious-code security boundary.

Additional context

Maintainer-requested work. Implementation owner: @SpicyMarinara. Documentation and release notes should be updated with the two-step opt-in and third-party-code warning.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3999 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Personal Extensions currently mix trusted drafts and third-party imports, and their browser/server code needs stronger isolation and default-deny execution controls. Settings also contains cramped Custom sound copy, hard-coded theme icon color, and extension controls that do not match the intended trust model. ## Proposed solution Make Personal Extensions Professor Mari-authored and disabled by default, with exact SHA-256 approval. Move third-party imports into a hidden External Extensions section that requires both ENABLE_EXTERNAL_EXTENSIONS=true and an explicit Danger Zone opt-in. Keep manually stored and imported external records invisible and unexecutable until both gates are open. Run browser code in an opaque-origin Worker iframe and server code under a mandatory macOS Seatbelt or Linux Bubblewrap sandbox. Also fix the Custom sound layout, accent-color theme icons and warning, remove New Draft, and keep supported formats expanded. ## Alternatives considered Leaving import controls in Personal Extensions, relying only on hash approval, or running server extensions in-process were rejected because they do not provide the requested default-deny boundary. Node permissions and node:vm alone are not treated as a malicious-code security boundary. ## Additional context Maintainer-requested work. Implementation owner: @SpicyMarinara. Documentation and release notes should be updated with the two-step opt-in and third-party-code warning. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2160
No description provided.