NuGuard's Claude Plugin for AI Security
AI-SBOMs, static risk analysis, and red-teaming — all from your terminal
By Ranjan Goel, May 23, 2026
The Claude Code plugin that audits your AI app — AI-SBOMs, static risk analysis, and red-teaming, all from your terminal.
AI Agents Ship Fast. Security Audits Don't.
As a developer you see immense productivity improvements using coding agents like Claude Code, but security audits are still a hindrance. What if there's an AI security tool that integrates cleanly with Claude Code, making the security workflow almost conversational.
NuGuard is an open-source AI Trust platform purpose-built for agentic AI applications. It maps your entire AI stack into a structured attack-surface graph and surfaces real risks before adversaries do.
- AI-SBOM Generation: Inventory every component in your AI app
- Static Risk Analysis: NuGuard rules, MITRE ATLAS, CVE/OSV scanning
- AI Red-Teaming: Prompt injection, data exfiltration, privilege escalation
- Behavior Validation: Happy-path testing of your tools, agents, endpoints
Three Commands. Zero Context Switching.
Install NuGuard directly inside the Claude Code terminal. The plugin registers 7 skills as slash commands — no separate toolchain required.
> /plugin marketplace add NuGuardAI/nuguard
Successfully added marketplace: nuguard
> /plugin install nuguard
✓ Installed nuguard. Run /reload-plugins to apply.
> /reload-plugins
Reloaded: 1 plugin 7 skills 7 agents 0 hooks 0 plugin MCP servers.
7 Skills, Instantly Available
After installation, NuGuard registers these slash commands directly in your Claude Code session:
/nuguard-sbom— Generate a full AI Bill of Materials from your codebase/nuguard-analyze— Static risk analysis against an existing SBOM/nuguard-scan— Full pipeline: SBOM → analysis → report/nuguard-redteam— Adversarial red-team testing against agents/nuguard-behavior— Behavioral testing against a live running app/nuguard-config— Configure credentials and target endpoints/nuguard-init— Initialize project config files
Demo: AI-SBOM
37 Nodes. 40 Edges. Under 5 Seconds.
Here's the output from a real airline customer-service agent application:
> create an SBOM for my repo
Scanning /workspaces/openai-cs-agents-demo ...
SBOM written to app.sbom.json (37 nodes, 40 edges)
Node Summary
| Type | Count |
|---|---|
| AGENT | 5 |
| API_ENDPOINT | 5 |
| AUTH | 1 |
| DATASTORE | 1 |
| DEPLOYMENT | 2 |
| FRAMEWORK | 3 |
| GUARDRAIL | 2 |
| IAM | 1 |
| MODEL | 1 |
| PRIVILEGE | 1 |
| PROMPT | 8 |
| TOOL | 7 |
- Agents Detected: Triage, Cancellation, FAQ, Flight Status, Seat Booking (5 Agents)
- Tools Mapped:
cancel_flight,update_seat,lookup_reservation, and 4 more (7 Tools) - Guardrails Found: Jailbreak Guardrail + Relevance Guardrail (2 Guardrails)
- Total SBOM Nodes: Full attack surface mapped across 40 edges (37 Nodes)
Risk Analysis
What the SBOM Reveals
The AI-SBOM is more than an inventory — it's a dependency graph of your AI application's attack surface. NuGuard checks every tool for injection risk, privilege exposure, PII leakage, and more.
Key Observations
- Multi-agent orchestration via openai_agents SDK — Triage Agent fans out to 4 specialist agents.
- Two guardrails are in place (Jailbreak + Relevance) — /nuguard-analyze will verify their coverage.
- db_write privilege node is present, sourced from update_seat / cancel_flight — verify only authorized agents can reach it.
- Azure credentials are injected via GitHub Actions secrets — correctly not hardcoded.
- All 7 tools came back clean on SQL injection, SSRF, and privilege flags.
Why It Matters
Why Traditional SBOMs Fail for Agentic AI Security
A cancel_flight tool with no guardrail coverage can be prompt-injected into cancelling flights it shouldn't. A system prompt with template variables like {confirmation_number} can leak sensitive reservation data if an attacker controls an adjacent agent's output.
NuGuard maps these relationships precisely so you understand what can reach what, before an adversary does.
- Prompt Injection: Adversarial input redirects agent behavior through crafted tool outputs
- Data Exfiltration: Template variables in system prompts leak sensitive data across agent boundaries
- Privilege Escalation: Misconfigured orchestration graphs grant unintended tool access to unprivileged agents
Full Pipeline
Run a Full AI Security Report in One Command
- SBOM Generation — Maps all agents, tools, models, prompts, datastores, and endpoints into a structured graph
- Static Analysis — Applies NGA rules, MITRE ATLAS techniques, and CVE/OSV vulnerability scans
- Behavioral Testing — Intent-aware test suite executed against your live application
- Findings Report — Consolidated security findings with severity ratings and remediation guidance
Run the complete security pipeline end-to-end with a single command. Or use /nuguard-analyze to run just the analysis phase against an existing SBOM.
> /nuguard-scan
Running full pipeline: SBOM → static analysis → behavioral tests → report ...
✓ SBOM generated (37 nodes, 40 edges)
✓ Static analysis (NGA rules: 0 critical, 1 warning | MITRE ATLAS: 2 techniques flagged)
✓ Behavioral tests (12 tests passed, 0 failed)
✓ Report written to nuguard-report.html
Get Started with NuGuard Today
NuGuard is built for the agentic AI era where the attack surface isn't just your code — it's everything your agents can do. Open-source, terminal-native, and ready in three commands.
- Install the Plugin: Run
/plugin marketplace add NuGuardAI/nuguardinside Claude Code - GitHub Repository: github.com/NuGuardAI/nuguard — open-source, contributions welcome
Frequently asked questions
What is an AI-SBOM?
An AI Software Bill of Materials (AI-SBOM) is a structured, machine-readable inventory of everything an AI agent can do, access, and affect — including its tools, models, prompts, datastores, and permissions. Unlike a traditional software SBOM, an AI-SBOM captures behavioral surface and runtime decision context, not just package dependencies.
How long does it take to run a full NuGuard security scan?
For a typical multi-agent application, the full pipeline — SBOM generation, static risk analysis, and behavioral testing — completes in under 5 minutes inside Claude Code. The AI-SBOM step alone typically runs in under 5 seconds.
Does NuGuard detect prompt injection vulnerabilities?
Yes. The /nuguard-redteam command runs adversarial tests specifically targeting prompt injection, data exfiltration, and privilege escalation vectors across all agent boundaries.
Can I use NuGuard without Claude Code?
NuGuard is also available as a standalone CLI and can be integrated into CI/CD pipelines. The Claude Code plugin is one integration point; the core platform runs independently.
Is NuGuard open source?
Yes, NuGuard is fully open source under the MIT license. The plugin source, validation logic, and policy templates are publicly available on GitHub at github.com/NuGuardAI/nuguard.
Related Articles
Could Your AI Agents Go Rogue?
The only way to know whether your agents are truly safe is to attack them before someone else does. A practical guide to red-teaming agentic AI across every layer of your stack.