Cybersecurity · 06

Your agents have permissions. Treat them like insiders.

Security for LLM applications, retrieval systems and autonomous agents: prompt injection and tool abuse, data exfiltration paths, excessive agency, model supply chain, and the guardrails that survive adversarial use.

ZST·06 REFERENCE STATE OBSERVED
Fig. 06 — Trace plate Seeded · 67
ShapeAssessment plus hardening sprintTypical duration3–6 weeksScopeAuthorized, written
01

The situation

AI features are shipping with a security model borrowed from web applications, and it does not fit. A chatbot is not a form. Its input is natural language, its behaviour is probabilistic, and its most dangerous capability is usually a tool call to a system that was previously protected by a human in the loop.

The familiar threats reappear in new form. Injection becomes indirect prompt injection through a retrieved document or a web page. Authorization failures become an agent acting with the union of every permission granted to it. Data leakage becomes a summarization that faithfully includes what it should not have retrieved.

Traditional penetration testing will not find these. You need testers who understand both application security and the specific failure modes of language models and agent frameworks, and who can turn findings into guardrails your engineers can maintain.

02

What we do

  • 01

    Map the trust boundaries of the AI system: model providers, retrieval sources, tool endpoints, memory stores, and every place untrusted text can enter.

  • 02

    Model the capability set. Every tool, scope, credential and data source an agent can reach is an attack surface, not a feature list.

  • 03

    Test adversarial input classes systematically: direct and indirect injection, instruction smuggling, encoding tricks, retrieval poisoning, tool-call hijacking and data exfiltration through output channels.

  • 04

    Assess the surrounding application: authentication, tenancy isolation, rate limits, logging, human approval gates and incident kill switches.

  • 05

    Deliver guardrails as code, with tests that fail when a regression reopens a known path.

03

What you get

  • AI system threat model

    Data flows, trust boundaries, capability inventory and the abuse cases specific to your architecture.

  • Adversarial test corpus

    A reusable set of prompts and payloads covering injection, exfiltration, tool abuse and refusal bypass, with expected outcomes.

  • Findings with reproducible transcripts

    Each issue documented with the exact conversation or document that triggered it, and the observed system action.

  • Tool and permission reduction plan

    Where agency exceeds need, with least-privilege redesign, scoped credentials and approval gates.

  • Guardrail implementation

    Input and output controls, retrieval validation, allow-lists, sandboxing and monitoring, implemented in your stack.

  • Evaluation harness

    Automated regression tests that run in CI so a model or prompt change cannot silently reopen a closed issue.

04

How we work

  1. Stage 01

    Architecture review

    Understand the system, its data sources, tools and deployment model. Identify what the agent can do, not just what it says.

  2. Stage 02

    Adversarial testing

    Authorized testing against a scoped environment, including indirect injection through your real document and web sources.

  3. Stage 03

    Hardening

    Reduce capability, add validation and approval gates, and instrument detection for abuse patterns.

  4. Stage 04

    Verify and monitor

    Re-run the corpus, wire the highest-value tests into CI, and define production monitoring for drift and abuse.

05

How we measure success

Agreed before work starts, reported against a stated baseline. Where a number depends on your data, we will tell you what we cannot promise.

  • 01 Percentage of adversarial corpus cases that produce the intended safe behaviour
  • 02 Number of tools and scopes removed or narrowed
  • 03 Mean time to revoke an agent credential after a simulated compromise
  • 04 Share of AI features with a regression test in CI
06

Where we stop

Scope discipline is the product. These are the limits we hold to, in writing, before any work begins.

  • We test only systems you are authorized to test, including the model provider terms that apply to adversarial use.
  • We do not claim to make a probabilistic system provably safe. Guardrails reduce and detect risk; they do not eliminate it.
  • This is security testing, not a guarantee of regulatory compliance for AI systems.
07

Questions we are asked

Do you test against production models or a replica?
Where possible we test a replica environment with representative data. Some behaviours only appear with production retrieval sources, in which case we agree a controlled window and strict data-handling terms.
Can prompt injection ever be fully fixed?
Not in the general case, which is why we prioritize reducing capability and blast radius over attempting to filter every malicious string. Defence in depth, with the assumption that some injections will succeed.
Do you review agent frameworks specifically?
Yes. We work with common agent and orchestration patterns, including tool-calling frameworks, multi-agent handoffs and retrieval pipelines, and we review custom implementations as well.

What changes

Three things that are different afterwards.

01

Agents that cannot do everything

Capability is reduced to what the use case requires, limiting the damage from any single successful injection.

02

Evidence for procurement and regulators

Documented adversarial testing and guardrail coverage to support AI governance and customer due diligence.

03

Regression protection

Security behaviour is tested like any other product requirement as prompts and models change.