by guardana
Open-source AI security verification for model artifacts, live endpoints, MCP servers, and recorded agent traces. Reproducible evidence for release decisions.
# Add to your Claude Code skills
git clone https://github.com/guardana/guardanaguardana is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by guardana. Open-source AI security verification for model artifacts, live endpoints, MCP servers, and recorded agent traces. Reproducible evidence for release decisions. It has 232 GitHub stars.
guardana's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/guardana/guardana" and add it to your Claude Code skills directory (see the Installation section above).
guardana is primarily written in Python. It is open-source under guardana on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh guardana against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Guardana is an open-source AI security verification tool for security and platform engineers. It checks code and model artifacts, live AI systems, and recorded runs. It reports what it found, what it could not verify, and what it could not check. It verifies outside the request path; it is not an inline guardrail, a general SAST or CVE scanner, or a compliance certification.
Quickstart · Features · Rule catalog · Docs · Status & limits · Current work · Changelog · Get involved
⭐ Star Guardana on GitHub to help other teams find it.
60 built-in security checks; add checks for your application. The count comes from the generated rule summary. Built-in artifact checks need no network. scan --reporter server://<url> sends results to a collector; active checks contact the target you choose. Guardana needs no account and has no automatic telemetry or phone-home.
uvx --from guardana-cli guardana scan . # zero-install run (uv)
uv add guardana-cli # or: pip install guardana-cli
The command is guardana; the distribution is guardana-cli. An uncached uvx run or an install downloads the distribution. For a source checkout, clone and run uv sync as described in docs/install.md.
Start with an offline result:
# With uvx:
uvx --from guardana-cli guardana init --starter first-run
# After uv add guardana-cli:
uv run guardana init --starter first-run
# After pip install guardana-cli in an active environment:
guardana init --starter first-run
Its README walks through a failing scan, the fix, a saved run, and a check of your own. Once Guardana is installed, it needs no account, key, model, or network.
Scan the bundled vulnerable model directory in a clone of the repository for another example (pip, uv add and uvx installs do not contain examples/vulnerable-model):
$ uv run guardana scan examples/vulnerable-model
✖ [CRITICAL] guardana.supply_chain.pickle_opcode — Dangerous pickle opcode (arbitrary code on load)
unpickling imports 1 non-allowlisted callable(s) (set 705e9da4c561): posix.system (examples/vulnerable-model/model.pt)
✖ [HIGH] guardana.supply_chain.dependency_risk — Unsafe model/deserialization loader call
torch.load without weights_only=True (examples/vulnerable-model/load_model.py:3)
✖ [CRITICAL] guardana.supply_chain.remote_code_config — Model config requests custom-code execution on load
'_attn_implementation_internal' names the Hub kernel repository 'attacker/kernel-repo', which transformers downloads and imports on load — a private field, so trust_remote_code=False does not stop it (CVE-2026-4372) (examples/vulnerable-model/config.json)
…
▲ [MEDIUM] guardana.supply_chain.hallucinated_package — Import of unknown package (possible slopsquat lead)
import 'torchutilz' isn't a known package or a declared dependency — declare it in requirements/pyproject, or verify it exists on PyPI (examples/vulnerable-model/train.py:1)
…
12 finding(s); 19 rule(s) run, 0 skipped. 5 component(s) observed.
That run exits 1, so it can gate CI. To check your own work:
guardana scan path/to/your/project # static, offline, no model needed
guardana init # write a guardana.yaml policy file
guardana scan . --profile guardana.yaml --format sarif # SARIF 2.1.0 for GitHub code scanning
guardana probe --url http://localhost:11434 --model llama3 --preset ci --format json --output run.json
guardana diff accepted-run.json run.json # 0 nothing worse at the policy's bars · 1 it is · 2 cannot tell
Choose a guide for your own project, a run your application recorded, or the application your users talk to. To add Guardana to an existing repository and pipeline, follow Adopt Guardana in your project.
For integration requirements, see feature and field availability and the compatibility matrix. Package availability identifies when an item first shipped; document schemas, extension_api and output_api have independent versions.
Every published distribution has signed, keyless build provenance verifiable with gh attestation verify, plus a PEP 740 attestation on PyPI.
The generated rule summary counts 60 built-in rules: 19 artifact rules and 41 runtime rules. The runtime rules span live endpoints, live MCP servers, live A2A agents, seeded applications, and recorded traces. A single endpoint does not exercise all 41. Rules map to OWASP Top 10 for LLM Applications 2025 and 2026, OWASP Top 10 for Agentic Applications 2026, OWASP MCP Top 10 2025, OWASP Machine Learning Security Top 10 2023, MITRE ATLAS (content release 2026.11), and NIST AI 100-2 attack classes. References use edition tags for OWASP (for example, LLM01:2025) and unversioned ATLAS technique IDs and NIST attack-class identifiers, which retain their meaning across releases.
| Family | Rules | Surface | What it covers |
|---|---|---|---|
guardana.supply_chain.* |
16 | build | unsafe loading, remote code, model formats, dependencies, transport, secrets, and provenance |
guardana.prompt.* |
7 | build + runtime | hidden instructions, tool poisoning, injection, jailbreaks, prompt leakage, and resource consumption |
guardana.agent.* |
7 | runtime | tool-result injection, credential exfiltration, broad arguments, excessive use, memory poisoning, tool schemas, and MCP server manifests |
guardana.mcp.* |
11 | runtime | authentication, discovery, audience, session, scope, issuer, cache handling, task listings, registry entries, and foreign Origin handling |
guardana.a2a.* |
3 | runtime | agent cards, callers without a credential, and one caller's view of another's tasks |
guardana.endpoint.* |
1 | runtime | chat completions returned to requests without a credential or, with --require-key-check, with a generated key that cannot be valid (--require-auth) |
guardana.trace.* |
9 | runtime | recorded credential, identity, consent, policy, approval, retrieval, effect, and handoff boundaries |
guardana.scenario.* |
2 | runtime | multi-turn jailbreak and indirect-injection scenarios |
guardana.tenancy.* |
1 | runtime | another tenant's seeded data reaching a reply, asked through the application's own index |
guardana.retrieval.* |
1 | runtime | an instruction planted in a seeded document being followed |
guardana.output.* |
1 | runtime | secrets in model output |
guardana.training.* |
1 | build | training-data integrity |
See which threats the rules check for in threat coverage and which framework entries they map to in taxonomy coverage.
The 19 static rules need no model or network. The generated rule catalog lists built-in rule ids, severities, surfaces, and framework mappings. guardana rules shows rules admitted in the current installation, including trusted third-party rules. See FEATURES.md for the capability overview and the generated detection limits for what each finding establishes.
Guardana keeps four outcomes separate:
findings: a check reached a negative verdict;unverified: it ran but could not decide;errors: it could not run;Results that require judgment include an outcome, confidence, rationale, and evaluator identity. guardana calibrate measures evaluator confidence against labelled samples. An exhausted budget exits 6 and preserves its results. A comparison that cannot be made exits 2. Missing evidence is not reported as success.
Guardana verifies artifacts, deployed systems, and recorded evidence:
| Verb | Command | What it does |
|---|---|---|
| Verify artifacts | guardana scan <path> |
Static checks for code and model artifacts; offline without a reporter. |
| Verify a deployed system | guardana probe --url … --model … |
Active checks against a model, |