agent-bom
発見 → スキャン → 関連付け → 実行
agent-bom は、SCA、シークレット、IaC、コンテナにわたってリポジトリとソフトウェアサプライチェーンをスキャンし、AI エージェント、MCP、モデル、データセットを棚卸しし、読み取り専用のクラウド、アイデンティティ、Snowflake、データソースに接続します。そのエビデンスを単一の Finding + UnifiedGraph モデルに正規化し、到達可能なリスクを関連付けてから、オーナー、修正、検証、コンプライアンスエビデンス、またはランタイムポリシーを通じて作業を進めます。
エージェントまたはツールのエントリポイント → MCP サーバー → パッケージ → 検出結果 → 影響 → オーナー → 修正 → 検証
アドホックにローカルまたは CI で実行するか、セルフホスト型コントロールプレーンを使用して、スケジュールまたは接続されたスキャン、履歴、割り当て、ランタイムの強制を実行できます。生のソースと認証情報は顧客管理の実行境界内に留まり、収集・推論・静的・ランタイムの関係は別々に保たれ、不完全なエビデンスは明示的に示されます。
クイックスタート · エビデンスワークフロー · 統合機能マトリクス · 測定済みマッチャー証明 · コントロールプレーンアーキテクチャ
Related MCP server: agent-audit
対象ユーザー
役割 | 開始場所 | 主な成果 |
AppSec / プロダクトセキュリティ |
| リポジトリの依存関係、シークレット、IaC、イメージをスキャンし、到達可能な検出結果で CI をゲートする |
AI / ML エンジニア |
| エージェント、MCP クライアントとサーバー、スキル、モデル、データセットを出荷前に棚卸しする |
クラウドセキュリティ |
| 読み取り専用のクラウドまたは Snowflake ソースに接続し、インベントリ、ポスチャ、アイデンティティのエビデンスを評価する |
プラットフォーム / DevOps |
| エビデンスを一元化し、オーナーと SLA を割り当て、是正し、検証する |
GRC / 監査 |
| コントロールマッピングをレビューし、明示的なギャップを含むエビデンスをエクスポートする |
経営層 / CISO |
| ポスチャ、カバレッジ、重大なリスク、経時変化をレビューする |
セキュリティエンジニアリングと GRC は別々のワークフローのままです。検出結果と到達可能性は監査認証として提示されません。製品境界を参照してください。
製品ジャーニー
以下のキャプチャは、明示的にラベル付けされたサンプル環境を使用しています。ライブスキャンも同じ Finding + UnifiedGraph コントラクトを使用します。フルサイズの証明には任意の画像を選択してください。
完全な製品ギャラリーのランタイム強制に進む · キャプチャプロトコル
クイックスタート
ここから始めてください。これが正面玄関です — 2 つのコマンド、アカウント不要、設定不要。 オフラインサンプルはアドバイザリデータベースをダウンロードせずに完了し、インベントリ、検出結果、ブラスト半径の出力形式を示します。
pip install agent-bom
agent-bom scan --demo --offlineこのサンプルには既知の悪意のあるパッケージが意図的に含まれているため、終了ステータス 1 は想定どおりであり、印刷されたレポートは完全なものです。次にリポジトリをスキャンします:
agent-bom scan .リポジトリスキャンは、インベントリ、検出結果、到達可能な影響を示します。
agent-bom scan . と agent-bom scan -p . は同じコマンドです。PATH は --project のエイリアスです。
切断されたスキャンが必要ですか? まず最小のパッケージアドバイザリデータベースをシードします:
agent-bom db update --osv-ecosystem PyPI
agent-bom scan . --offlineそのデータベースが存在しないか読み取り不能な場合、スキャンは -o が設定されているときに部分的なアーティファクトを書き込み、1 で終了します。したがって、CI は利用できないアドバイザリカバレッジをクリーンなスキャンと誤認することはできません。
新しいデータベースでは、そのコマンドは選択したエコシステムのみをカバーします。他のエコシステムのパッケージは、明示的なオフラインカバレッジギャップのままです。ポリグロットリポジトリの場合は --osv-ecosystem を繰り返すか、OSV の全エコシステムアーカイブには agent-bom db update --source osv を使用してください。完全なアーカイブは 1 GB を超える可能性があり、数分かかる場合があり、サーバーが提供する場合は正確な合計とともにライブの進行状況が表示されます。ディストリビューション、悪用確率、既知の悪用済み脆弱性フィードも必要な場合は、より広範な agent-bom db update を実行してください。
非ゼロの終了はクラッシュではなく判定です。 scan は、ゲートに一致するものが何もない場合は 0 で終了し、一致した場合は 1 で終了します — 設定した --fail-on-* しきい値、既知の悪意のあるパッケージ、または完了しなかったスキャンです。レポートはどちらの場合も完全に印刷され、最後の行は一致したゲートの名前を示します。完全な終了コードコントラクト。
agent-bom scan . -f sarif -o findings.sarif でアーティファクトを保存するか、初回実行ガイドに従ってフォーマットと CI での使用法を確認してください。
日常の開発者ループ
インストールせずにスキャナを試し、パッケージを追加する前にチェックします:
uvx agent-bom scan .
uvx agent-bom check requests@2.33.0 --ecosystem pypicheck はインストール前の許可/不安全/不完全の判定を返します。scan はリポジトリと検出された AI/MCP 設定をカバーします。依存関係とシークレットの両方のゲートをチームで自動化するには、同梱のコンシューマフックをピン留めします:
repos:
- repo: https://github.com/msaad00/agent-bom
rev: v0.102.0
hooks:
- id: agent-bom-secrets
- id: agent-bom-scanpre-commit install を 1 回実行します。フックは agent-bom を独自の分離環境にインストールするため、コントリビューターは別途グローバルインストールを行う必要はありません。フックの動作と CI の例。
必要なもの | 移動先 |
リポジトリをスキャンする |
|
ラップトップ上のダッシュボード | |
共有デプロイ (Docker、Helm、EKS、Snowflake) | セルフホスト テーブル |
プルリクエストをゲートする | |
AI エージェントにツールを提供する |
|
クラウドアカウントを接続する |
|
出力形式だけを確認したい場合は、厳選された明示的に合成されたサンプルを使用してください:
agent-bom scan --demo --offlineこのサンプルには既知の悪意のあるパッケージが意図的に含まれており、フェイルクローズします。
セルフホスト
ループバックコントロールプレーンを起動します:
pip install 'agent-bom[ui]'
agent-bom serve共有デプロイの場合は、ドキュメント化された Docker または Helm パスを使用し、公開する前に実際のアイデンティティ、TLS、PostgreSQL、暗号化、監査キーを設定してください。
ターゲット | 開始場所 |
Docker Compose | Platform compose — PostgreSQL、分割シークレット、マイグレーションジョブ |
Docker Compose(評価用) | Pilot compose — ループバックのみ、SQLite、認証なし |
Helm / Kubernetes |
|
EKS | |
Snowflake SPCS / Native App |
|
エアギャップ |
例はこのリリース候補を対象としています。正確なピンをコピーする前に、リリースの可用性を確認してください。 それ以外の場合は、PyPI に表示されている最新バージョンを使用してください。
デプロイメント概要 · エンタープライズ設定 · クラウド接続
ニーズ | 最初のアクション | 成果物または次のステップ |
GitHub CI |
| SARIF、PR サマリー、ポリシーの終了コード |
クラウドエビデンス |
| 保存された接続参照。コントロールプレーンからスキャンを実行 |
ランタイムゲートウェイ |
| 許可、警告、ブロックの監査イベント |
エージェントインターフェース |
| 84 個の MCP ツール、6 個のリソース、8 個のワークフロープロンプト |
エージェント配布 | レジストリ固有のインストールメタデータ |
MCP サーバーモードは、84 個の MCP ツール、6 個のリソース、8 個のワークフロープロンプトを公開します。すべて読み取り優先です。検出と分析は、スキャン対象を決して変更しません。
YDC_API_KEY を設定すると、ローカルの脅威インテルデータベースに加えて、ライブの Web およびニュースコンテキスト用のオプションの youcom_search MCP ツールが有効になります。これはクエリを第三者に送信する唯一のツールであり、キーが設定されていない限りオフになり、リクエストは TLS 経由で You.com オリジンに固定されます。そのため、設定によってキーが別のホストにリダイレクトされることはありません。
CLI、Docker、API、Helm チャート、MCP サーバー、ゲートウェイ、SDK は、同じ製品の配布面です。Snowflake SPCS / Native App レーンは、顧客の Snowflake アカウント内で実行されます。これは顧客所有のデプロイメントターゲットであり、agent-bom がホストするサービスではありません。Snowflake と Snowpark は、他のデプロイメントプロファイルのコネクタおよびランタイム統合としても残ります。
配布面 | 入手方法 |
Python パッケージ |
|
コンテナ |
|
Kubernetes |
|
GitHub Action | |
MCP サーバー |
|
MCP レジストリ | |
SDK | Python · TypeScript · Go |
信頼
デフォルトで読み取り専用の検出。ランタイムの書き込み決定は別個かつ明示的です。
認証情報は保存時に書き込み専用で、保存時暗号化され、API レスポンスで返されることはありません。
API およびコントロールプレーンのルートは、明示的なローカルモード以外ではテナントスコープであり、認証で保護されています。
欠落したエビデンスは、利用不可または部分的として表示され、事実上のゼロに変換されることはありません。
公開されている例とスクリーンショットは、決定的な合成識別子のみを使用しています。
脅威モデル · リリース検証 · セキュリティポリシー · MCP セキュリティモデル
コントリビューションとサポート
行き詰まっている、または質問の送り先がわからない場合は、SUPPORT.md にルーティングと、期待できる応答についての正直な説明があります。
コントリビュートするには、CONTRIBUTING.md、AGENTS.md、およびオープンな issue から始めてください。
Apache-2.0 ライセンス。
Available Tools
8 toolscheckPackage CVE CheckARead-onlyIdempotentInspect
Check a specific package for known CVEs before installing.
Queries OSV.dev for vulnerabilities in the given package. Use this
before installing an MCP server or dependency to verify it is safe.
Args:
package: Package name with optional version, e.g. "express@4.18.2",
"@modelcontextprotocol/server-filesystem@2025.1.14",
or just "requests" (resolves @latest).
ecosystem: Package ecosystem — "npm", "pypi", "go", "cargo",
"maven", "nuget", "rubygems", "composer", "swift",
"pub", "hex", "conda", "deb", "apk", or "rpm".
Defaults to "npm".
Returns:
JSON with package, version, ecosystem, vulnerability count,
and vulnerability details (id, severity, cvss, fix version, summary).
Inputs: package (required), offline, version, ecosystem. Returns: result
complianceCompliance PostureARead-onlyIdempotentInspect
Return compliance posture with its source: the tenant's persisted evidence, or a labelled local scan.
With completed scans in the control plane, ``summary`` is exactly
``/v1/compliance/summary``; ``framework`` adds ``/v1/compliance/{framework}``
and ``control`` pages the driving finding ids from
``/v1/findings?framework=&control=``. Otherwise (or with
source='local_scan') it scans local MCP configurations and labels that scope.
Inputs: image, limit, cursor, source, +4 more. Returns: result
exposure_pathsExposure PathsARead-onlyIdempotentInspect
Return the attack-path queue in the dashboard's order, with why each path ranks where it does.
Ranking is ``ranking.order`` (evidence tier, KEV, severity, evidence confidence,
composite risk, credential count); every path carries ``rank``, ``evidenceTier``,
``isKev``, ``severity``, ``evidenceConfidence`` and ``rankingFactors``. Totals,
filters and cursor pages match ``/v1/graph/attack-paths``. With ``result_id`` the
paths are that session scan result's, unfiltered and labelled ``session_scan_result``.
Inputs: kev, view, limit, cursor, +11 more. Returns: result
generate_sbomGenerate SBOMARead-onlyIdempotentInspect
Generate a Software Bill of Materials (SBOM) for your AI agent setup.
Discovers AI agents and MCP servers, extracts all package dependencies,
and generates a standards-compliant SBOM.
Args:
format: SBOM format — "cyclonedx" (CycloneDX 1.7) or "spdx" (SPDX 3.0).
config_path: Path to a specific MCP config directory.
If not provided, auto-discovers all local agent configs.
Returns:
JSON string containing the SBOM in the requested format.
Inputs: format, config_path. Returns: result
intel_lookupThreat Intel Advisory LookupARead-onlyIdempotentInspect
Look up one advisory from the local threat-intel database.
Inputs: advisory_id (required). Returns: result
policy_checkPolicy EvaluationARead-onlyIdempotentInspect
Evaluate a security policy against current scan results.
Runs a scan, then evaluates the provided policy rules against the
findings. Policies can gate on severity thresholds, CISA KEV status,
AI risk flags, credential exposure, and denied packages.
Args:
policy_json: JSON string containing policy rules. Example:
{"rules": [{"id": "no-critical", "severity_gte": "critical",
"action": "fail"}, {"id": "no-kev", "kev": true, "action": "fail"}]}
Returns:
JSON with passed (bool), violations list, failure_count, and
warning_count.
Inputs: policy_json (required). Returns: result
remediateRemediation PlanARead-onlyIdempotentInspect
Generate a remediation plan for vulnerabilities in your AI agent setup.
Scans for vulnerabilities, then generates actionable fix commands for
each affected package (npm install, pip install), credential scope
reduction guidance, and reports on unfixable vulnerabilities.
Args:
config_path: Path to a specific MCP config directory.
If not provided, auto-discovers all local agent configs.
image: Docker image reference to scan (e.g. "nginx:1.25").
Returns:
JSON with package_fixes (upgrade commands by ecosystem),
credential_fixes (scope reduction steps), and unfixable items.
Inputs: image, config_path. Returns: result
scanSecurity ScanARead-onlyIdempotentInspect
Run a full AI supply chain security scan and return an AI-BOM.
Point it at a target with one of:
• project_path — a local project / repo directory ("scan this repo";
must be inside home or AGENT_BOM_MCP_WORKSPACE_ROOTS)
• repo_url — a public git repo URL (cloned + scanned, no checkout)
• config_path — a local MCP-config directory
• image — a Docker image
• sbom_path — an existing CycloneDX/SPDX SBOM
• package — a single package or MCP launch command (pair it with
ecosystem when the spec names no launcher)
With none of these, it auto-discovers local MCP clients (Claude Desktop,
Cursor, Windsurf, VS Code Copilot, OpenClaw, etc.).
It extracts package dependencies, looks up CVEs (online via OSV.dev and advisory sources unless offline mode is requested or configured), assesses config security (credential exposure, tool access), computes blast radius, and returns structured results. Scanning is fully static and read-only — repository and image contents are parsed, never executed.
Returns: JSON. By default a bounded summary: counts (packages, agents, findings by severity/category), top findings, affected paths, and a result_id. Page any full-fidelity section with scan(result_id=..., section='findings', offset=0, limit=25). An incomplete scan (e.g. vulnerability source unavailable) is returned as an error result whose body is still JSON.
Inputs: image, limit, detail, enrich, +20 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools target clearly distinct outputs: scan (full assessment), check (single package CVE lookup), compliance, policy_check, remediate, exposure_paths, intel_lookup. The main confusion is between scan and generate_sbom, since scan already returns an 'AI-BOM' and affected paths while generate_sbom returns a standards-compliant SBOM, plus mild overlap between check (OSV package CVEs) and intel_lookup (local advisories). Descriptions help but an agent could easily pick the wrong one for a 'give me an SBOM' request.
Names are all snake_case (one word or two), so character style is uniform, but the verb/noun convention is mixed: bare verbs (scan, check, remediate), noun phrases (exposure_paths, compliance), and odd compounds (intel_lookup, policy_check). Readable in aggregate but not a predictable verb_noun pattern.
Eight tools is a sensible scope for a supply-chain security server. Several tools (scan, remediation, policy_check, compliance, generate_sbom) internally re-run the same scan, so there is a bit of functional redundancy, but none feels wholly unjustified.
Covers discovery/scanning, package CVE check, SBOM export, compliance, attack-path ranking, policy gating, and remediation — a strong lifecycle. Gaps remain: no scan history/session listing, no diff/compare between scans, no finding suppression/waiver or credential inventory tool, and result paging is only reachable through scan.
Maintenance
Related MCP Connectors
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Zero-config MCP security scanner for AI-generated apps. 25K+ vulnerability patterns.
Security scanner for AI agents and MCP servers: injection, jailbreak, tool abuse.
AWS cloud security scanners for AI agents — S3, IAM, EC2, EKS, RDS, CloudTrail, CloudWatch Logs
Related MCP Servers
- AlicenseAqualityDmaintenanceA security scanner that evaluates installed MCP servers for vulnerabilities by aggregating findings from 16 scanning engines into detailed trust scores. It enables users to scan their local AI agent configurations or specific repository URLs for potential security risks.416 PyPI2Apache 2.0
- AlicenseNot gradedqualityCmaintenanceSecurity scanner for MCP servers. Detects prompt injection, command injection, auth bypass, and excessive permissions across tools, resources, and prompts.75 npm3MIT
- AlicenseAqualityDmaintenanceScan for AI tools and agents - MCP servers & CLIs for scanning, auditing, and managing your AI environment1Apache 2.0
- AlicenseAqualityDmaintenanceSecurity scanner for AI agent packages that enables AI agents to audit MCP servers and packages for vulnerabilities, prompt injection, and supply chain attacks.5197 npm3AGPL 3.0