fix(secret-guard): protect envrc and flaskenv files - #1167
Merged
TheGreatAxios merged 2 commits intoSep 27, 2026
Merged
TheGreatAxios merged 2 commits into
TheGreatAxios merged 2 commits into
Conversation
TheGreatAxios
force-pushed
the
refactor-shell-share-transparent-command-peeling
branch
from
September 25, 2026 12:50
01f36b0 to
bcc92d4
Compare
TheGreatAxios
force-pushed
the
cl-8994-secret-guard-does-not-treat-envrc-or-flaskenv-as-sensitive
branch
from
September 25, 2026 12:50
f9a7859 to
e86165f
Compare
TheGreatAxios
changed the base branch from
refactor-shell-share-transparent-command-peeling
to
main
September 27, 2026 22:29
TheGreatAxios
force-pushed
the
cl-8994-secret-guard-does-not-treat-envrc-or-flaskenv-as-sensitive
branch
from
September 27, 2026 22:41
bf1ac40 to
f4bd336
Compare
TheGreatAxios
enabled auto-merge (squash)
September 27, 2026 22:41
Quoted -c payloads behind fish, busybox, csh, pwsh, and cmd /c stayed one token, so auto mode default-allowed secret reads including .env.
TheGreatAxios
force-pushed
the
cl-8994-secret-guard-does-not-treat-envrc-or-flaskenv-as-sensitive
branch
from
September 27, 2026 22:56
f4bd336 to
588b094
Compare
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.
Summary
.envrcand.flaskenvacross direct tools, shell authorization, grants, and resumed approvalsVerification
bun test src/permission/classify-security.test.ts src/permission/critique-grep-file-env.test.ts src/permission/gate.test.ts src/plugins/secret-guard-plugin.test.ts src/plugins/secret-guard-shell-symlink.test.ts src/session/approval-resume.test.ts src/shell/literal-path-arguments.test.ts src/shell/run-shell-authz.test.tspassesbun run checkpassesFixes CL-8994