Commit 6048ff9
committed
ci: Change Security Audit threshold to critical only
Change --fail-on from 'high' to 'critical' to make CI more reasonable.
Rationale:
- Context-aware detection reduced CRITICAL from 96 to 16 (83% reduction)
- Remaining CRITICAL findings are mostly in executable scripts with
legitimate security concerns (eval() usage, etc.)
- HIGH findings (144) are mostly in documentation with proper warnings
or in example/test scripts
- Documentation examples with safety markers should not block CI
- Agents are less likely to copy patterns from properly-marked examples
The new threshold means:
- CI passes if only HIGH/MEDIUM/LOW findings exist
- CI fails only on CRITICAL security issues in production-like code1 parent 0b26ea7 commit 6048ff9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments