Skip to content

Commit d7162cc

Browse files
committed
ci: exclude external libraries from Slither analysis
- Add --filter-paths to ignore lib/, test/, script/, and mock/ directories - Prevents false positives from Chainlink and forge-std dependencies - Keeps Slither report focused on core protocol code (src/) - Standard practice in audited projects with external libs - CI remains green while maintaining security visibility
1 parent 91db5f2 commit d7162cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ jobs:
2929
uses: crytic/slither-action@v0.4.0
3030
with:
3131
fail-on: none
32-
slither-args: --checklist
32+
slither-args: --checklist --filter-paths "lib/|test/|script/|mock/"
3333
ignore-compile: true

0 commit comments

Comments
 (0)