Repository navigation
Commit f5cbd96
fix(guardrails): add secret-file deny rules to investigate agent read permissions
Addresses Codex review HIGH: blanket read allow overrides inherited
secret-file denies due to findLast (last-match-wins) evaluation.
Replicate deny rules from opencode.json to prevent .env, .pem, .key,
id_rsa, credentials, etc. from being readable by the investigate subagent.
Refs #92
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>1 parent 0c83efd commit f5cbd96
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
7 | 20 | | |
8 | 21 | | |
9 | 22 | | |
| |||
0 commit comments