Skip to content

ci: add ThreatCrush security scan - #12

Merged
ralyodio merged 1 commit into
masterfrom
chore/threatcrush-scan
Aug 3, 2026
Merged

ci: add ThreatCrush security scan#12
ralyodio merged 1 commit into
masterfrom
chore/threatcrush-scan

Conversation

@ralyodio

@ralyodio ralyodio commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Installs threatcrush-scan@1.1.0 from the sh1pt Actions Store.

Scans pull requests for hardcoded credentials, injection, SSRF, unsafe deserialisation, XXE and dependency tampering. Findings go to the Security tab as SARIF and to a PR comment; snippets are redacted, so no credential material reaches a CI log.

Report-only. It will not fail a pull request. Once the existing findings are triaged, set the pack's failOn input to critical,high.

Coverage against profullstack/malware-test-prs: 90.32% true-positive rate at a 0.0% false-positive rate against its control group of correct implementations.

Generated by the fleet renderer — the managed header hash matches the pack source.

🤖 Generated with Claude Code

Installs threatcrush-scan@1.1.0 from the sh1pt Actions Store.
Scans pull requests for hardcoded credentials, injection, SSRF, unsafe
deserialisation and dependency tampering; uploads SARIF to the Security
tab.

Report-only — it will not fail a pull request. Set the pack's failOn
input to critical,high once the existing findings are triaged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

ThreatCrush Security Scan

30 finding(s)

HIGH/CRITICAL: 28 | MEDIUM: 2

Severity Rule Location
HIGH threatcrush-generic-secret src/lib/services/ethshot-actions-simplified.js:246
HIGH threatcrush-generic-secret src/lib/services/ethshot-actions-simplified.js:521
HIGH threatcrush-generic-secret src/lib/services/ethshot-actions-simplified.js:652
HIGH threatcrush-generic-secret src/lib/stores/game/player-operations.js:852
HIGH threatcrush-generic-secret src/lib/utils/ethshot-button-handlers.js:193
HIGH threatcrush-generic-secret src/lib/utils/ethshot-button-handlers.js:417
HIGH threatcrush-generic-secret tests/complete-wallet-auth-flow.test.js:31
HIGH threatcrush-generic-secret tests/concurrent-auth.test.js:198
HIGH threatcrush-generic-secret tests/jwt-auth-core.test.js:23
HIGH threatcrush-generic-secret tests/jwt-wallet-auth.test.js:18
HIGH threatcrush-jwt-token tests/profile-api-integration.test.js:129
HIGH threatcrush-jwt-token tests/profile-api-migration-test.test.js:16
HIGH threatcrush-generic-secret tests/rate-limiting.test.js:108
HIGH threatcrush-generic-secret tests/rate-limiting.test.js:115
HIGH threatcrush-generic-secret tests/rate-limiting.test.js:198
HIGH threatcrush-generic-secret tests/rate-limiting.test.js:205
HIGH threatcrush-generic-secret tests/reveal-confirmation-fix.test.js:138
HIGH threatcrush-generic-secret tests/reveal-confirmation-fix.test.js:187
HIGH threatcrush-generic-secret tests/reveal-confirmation-fix.test.js:218
HIGH threatcrush-generic-secret tests/reveal-confirmation-fix.test.js:270
HIGH threatcrush-jwt-token tests/test-wallet-ambiguity-fix.js:7
HIGH threatcrush-jwt-token tests/wallet-address-ambiguity-fix.test.js:8
HIGH threatcrush-generic-secret tests/wallet-auth-service.test.js:19
HIGH threatcrush-generic-secret tests/win-tracking-fix.test.js:99
HIGH threatcrush-generic-secret tests/win-tracking-fix.test.js:146
HIGH threatcrush-generic-secret tests/win-tracking-fix.test.js:197
HIGH threatcrush-generic-secret tests/win-tracking-fix.test.js:251
HIGH threatcrush-generic-secret tests/win-tracking-fix.test.js:348
MEDIUM threatcrush-bearer-token tests/profile-api-fix.test.js:66
MEDIUM threatcrush-bearer-token tests/profile-security-fix-verification.test.js:79

Snippets are redacted; ThreatCrush never prints matched credential material.

@ralyodio
ralyodio marked this pull request as ready for review August 3, 2026 14:22
@ralyodio
ralyodio merged commit 08ceeda into master Aug 3, 2026
4 checks passed
@ralyodio
ralyodio deleted the chore/threatcrush-scan branch August 3, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants