Skip to main content

nuguard

AI-SBOM generation, static analysis, and automated red-teaming / adversarial-attack-generation for AI agents and applications.

License: Apache 2.0 PR Tests PyPI Python versions GitHub Stars

Try NuGuard for free

Explore the hosted platform. No credit card required.

Start your free trial

What it does · See it in action · Framework coverage · Comparison · Getting started · Documentation · FAQ


NuGuard is an open source AI application safety & security toolkit. It generates an AI Software Bill of Materials (AI-SBOM) for your agentic application, statically analyzes it for structural risk in the AI Stack and the software infrastructure. It then red-teams a sandboxed instance with a catalog of 100+ adversarial scenarios — prompt injection, tool abuse, data exfiltration, and more — so you find the issues before an attacker does. An automated judge evaluates the findings based on their impact and provides actionable remediation guidance.

What It Does

AI SBOM: Agents, Tools, API End Points, Models. Analyze: static risk scan, OWASP/MITRE mapping. Policy: Application's Intended Behavior. Behavior: Functional tests, allowed topics. Red-team: 100+ adversarial scenarios, sandboxed. Data exfil findings. Remediate: fixes for specific application components. Export: text, JSON, Markdown, SARIF.

See It In Action

A real scan of a live fintech agent — Pinnacle Bank Assistant — walking through all five NuGuard stages: AI-SBOM, Cognitive Policy, Static Analysis, Behavior, and Red-Team. No mocks, no slides — real findings, including a live transcript of the agent leaking another customer's flagged fraud transactions on a routine question.

Animated walkthrough of the NuGuard pipeline against Pinnacle Bank Assistant: SBOM discovery (159 nodes), Cognitive Policy (19 controls, 4 enforcement gaps), Static Analysis (621 findings), Behavior testing (risk score 59.8/100), and Red-Team (risk score 40.3/100, 37 findings, including a cross-account data leak).

→ Open the interactive demo — scroll through the full walkthrough yourself.

Framework Coverage

NuGuard uses framework-aware adapters and structured configuration parsers to map the AI application stack into one evidence-backed AI-SBOM.

Area High-level coverage
Languages Python, TypeScript/JavaScript, Go, C#, and Java, plus structured configuration and infrastructure formats
AI and agentic stack Major agent frameworks, model-provider SDKs, MCP servers/clients, prompts, tools, guardrails, auth, and API endpoints
Low-code / no-code n8n, Langflow, Flowise, Microsoft Copilot Studio, and Sparkflows exports
Cloud and delivery AWS, Azure, Google Cloud, Kubernetes, Helm, Docker, Terraform, CloudFormation, Bicep, Deployment Manager, and GitHub Actions
Data layer Relational, document, key-value, vector, search, warehouse, and object-storage technologies

See the Supported Technologies documentation for the detailed language, framework, SDK, platform, Kubernetes, and datastore matrix.

Comparison

Capability comparison cards. NuGuard: AI-SBOM generation, supply-chain analysis, policy engine, adaptive multi-turn attacks, OWASP LLM Top 10 mapping, auto remediation — all six. Garak: adaptive multi-turn attacks only. Promptfoo: adaptive multi-turn attacks and OWASP LLM Top 10 mapping.

Getting Started

Install, then generate an SBOM, statically analyze it, and red-team a live target:

pip install nuguard

nuguard init --target <your-app-url>
nuguard sbom generate --source <path-to-your-app> --output app.sbom.json
nuguard analyze --sbom app.sbom.json --format markdown
nuguard redteam --config nuguard.yaml --format markdown --output reports/redteam.md

🚀 Ready to run NuGuard?

Installation, the full CLI surface, and the configuration reference — all in one guide.

Read the Quick Start guide

🤖 Using Claude Code?

Install the NuGuard plugin and run SBOM, analysis, behavior, and red-team scans directly from Claude Code or Claude Desktop.

Read the Plugin Guide

🎯 Need to pentest a live target?

