mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1370] [MERGED] Fix hostable remote runtime security gates #5043
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#5043
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/1370
Author: @cha1latte
Created: 5/26/2026
Status: ✅ Merged
Merged: 5/26/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/refactor-issue-1345-hostable-security📝 Commits (2)
9dde656Fix hostable remote runtime security gates8e94cf9Address remote runtime security review📊 Changes
4 files changed (+816 additions, -8 deletions)
View changed files
📝
README.md(+6 -0)📝
docs/developer/run-build.html(+10 -0)📝
src-tauri/src/http_server.rs(+799 -8)📝
src/shared/api/remote-runtime.ts(+1 -0)📄 Description
Linked issue
Closes #1345
Why this change
What changed
X-Marinara-CSRF: 1on remote API calls.Refactor impact
Primary owner:
Remote runtime / Rust hostable server
Impact areas reviewed:
Boundary notes:
marinara-server, or add new admin-only API routes.Pressure points touched:
src-tauri/src/http_server.rssrc/shared/api/remote-runtime.tsValidation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
node scratch/issue-1345-hostable-security-repro.mjs --expect-fixed.cargo test --manifest-path src-tauri/Cargo.toml hostable_security --lib.pnpm check.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.json.CORS_ORIGINS/CSRF_TRUSTED_ORIGINSsettings for the target deployment.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
N/A, backend remote runtime security change.
Summary by CodeRabbit
New Features
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.