msaad00/agent-bom Scan

Run agent-bom in CI/CD to scan AI agents, MCP servers, images, and IaC. Emit SARIF and map blast radius from packages to credentials and tools.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 11, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: msaad00/agent-bom@93cdcaedf4478c642f3a30bc6753627e3300b2cb # v0.94.2

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

namedescriptionrequireddefault
scan-typeScan mode. Default `scan` runs the full agent/MCP discovery pipeline. Focused modes: image, fs, iac, sbom, secrets, code, agents, and skills.noscan
scan-refTarget reference for focused modes — image reference, filesystem path, SBOM file path, or IaC paths (comma-separated). Not required for the default `scan` mode.no""
severity-thresholdFail if vulnerabilities at or above this severity (critical, high, medium, low). Default high; set to empty to disable the gate.nohigh
warn-on-severityWarn (non-blocking) if vulnerabilities at or above this severity. Use with severity-threshold for two-tier gates.no""
policyPath to policy file (JSON/YAML) for policy-as-code gates.no""
enrichEnable NVD CVSS, EPSS, and CISA KEV enrichment.nofalse
formatOutput format. Core: sarif (default), json, html, cyclonedx, spdx. Plain/no-color: plain (alias: text). Other: console, mermaid, svg, graph, graph-html, badge, prometheus.nosarif
outputOutput file path for scan results. Default: agent-bom-results.sarif (for SARIF format).no""
upload-sarifUpload SARIF results to GitHub Security tab.nofalse
auto-update-dbAuto-update vulnerability database if stale (>7 days). Disable for air-gapped or fully cached runs.notrue
fail-on-kevFail if any CISA Known Exploited Vulnerability is found.nofalse
ai-enrichEnable LLM-powered risk analysis (requires Ollama or API key).nofalse
ai-modelLLM model for AI enrichment (e.g. ollama/llama3.2, openai/gpt-4o-mini).no""
python-versionPython version to use.no3.11
agent-bom-versionagent-bom package version to install (for example 0.75.x). Empty = latest from PyPI.no""
install-from-sourceInstall agent-bom from local source (pyproject.toml) instead of PyPI. Use in CI dogfood to test unreleased code.nofalse
imageDocker image to scan (e.g. nginx:1.25).no""
config-dirPath to MCP config directory to scan.no""
sbomPath to existing SBOM file (CycloneDX or SPDX JSON) to ingest.no""
remediateGenerate remediation plan at this path (e.g. remediation.md).no""
badgeGenerate shields.io badge JSON at this path (e.g. agent-bom-badge.json).no""
pr-commentPost a findings summary comment on the pull request (requires GITHUB_TOKEN with pull-requests: write).nofalse
annotationsEmit GitHub Actions line-level annotations for SARIF and skills findings.notrue
ignore-filePath to ignore/allowlist file (default: .agent-bom-ignore.yaml). Suppress known false positives by CVE ID, package, or finding type.no""
iacPath(s) to scan for IaC misconfigurations (Dockerfile, Kubernetes, Terraform, CloudFormation). Comma-separated.no""
ai-inventoryPath(s) to scan for AI component inventory (SDK imports, model references, deprecated models). Comma-separated.no""
os-packagesEnable OS-level package scanning (dpkg/rpm/apk).nofalse
baselinePath to a baseline report JSON for delta scanning (only report new findings).no""
skill-onlyScan ONLY skill/instruction files (CLAUDE.md, .cursorrules, AGENTS.md); skip agent/package/CVE scanning.nofalse
fail-on-verdictFor scan-type=skills, fail if any scanned file reaches this trust verdict or worse (suspicious or malicious).no""
warn-on-verdictFor scan-type=skills, warn without failing if any scanned file reaches this content verdict or worse (suspicious or malicious).no""
fail-on-review-verdictFor scan-type=skills, fail if any scanned file reaches this handling verdict or worse (review, high_risk, blocked).no""
warn-on-review-verdictFor scan-type=skills, warn without failing if any scanned file reaches this handling verdict or worse (review, high_risk, blocked).no""
skills-ciFor scan-type=skills, enable the CI gate: exit non-zero on suspicious or malicious skills without authoring a policy file (equivalent to fail-on-verdict=suspicious). An explicit fail-on-verdict input takes precedence. Ignored for other scan types.nofalse
gpu-scanEnable GPU infrastructure scanning (NVIDIA NIM/CUDA containers, DCGM).nofalse
exclude-unfixableExclude vulnerabilities without available fixes from SARIF outputnofalse
namedescription
sarif-filePath to generated SARIF file (if format=sarif).
exit-codeScan process exit code.
scan-statusHigh-level scan status (clean, violations, or error).
vulnerability-countNumber of vulnerabilities found, or skill findings when scan-type=skills.
badge-filePath to generated badge JSON (if badge input is set).
graph-export-pathPath to generated graph export when format is mermaid, svg, graph, or graph-html.
exposure-paths-countNumber of exposure, lateral, or attack paths parsed from JSON graph-capable outputs.
blast-radius-critical-countNumber of critical blast-radius or SARIF findings parsed from the result artifact.
posture-gradeCoarse CI posture grade derived from parsed critical/high/finding counts: A, C, D, F, or unknown.