Nuclei-backed, bounded conventional pentest — explicit authorization required.

Read the Cloud Pentesting Guide

Hosted Version

Running NuGuard at organizational scale? The managed SaaS adds what a CISO or VP Engineering needs on top of everything in this repo — no infra to stand up or maintain.

NuGuard.ai

NuGuard.ai — Managed SaaS for Security & Engineering Leaders

  • 🔐 RBAC — role-based access across teams and business units
  • 📊 Executive dashboards — risk posture and risk trends, board-ready
  • 📋 Audit-ready reports — compliance-mapped to OWASP & MITRE ATLAS plus support for EU AI Act, NIST, etc.
  • 🔗 Enterprise integrations — ServiceNow AI Control Tower, AWS Security Hub, and more
  • 🛟 Managed support — dedicated onboarding and SLAs

Free trial available — no credit card required.

Start Free Trial →

Contributing

🤝 Want to contribute?

Dev setup, running tests and lint, and the pull request process are covered in the Contributing guide.

Read the Contributing guide

Release publication is managed by repository maintainers. See Governance for ownership and the release runbook for the maintained procedure.

Repo Notes

  • The repository currently contains example applications under tests/apps/
  • LLM-assisted features depend on provider credentials being available via environment variables

FAQ

I have some questions, how do I reach out to folks behind this repo? You can contact us at oss@nuguard.ai For bug reporting, use the issues page on GitHub.

Do I need a live app to do a security assessment? No. nuguard sbom + nuguard analyze find structural and supply-chain risks based on the SBOM (no source code or running application required). nuguard behavior and nuguard redteam need a running target typically in a sandbox.

Which LLM providers are supported for LLM-assisted features? Configured via the llm section of nuguard.yaml; provider credentials are read from environment variables. Lite LLM is used to abstract any llm provider. For redteam scenarios, an LLM with adversarial content tolerance is required to generate attack payloads effectively. The SaaS version of nuguard provides a pre-configured LLM for this purpose, ensuring consistent and reliable red-team assessments.

What if I don't want to run all redteam scenarios? Filter by profile (CI, Standard, Full), and configure destructive or non-destructive scenarios. Alternatively, set enabled: false per scenario in a catalog exported with nuguard redteam catalog-export.

License

Apache 2.0.


Docs: Published documentation · Getting started / Quick start · Supported technologies · CLI reference · Policy engine · Static analysis · Red-team Guide · Cloud Pentesting · Claude plugin · Troubleshooting · Security · Contributing · Governance

Metadata

Release files for nuguard 0.9.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nuguard 0.9.9
File Size Uploaded
nuguard-0.9.9.tar.gz 1.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for nuguard 0.9.9
File Interpreter ABI Platform
nuguard-0.9.9-py3-none-any.whl Python 3 none any Details

Total release size: 3.9 MB

Release files / nuguard-0.9.9.tar.gz

Download URL nuguard-0.9.9.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
4736dfe7b56ff893673b64bee5e88ee0b9ac500195bf47940ddb2d1091ab9dfa
BLAKE2b-256 checksum
How to use checksums
220f5e960e5b8490cc816f91983e75d268bdab34d35aa192a57db264fbfa6f5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.

Transparency log

Release files / nuguard-0.9.9-py3-none-any.whl

Download URL nuguard-0.9.9-py3-none-any.whl
Size 2.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
eb5ad80fcb6787cee5f8084a0888a7fe75452faa9d8bfddc6f3850e5cf627d09
BLAKE2b-256 checksum
How to use checksums
2b325a04466a89ac006557eab6693f1f0017221fea9d22a1d4794f6eb3641b9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.

Transparency log

Release history Release notifications | RSS feed

0.9.12

2 release files

0.9.11

2 release files

0.9.10

2 release files

This release

0.9.9 This release

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.8.10

2 release files

0.8.9

2 release files

0.8.8

2 release files

0.8.7

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.7.9

2 release files

0.7.8

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.6.2

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page