Free resource · Audit manual

Operational AI Security guide for LLMs.

The method we apply in audits and AI Security testing, opened up. Architecture risk matrix, maturity scorecard and technical fiches with recipes and regulatory mapping. Built on top of OWASP LLM Top 10 2025, designed for CTOs, security teams and compliance with LLMs in production.

Preview

What you'll receive

Operational manual in PDF, ready for a team to apply against their own system without consulting.

Cover of the AI Security guide for LLMs
Cover
  • Architecture risk matrix

    6 system types (public B2C chatbot, internal RAG, agent with tool-calling…) crossed with the 10 risks. Find yours and know what to prioritise.

  • Maturity scorecard 0-30

    10 auditable controls, 0-3 score each. Three readings (high risk / partial / established programme) with associated action plan.

  • Technical fiches per risk (LLM01-10)

    Anonymised real case, concrete tools (Garak, Lakera, Presidio, Sigstore…), minimum config, code snippets and operational verification.

  • Regulatory mapping

    Each risk crossed with EU AI Act, GDPR, NIS2 and ISO/IEC 42001. Plus a dedicated page on the Spanish framework (AEPD, AESIA, CCN-CERT, ENS).

Download the checklist

We'll email it to you

What you get

An operational manual in 21 pages

Built to let a team audit an LLM system in an afternoon: prioritise by architecture, score programme maturity, apply concrete mitigations with code and check fit against the AI Act, GDPR and the Spanish framework.

LLM01 · Prompt Injection

Adversarial instructions that override the model's behaviour.

LLM02 · Sensitive Information Disclosure

PII, secrets or cross-tenant context leaking through outputs.

LLM03 · Supply Chain

Models, datasets and plugins of unverified provenance.

LLM04 · Data and Model Poisoning

Tampered training or fine-tuning data.

LLM05 · Improper Output Handling

LLM output executed downstream without sanitisation.

LLM06 · Excessive Agency

Agents with badly scoped permissions, tools and autonomy.

LLM07 · System Prompt Leakage

System instructions or embedded keys exposed to users.

LLM08 · Vector and Embedding Weaknesses

Vector store access, cross-tenant leakage, indirect injection via retrieved content.

LLM09 · Misinformation

Plausible-but-false answers reaching users without verification.

LLM10 · Unbounded Consumption

Cost and latency without limits: abuse, economic denial, runaway agents.

FAQ

Frequently asked questions

What is the OWASP Top 10 for LLM and why does it matter?

It is the list of the ten most critical security risks in applications that use large language models (LLMs): prompt injection, insecure output handling, training data poisoning, model denial of service, supply-chain vulnerabilities, sensitive information disclosure, insecure plugin design, excessive agency, overreliance on the model and unbounded consumption. It is maintained by the OWASP Foundation with input from hundreds of professionals and is the most widely used operational reference in the industry to audit and harden generative-AI systems.

What is the checklist based on?

On the OWASP Top 10 for LLM applications. Each of the ten risks (LLM01 Prompt Injection through LLM10 Unbounded Consumption) is translated into binary checks an engineering team can apply against their own system in under one hour. Each risk has an anti-pattern observed in production and the question a real attacker would ask.

What is prompt injection and how do I detect it in my system?

Prompt injection is the most common attack against LLMs: an attacker plants instructions inside an input that the model processes (a user message, a PDF the user uploads, an email, a web page an agent browses) so the model does things it should not: exfiltrate data from the system prompt, execute privileged tools or ignore moderation rules. It is detected by combining targeted red teaming (direct and indirect injections), multi-turn testing and monitoring of anomalous outputs. The checklist marks the minimum verifications for LLM01.

OWASP, MITRE ATLAS, NIST AI RMF: which framework should I use?

They serve different purposes. OWASP LLM Top 10 is operational and developer-oriented: "what do I have to verify in my code?". MITRE ATLAS is a map of adversarial tactics and techniques against AI systems, useful for red teamers and SOCs. NIST AI RMF is a high-level risk-management framework for AI leadership, aligned with governance and compliance. In real audits we combine all three: ATLAS for attack scenarios, OWASP for technical verifications, NIST AI RMF to fit the result into internal governance and the EU AI Act.

How do you red-team an LLM?

You simulate an authorized attacker against the full system: direct and indirect prompt injection, jailbreaks, system-prompt leakage, data exfiltration through context, privilege escalation via tools (function calling), poisoning of RAG sources and multi-turn attacks. The output is a list of reproducible findings with proof-of-concept and remediation prioritized by impact. Important: red teaming an LLM is not an automated scan; it requires human creativity and domain knowledge of the system.

What open-source tools exist to audit the security of an LLM?

The most widely used are Garak (NVIDIA's vulnerability scanner with batteries of probes for jailbreaks, leakage and toxicity), PyRIT (Microsoft's framework to automate red teaming), promptfoo (prompt and detection testing), Giskard (quality and robustness testing) and Rebuff (defense against prompt injection). None replaces a manual red team; they are useful for continuous regression and as a complement to human review.

What risks does giving tools to an AI agent introduce?

Function calling and tools turn the LLM into a system with real-world effects: read mail, write to a database, make payments, browse websites. Every tool extends the attack surface. Typical risks: excessive agency (LLM09), confused deputy (the tool trusts the LLM more than it should), prompt-injection chaining (a malicious email triggering a wire transfer), overly broad permissions, missing human approval on sensitive steps. Minimum requirements: principle of least privilege per tool, domain allowlists, human approval on irreversible operations and an auditable log of every call.

Is RAG safe by default? What specific risks does it introduce?

No, RAG is not safe by default: it adds two attack surfaces on top of an isolated LLM. One, indirect prompt injection through retrieved documents: if your vector store contains a malicious PDF, its instructions reach the model as if they came from the user. Two, leaks of sensitive data when the system retrieves documents the current user should not have access to. Essential mitigations: document-level access control applied at query time (not in the prompt), sanitization of external sources before indexing, source labelling on every chunk and precedence of system-prompt instructions over those in retrieved context.

Is it only for systems already in production?

No. It also works for systems about to launch, advanced prototypes, or internal audits. The only requirement is that there is a concrete architecture to evaluate.

What happens after I download it?

You receive the PDF in your inbox. If after reading it you want us to walk the checks against your specific system, we run a free diagnostic; just reply to the email.