diff options
| author | Mohamed Hegazy <8000722+mhegazy@users.noreply.github.com> | 2026-10-15 14:32:14 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-15 21:32:14 +0000 |
| commit | 4c12e0797dafb29971a6f6e5db650e2cf4c5983c (patch) | |
| tree | bdb00df923f89e97f6675aac8706dfa80a093d6d /plugins/code-modernization/scripts | |
| parent | 8f814f49002ff824e8a9ba43cf96112dc7f5948d (diff) | |
security-guidance: keep secret-shaped files out of reviews (#6537)
* security-guidance: keep secret-shaped files out of reviews
The Stop review covers every dirty file in the work tree, including ones the user changed and Claude never opened. Key files, credential files and encrypted dotfile sources were sent along with the code.
Skip files that are secret stores by naming convention: .env variants, SSH private keys, common credential files, and chezmoi private/encrypted sources.
* security-guidance: report how many secret-shaped files were skipped
The Stop hook now reports secret_shaped_skipped (a count, never names, only when nonzero) so the skip can be confirmed after release and watched for over-matching.
Diffstat (limited to 'plugins/code-modernization/scripts')
0 files changed, 0 insertions, 0 deletions
