jpmckearin/Shai-Hulud Scanner

Scan lockfiles for compromised packages using shai-hulud-scanner

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
list-pathPath to custom exploited packages list file. If not specified, uses the built-in list of known compromised packages. Example: 'security/custom-packages.txt'no""
root-dirRoot directory to scan for lockfiles. Scans recursively for package-lock.json, yarn.lock, pnpm-lock.yaml, and bun.lock files. Example: './src' or '.'no.
managersPackage managers to scan (comma-separated). Valid options: yarn, npm, pnpm, bun. Example: 'yarn,npm' to scan only Yarn and npm lockfiles.noyarn,npm,pnpm,bun
includeGlob patterns to include (comma-separated). Only scan paths matching these patterns. Example: 'src/**,apps/**' to scan only src and apps directories.no
excludeGlob patterns to exclude (comma-separated). Skip paths matching these patterns. Example: '**/test/**,**/dist/**' to skip test and dist directories.no
fail-on-matchWhether to fail the workflow when compromised packages are found. Set to 'false' to only warn without failing the build.notrue
only-affectedShow only compromised packages in output, hiding safe packages. Useful for focusing on actionable items only.nofalse
summaryShow only summary output without detailed package information. Useful for getting a quick overview of scan results.nofalse
quietSuppress non-essential output including clean package listings. Only shows compromised packages and warnings.nofalse
no-colorDisable colored output. Useful when output will be processed by tools that don't handle ANSI color codes.nofalse
namedescription
has-matchesWhether any compromised packages were found
match-countNumber of compromised packages found
warning-countNumber of packages with vulnerable versions available
json-outputJSON output of scan results