mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3999] [Feature]: Sandbox and gate Personal and External Extensions #2160
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2160
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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