mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3977] [MERGED] Sandbox Professor Mari and restore Personal Extensions #6180
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#6180
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3977
Author: @SpicyMarinara
Created: 7/23/2026
Status: ✅ Merged
Merged: 7/23/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feature/personal-extensions📝 Commits (2)
6103691Sandbox Professor Mari and restore personal extensionscde2f56Apply CodeRabbit review fixes for sandbox and extension consent📊 Changes
41 files changed (+4889 additions, -164 deletions)
View changed files
📝
CHANGELOG.md(+9 -0)📝
README.md(+4 -0)📝
docs/FAQ.md(+2 -0)📝
docs/data/backup-and-restore.md(+4 -2)📝
docs/development/frontend.md(+9 -0)➕
docs/development/personal-extensions.md(+72 -0)➕
docs/extending/personal-extensions.md(+78 -0)📝
docs/home/professor-mari.md(+17 -4)📝
docs/settings/settings-overview.md(+3 -2)📝
e2e/core-flows.e2e.ts(+136 -0)📝
package.json(+2 -1)📝
packages/client/src/App.tsx(+2 -0)📝
packages/client/src/components/chat/HomeProfessorMariChat.tsx(+255 -13)➕
packages/client/src/components/layout/PersonalExtensionInjector.tsx(+214 -0)📝
packages/client/src/components/panels/SettingsPanel.tsx(+17 -2)➕
packages/client/src/components/panels/settings/PersonalExtensionsSettings.tsx(+815 -0)➕
packages/client/src/hooks/use-personal-extensions.ts(+83 -0)➕
packages/client/src/lib/personal-extension-import.ts(+182 -0)➕
packages/client/src/lib/personal-extension-transfer.ts(+35 -0)📝
packages/server/src/app.ts(+20 -12)...and 21 more files
📄 Description
Linked issue
Closes #3973
Why this change
Professor Mari previously launched model-generated shell commands with the Marinara process user's host permissions. Setting the repository as
cwddid not prevent reads outside the workspace, inherited-secret exposure, network access, or arbitrary host writes.This PR also restores a deliberately local-only Personal Extensions path for code authored or imported by the user, including drafts written with Professor Mari, without restoring remote catalogs, URL installers, automatic updates, or transferable execution trust.
What changed
.envfiles and Git internals unreadable./api/extensionssurface removed and added local privileged/api/personal-extensionsroutes instead.Validation evidence
pnpm install --frozen-lockfilepnpm checkpnpm version:checkpnpm regression:extensions-securitypnpm regression:professor-mari-shell-sandbox— passed with macOS Seatbeltlinux-bubblewrap; verified outside-file denial, network denial, secret stripping,.envdenial, protected-manifest write denial, and permitted ordinary workspace writespnpm regression:request-securityValidation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
Documentation and
CHANGELOG.mdare updated. There is no version bump.UI evidence
No screenshots attached. Focused Playwright assertions cover the responsive Personal Extensions workflow and Professor Mari approval cards.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.