anshumaan-10/Supply Chain Guardian

Enterprise-grade supply chain security scanner. 110+ attack patterns, 17 scanners, runtime monitoring, and binary analysis.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 28, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: anshumaan-10/supply-chain-guardian@4924e0e56e9fca443659520da55c149bec18c174 # v4.0.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
modeAction execution mode: scan — Full scan (default). Runs all scanners, reports, and optionally starts/stops the runtime monitor within this single step. monitor-start — Only start the runtime monitoring daemon. Use this BEFORE your build/test/deploy steps. The daemon runs in the background watching for threats. monitor-stop — Only stop the runtime monitor and collect findings. Use this AFTER your build steps but before the final scan. For split-mode runtime monitoring across multiple pipeline stages, call the action 3 times: 1. mode: monitor-start (before your pipeline) 2. (your build/test/deploy steps) 3. mode: scan + scan-runtime: true (collects daemon findings + runs all scanners) noscan
runtime-monitorEnable continuous runtime monitoring daemon (only used in scan mode). Starts and stops the monitor automatically around the scan.nofalse
runtime-monitor-intervalPoll interval in seconds for the runtime monitor daemon (default: 5)no5
scan-modeScan mode: quick, standard, deep, paranoidnostandard
fail-on-severityMinimum severity to fail the pipeline: critical, high, medium, low, infonohigh
scan-workflowsScan GitHub Actions workflow files for compromised actions, pwn requests, cache poisoning, OIDC abuse, artifact integrity, container supply chain, and reusable workflow trust issuesnotrue
scan-dependenciesScan package dependencies for known compromised packages and typosquattingnotrue
scan-secretsScan for secret exposure and credential exfiltration patternsnotrue
scan-networkScan for network exfiltration, reverse shells, DNS tunneling, and C2 patternsnotrue
scan-permissionsAudit workflow permissions for least-privilege violationsnotrue
scan-provenanceVerify dependency provenance and SLSA attestationsnotrue
scan-runtimeEnable runtime monitoring for credential dumping during workflow executionnofalse
custom-rules-pathPath to custom YAML rules file for additional patternsno""
exclude-pathsComma-separated paths to exclude from scanningno""
slack-webhook-urlSlack webhook URL for sending alertsno""
teams-webhook-urlMicrosoft Teams webhook URL for sending alertsno""
alert-on-severityMinimum severity to trigger Slack/Teams alerts: critical, high, mediumnohigh
sarif-outputGenerate SARIF report for GitHub Advanced Securitynotrue
json-outputPath to write JSON reportnosupply-chain-guardian-report.json
table-outputPrint detailed table output to workflow logsnotrue
github-tokenGitHub token for API access (PR comments, issue creation)no${{ github.token }}
block-prBlock PR merge if critical findings are detectednotrue
create-issueCreate a GitHub issue on critical findingsnotrue
auto-comment-prAutomatically comment on PRs with scan resultsnotrue
exceptions-configPath to a custom SCG exceptions/exemption config file (YAML). If not set, the scanner looks for .scg-config.yml in the repo root. Use this for org-wide central exception policies. Format: YAML with keys: exemptions, egress_allowlist, disabled_scanners, severity_overrides. no""
scan-binariesEnable binary analysis scanner to detect suspicious executables in the workspace. Auto-enabled in deep/paranoid modes.nofalse
html-outputGenerate a self-contained HTML report viewable directly in the browser. Produced alongside JSON/SARIF.nofalse
html-output-pathFilename for the HTML report (default: supply-chain-guardian-report.html)nosupply-chain-guardian-report.html
artifact-nameCustom name for the auto-uploaded artifact. Override to avoid 409 conflicts when calling SCG multiple times in the same workflow.nosupply-chain-guardian-report
skip-artifact-uploadSkip automatic artifact upload (set true if you handle artifacts manually)nofalse
extra-scan-pathsComma-separated list of additional directories to scan for workflow files, package manifests, Dockerfiles, and CI configs. Paths are relative to the workspace root.no""
verboseEnable verbose/debug outputnofalse
namedescription
scan-statusOverall scan result: PASSED, WARNING, FAILED
total-findingsTotal number of findings
critical-findingsNumber of critical findings
high-findingsNumber of high severity findings
medium-findingsNumber of medium severity findings
low-findingsNumber of low severity findings
report-pathPath to the JSON report file
sarif-pathPath to the SARIF report file
exempted-findingsNumber of findings that were exempted by .scg-config.yml rules