Skip to content
All topics

Domain

AI security

Prompt injection, data exfiltration, insecure output handling, supply chain risk and other threats to AI systems.

0 of 13 articles published. Topics are listed in reading order: each comes after the topics it builds on.

Threat modeling

Finding what can go wrong in an AI application before attackers do.

  1. Threat modeling AI applicationsComing soon

    Mapping assets, trust boundaries and attackers for systems where model output and retrieved text are untrusted.

    Security · Advanced

  2. The OWASP Top 10 for LLM applicationsComing soon

    A guided tour of the OWASP list for LLM applications and where each risk appears in a typical architecture.

    Security · Intermediate

Prompt injection

Attacks that smuggle instructions into a model's input.

  1. Direct prompt injectionComing soon

    Users instructing the model to ignore its rules, why that cannot be fully prevented, and what limits the damage.

    Security · Intermediate

  2. Indirect prompt injectionComing soon

    Instructions hidden in web pages, documents or tool results that the model reads on a user's behalf.

    Security · Advanced

  3. Defending against prompt injection in depthComing soon

    Layered controls that assume injection will sometimes succeed: privilege limits, output checks and human approval.

    Security · Production

  4. Testing for prompt injectionComing soon

    Building an attack test set, running it in CI, and tracking results across model and prompt changes.

    Security · Production

Output handling

Treating model output as untrusted input to the rest of the system.

  1. Insecure output handlingComing soon

    How model output becomes XSS, SQL injection or command injection when passed on unchecked.

    Security · Advanced

  2. Data exfiltration through rendered outputComing soon

    How links and images in rendered answers can leak data to an attacker, and how to block it.

    Security · Production

Data protection

Keeping secrets and personal data out of places they should not reach.

  1. Keeping sensitive data out of prompts and logsComing soon

    Deciding what may be sent to a provider, redacting before sending and before logging, and verifying it works.

    Security · Advanced

  2. System prompt leakageComing soon

    Why a system prompt should never hold secrets, and what to do instead.

    Security · Advanced

Abuse and excessive capability

Limiting what an AI feature can do and how much it can consume.

  1. Excessive agency in tools and agentsComing soon

    Giving tools the least privilege they need, and requiring approval for actions that cannot be undone.

    Security · Production

  2. Unbounded consumption and denial of walletComing soon

    How attackers drive up cost or exhaust capacity, and the quotas and limits that contain it.

    Security · Production

  3. AI supply chain risksComing soon

    Risks from third-party models, datasets, packages and plugins, and how to vet and pin them.

    Security · Production