Skip to content

fix(secret-guard): protect envrc and flaskenv files - #1167

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-8994-secret-guard-does-not-treat-envrc-or-flaskenv-as-sensitive
Sep 27, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-8994-secret-guard-does-not-treat-envrc-or-flaskenv-as-sensitive

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

Verification

  • 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.ts passes
  • bun run check passes

Fixes CL-8994

@linear-code

linear-code Bot commented Sep 25, 2026

Copy link
Copy Markdown

CL-8994

@TheGreatAxios
TheGreatAxios force-pushed the refactor-shell-share-transparent-command-peeling branch from 01f36b0 to bcc92d4 Compare September 25, 2026 12:50
@TheGreatAxios
TheGreatAxios force-pushed the cl-8994-secret-guard-does-not-treat-envrc-or-flaskenv-as-sensitive branch from f9a7859 to e86165f Compare September 25, 2026 12:50
@TheGreatAxios
TheGreatAxios deleted the branch main September 27, 2026 22:26
@TheGreatAxios TheGreatAxios reopened this Sep 27, 2026
@TheGreatAxios
TheGreatAxios changed the base branch from refactor-shell-share-transparent-command-peeling to main September 27, 2026 22:29
@TheGreatAxios
TheGreatAxios force-pushed the cl-8994-secret-guard-does-not-treat-envrc-or-flaskenv-as-sensitive branch from bf1ac40 to f4bd336 Compare September 27, 2026 22:41
@TheGreatAxios
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
TheGreatAxios force-pushed the cl-8994-secret-guard-does-not-treat-envrc-or-flaskenv-as-sensitive branch from f4bd336 to 588b094 Compare September 27, 2026 22:56
@TheGreatAxios
TheGreatAxios merged commit c7caf22 into main Sep 27, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant