Commit 4e4302c
ci: add Copilot instructions for PII and security review [SVLS-8660]
- Add .github/copilot-instructions.md to steer Copilot auto-review
toward security-relevant patterns
- Flag PII in log statements: HTTP headers/bodies, user-identifiable
fields, secrets — covering all tracing macro forms including
unqualified info!/debug!/warn!/error! used via use tracing::{...}
- Flag new unsafe blocks with required safety invariant explanation
- Flag silently swallowed errors (.ok(), let _ = result) and
panicking operations (.unwrap()/.expect()) in network/input paths
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 672f268 commit 4e4302c
1 file changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments