gensecaihq/Shai-Hulud 2.0 Detector

Detect Shai-Hulud 2.0 npm supply chain attack - 790+ packages, SHA256 hashing, runner & backdoor detection

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
fail-on-criticalFail the action if critical severity issues are foundnotrue
fail-on-highFail the action if high or critical severity issues are foundnofalse
fail-on-anyFail the action if any compromised packages or security findings are detectednofalse
scan-lockfilesScan lockfiles (package-lock.json, yarn.lock) for transitive dependenciesnotrue
scan-node-modulesScan node_modules directory for installed packagesnofalse
output-formatOutput format: text, json, or sarifnotext
working-directoryDirectory to scan (defaults to repository root)no.
allowlist-pathPath to allowlist JSON file for excluding false positives (default: .shai-hulud-allowlist.json)no.shai-hulud-allowlist.json
ignore-allowlistIgnore allowlist file and report all findings (useful for security audits)nofalse
warn-on-allowlistShow allowlisted items as warnings instead of hiding them completelynofalse
namedescription
affected-countNumber of compromised packages found
security-findings-countNumber of security findings (suspicious scripts, TruffleHog, malicious runners, etc.)
statusScan status: clean or affected
scan-timeTime taken to complete the scan in milliseconds
resultsJSON array of compromised packages
security-findingsJSON array of security findings (suspicious scripts, exfiltration, runners, etc.)
sarif-filePath to SARIF report file (when output-format is sarif)
allowlisted-countNumber of findings excluded by allowlist