Skip to content

Commit 6d2ec7a

Browse files
authored
Merge pull request #17 from KaelSensei/chore/slither-ignore-suicidal
Chore/slither ignore suicidal
2 parents dd5215b + 8023efe commit 6d2ec7a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/slither.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,12 @@ jobs:
5252
category: slither-clean
5353

5454
# ── Job 2: Scan hacks/ (expected vulnerabilities) ───────────────────────────
55-
# Never blocksdocuments that vulnerabilities ARE intentionally present
55+
# Informational onlyresults 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

0 commit comments

Comments
 (0)