Repository navigation
regression: password via RO bind-mount at /run/secrets/db_password (not masked putArchive) - #9
Merged
Conversation
ChuTingzj
commented
Sep 21, 2026
ChuTingzj
left a comment
Contributor
Author
There was a problem hiding this comment.
Verdict
Solid regression stack on #8. Locks RO bind file at /run/secrets/db_password, forbids putArchive+tmpfs cover, Env/start opts scrubbed, empty+missing secret fail-closed with no payload.password fallback. Empty-file reject in secrets.js is a good tighten.
Finding
Should-fix (with #8 nit): new empty-secret test asserts /tmpfs secret file/, which locks the stale wording. Update the throw text (drop "tmpfs") and the regex in the same change — don’t merge the lock of the wrong noun.
Merge after #8. No threat-model hole.
ChuTingzj
changed the base branch from
cursor/password-tmpfs-putarchive-d05f
to
main
September 21, 2026 04:04
Assert host-file RO bind at /run/secrets/db_password with no Env password and no putArchive. Fail-closed missing/empty secrets use the bind-mounted error text (not tmpfs). Co-authored-by: zhangjing <zhangjing798@qq.com>
cursor
Bot
force-pushed
the
cursor/password-tmpfs-regression-0e2d
branch
from
September 21, 2026 04:08
e555264 to
05aa6b6
Compare
ChuTingzj
commented
Sep 21, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Rebased onto latest
mainafter #8 squash-merge (fixes #7). Regression locks so tmpfs-maskedputArchivedelivery cannot return.Asserted
/run/secrets/db_passwordonCreatesnapshots the bindSourceas a file whose contents are the passwordHostConfig.MountsisType: bind,ReadOnly: true, target/run/secrets/db_passwordputArchiveand no tmpfs covering/run/secretsEnvhas noDB_PASS/PGPASSWORD/MYSQL_PWD/PASSWORD, and inspect JSON does not contain the secretreadPasswordthrows on missing or empty secret even whenpayload.passwordis present. Message is the post-fix: bind-mount DB password so the runner can read it #8 bind-mounted text (Database password missing (expected bind-mounted secret at /run/secrets/db_password)), not “tmpfs”.secrets.js/execute.jsdo not readpayload.password.How to run
pnpm test pnpm typecheckLocal: 53 tests, all passing. No version tag.