mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #724] [MERGED] Add Docker reverse-proxy auth hardening #4747
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#4747
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/724
Author: @NeoKazuya
Created: 5/12/2026
Status: ✅ Merged
Merged: 5/12/2026
Merged by: @Romuromylus
Base:
main← Head:fix/docker-proxy-auth-hardening📝 Commits (2)
c1056d9Add Docker reverse-proxy auth hardening5c0b01fMerge branch 'main' into fix/docker-proxy-auth-hardening📊 Changes
7 files changed (+134 additions, -7 deletions)
View changed files
📝
.env.example(+5 -0)📝
docs/CONFIGURATION.md(+4 -1)📝
docs/REMOTE_ACCESS.md(+3 -1)📝
packages/server/src/config/runtime-config.ts(+10 -0)📝
packages/server/src/middleware/basic-auth.ts(+3 -3)📝
packages/server/src/middleware/ip-allowlist.ts(+41 -2)📝
packages/server/test/security-middleware.test.ts(+68 -0)📄 Description
## Linked issue
Closes #723
Why this change
What changed
REQUIRE_AUTH_FOR_DOCKER_PROXYfor requiring normal auth on proxy-forwarded Docker bridge traffic.REQUIRE_AUTH_FOR_DOCKER_PROXYis enabled.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
v24.15.0.pnpm --filter @marinara-engine/shared buildthenpnpm --dir packages/server exec tsx --import ./test/setup-env.ts --test test/security-middleware.test.ts(20/20passing).pnpm check.pnpm version:checkandpnpm guard:installer-artifacts.200without auth for forwarded Docker traffic; withREQUIRE_AUTH_FOR_DOCKER_PROXY=true, the same forwarded request returned401without auth and200with valid Basic Auth.Docs and release impact
Docs changed in this PR:
.env.example,docs/CONFIGURATION.md, anddocs/REMOTE_ACCESS.md. README was left unchanged because its current high-level security summary remains accurate.UI evidence (if applicable)
No UI changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.