File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,13 +52,12 @@ jobs:
5252 category : slither-clean
5353
5454 # ── Job 2: Scan hacks/ (expected vulnerabilities) ───────────────────────────
55- # Never blocks — documents that vulnerabilities ARE intentionally present
55+ # Informational only — results are kept as workflow artifacts (not Code Scanning)
5656 slither-hacks :
57- name : " Slither — hacks (expected vulns )"
57+ name : " Slither — hacks (informational )"
5858 runs-on : ubuntu-latest
5959 permissions :
6060 contents : read
61- security-events : write
6261
6362 steps :
6463 - name : Checkout repository
@@ -77,13 +76,14 @@ jobs:
7776 id : slither-hacks
7877 continue-on-error : true
7978 with :
79+ # Scan only src/hacks by filtering out all other src/ directories
8080 slither-args : --filter-paths "src/basic,src/applications,src/defi,src/evm"
8181 sarif : slither-hacks.sarif
8282 fail-on : none
8383
84- - name : Upload hacks SARIF to GitHub Code Scanning
85- uses : github/codeql-action/ upload-sarif@v3
84+ - name : Upload hacks SARIF as artifact
85+ uses : actions/ upload-artifact@v4
8686 if : always()
8787 with :
88- sarif_file : slither-hacks. sarif
89- category : slither-hacks
88+ name : slither-hacks- sarif
89+ path : slither-hacks.sarif
You can’t perform that action at this time.
0 commit comments