Coding & Development๐ŸŒuniversal

MCP agents

Security scanner for AI infrastructure โ€” from agent to runtime

Quick Start

Install this Skill

npx skills add msaad00/agent-bom
<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/msaad00/agent-bom/main/docs/images/logo-dark.svg">
    <img src="https://raw.githubusercontent.com/msaad00/agent-bom/main/docs/images/logo-light.svg" alt="agent-bom" width="480" />
  </picture>
</p>

<p align="center">
  <a href="https://github.com/msaad00/agent-bom/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/msaad00/agent-bom/ci.yml?style=flat&logo=github&label=Build" alt="Build"></a>
  <a href="https://pypi.org/project/agent-bom/"><img src="https://img.shields.io/pypi/v/agent-bom?style=flat&label=Latest%20version" alt="PyPI"></a>
  <a href="https://hub.docker.com/r/agentbom/agent-bom"><img src="https://img.shields.io/docker/pulls/agentbom/agent-bom?style=flat&label=Docker%20pulls" alt="Docker"></a>
  <a href="https://github.com/msaad00/agent-bom/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue?style=flat" alt="License"></a>
  <a href="https://securityscorecards.dev/viewer/?uri=github.com/msaad00/agent-bom"><img src="https://api.securityscorecards.dev/projects/github.com/msaad00/agent-bom/badge" alt="OpenSSF"></a>
  <a href="https://www.bestpractices.dev/projects/12114"><img src="https://www.bestpractices.dev/projects/12114/badge" alt="OpenSSF Best Practices"></a>
<a href="https://github.com/msaad00/agent-bom/stargazers"><img src="https://img.shields.io/github/stars/msaad00/agent-bom?style=flat&logo=github&label=Stars" alt="Stars"></a>
  <a href="https://github.com/msaad00/agent-bom/discussions"><img src="https://img.shields.io/github/discussions/msaad00/agent-bom?style=flat&logo=github&label=Discussions" alt="Discussions"></a>
</p>
<!-- mcp-name: io.github.msaad00/agent-bom -->

<p align="center">
  <b>Security scanner for AI infrastructure and supply chain.</b><br>
  Discover โ†’ Scan โ†’ Analyze โ†’ Enforce โ€” AI BOM generation, CVEs, blast radius, runtime proxy, 14 compliance frameworks.
</p>

---

## Quick start

```bash
pip install agent-bom
agent-bom scan                     # auto-detect MCP agents + scan for CVEs
agent-bom check flask@2.0.0       # pre-install CVE gate
```

<details>
<summary><b>Focused commands</b></summary>

```bash
# MCP agents
agent-bom mcp                     # discover + scan MCP agents
agent-bom mcp inventory           # discover only, no CVE scan

# Container & filesystem
agent-bom image nginx:latest      # container image scan
agent-bom fs /mnt/vm-snapshot     # filesystem / VM disk snapshot
agent-bom sbom vendor-bom.json    # ingest existing SBOM

# Infrastructure
agent-bom iac Dockerfile k8s/     # misconfig scanning (82 rules)
agent-bom cloud aws               # AWS posture + CIS benchmark (60 checks)

# Runtime & CI/CD
agent-bom proxy "npx server"      # MCP traffic enforcement
agent-bom scan --fail-on-severity critical -f sarif -o results.sarif
```

</details>

Discovers 22 MCP client types, resolves server dependencies, scans against OSV/NVD/GHSA, and maps blast radius โ€” which agents, credentials, and tools each CVE affects.

<p align="center">
  <img src="https://raw.githubusercontent.com/msaad00/agent-bom/main/docs/images/demo-v0.71.0.gif" alt="agent-bom demo โ€” pre-install CVE check, full scan with blast radius analysis, SARIF export, runtime proxy, 32 MCP tools" width="900" />
</p>

<p align="center">
  <picture>
    <img src="https://raw.githubusercontent.com/msaad00/agent-bom/main/docs/images/scan-output-dark.svg" alt="agent-bom scan output with GPU infrastructure scan" width="800" />
  </picture>
</p>

---

## Why agent-bom?

> **Traditional scanners tell you a package has a CVE.**
> **agent-bom tells you which AI agents are compromised, which credentials leak, which tools an attacker reaches โ€” and then blocks it in real time.**

Four capabilities, one tool:

1. **Scan** โ€” discover AI agents, MCP servers, cloud services, model files, GPU resources. Generate an AI BOM. Check every dependency against OSV + NVD + GHSA + EPSS + CISA KEV.
2. **Analyze** โ€” blast radius mapping (CVE โ†’ package โ†’ server โ†’ agent โ†’ credentials โ†’ tools), credential exposure, posture scoring, 14-framework compliance
3. **Enforce** โ€” runtime MCP proxy with 7 behavioral detectors (rug pull, injection, credential leak, exfil, cloaking, rate limiting, vector DB injection), policy-as-code
4. **Trust** โ€” audit CLAUDE.md, .cursorrules, AGENTS.md, SKILL.md for malicious patterns, typosquatting, and Sigstore provenance

Read-only. Agentless. Open source.

```
CVE-2025-1234  (CRITICAL . CVSS 9.8 . CISA KEV)
  |-- better-sqlite3@9.0.0  (npm)
       |-- sqlite-mcp  (MCP Server . unverified . root)
            |-- Cursor IDE  (Agent . 4 servers . 12 tools)
            |-- ANTHROPIC_KEY, DB_URL, AWS_SECRET  (Credentials exposed)
            |-- query_db, read_file, write_file, run_shell  (Tools at risk)

 Fix: upgrade better-sqlite3 -> 11.7.0
```

<p align="center">
  <picture>
    <source media="(prefers-color

... (truncated)
Repository
22stars
8forks
View on GitHub
Details
DiscoveredMar 17, 2026
Last UpdatedJun 12, 2026
Author@msaad00
Quality Score
43/100