/nuguard:sbom-analysisfrom nuguard
Reads and interprets NuGuard AI-SBOM (.sbom.json/aibom.json) files to answer questions about an AI app's components, data access, guardrails, and attack surface, flagging structural risks directly from the graph.
Ships in nuguard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read and interpret NuGuard AI-SBOM files to answer questions about an AI application's components and attack surface.
{
"schema_version": "1.4.0",
"generated_at": "<ISO timestamp>",
"target": "<repo or source path>",
"nodes": [ ... ], // AI components
"edges": [ ... ], // directed relationships between components
"deps": [ ... ], // Python/JS package dependencies
"summary": { ... } // high-level scan summary
}
| Type | Check |
|---|---|
AGENT | system_prompt_excerpt, blocked_topics, injection_risk_score |
MODEL | model_name, provider |
TOOL | sql_injectable, ssrf_possible, no_auth_required, high_privilege |
DATASTORE | data_classification for PII/PHI, auth_type |
GUARDRAIL | whether it appears in a CALLS edge from an AGENT |
MCP_SERVER | trust_level — untrusted servers are toxic-flow targets |
API_ENDPOINT | no_auth_required, http_method |
PROMPT | injection surfaces in system_prompt_excerpt |
CALLS (agent → tool/model), ACCESSES (component → datastore, with access_type:
read/write/readwrite), GUARDED_BY (component filtered by a guardrail), USES_AUTH,
EXPOSES (service → endpoint).
A path AGENT → CALLS → TOOL → ACCESSES → DATASTORE with no GUARDED_BY edge on the TOOL
is a structural risk (NGA-001, or NGA-009 if the datastore holds PII/PHI).
component_type; for
each AGENT, name its connected TOOL/MODEL nodes from CALLS edges.nuguard analyze --sbom <path> and explain that structural graph checks are more
reliable than manual reading.DATASTORE nodes; report
data_classification, access_type from ACCESSES edges, and whether an auth node
sits in the path.GUARDRAIL nodes and check whether CALLS or
GUARDED_BY edges connect them to agents/tools.summary.frameworks and the framework
field on AGENT/PIPELINE/CHAIN nodes.Flag these even without running nuguard analyze:
TOOL with sql_injectable: true or ssrf_possible: trueDATASTORE with PII/PHI classification and no reachable auth nodeMCP_SERVER with trust_level: untrustedAGENT with injection_risk_score > 0.7API_ENDPOINT with no_auth_required: true and a write-capable HTTP methodsystem_prompt_excerpt containing instruction-like phrases fetched from an external
source (indirect injection surface)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nuguardai/nuguard --plugin nuguard2 skills in this plugin
Other plugins' skills for the same job