This playbook translates offensive security discipline to generative AI: scoping, methodology, tooling categories, and evidence collection for leadership and auditors. It complements the OWASP LLM Top 10 and draws on continuous-testing patterns described in Agentic Assure’s internal security architecture research (multi-module orchestration, privacy probes, and regression gates).

Key takeaways

  • Authorise every engagement; agentic workflows need explicit blast-radius rules.
  • Automate breadth, then use experts for chains and business-logic abuse.
  • Ship regressions when the industry learns a new exploit class.

1. Objectives and scope

Primary goals. Discover instruction hijacking, unsafe tool use, data leakage, jailbreaks, and robustness failures before attackers or regulators do.

Scope clearly. Define model version, system prompts, tools/APIs, RAG corpora, data residency, and prohibited actions (e.g., no production data exfiltration, no disruption of live users).

Rule of engagement. Written authorisation, emergency contacts, and logging requirements are mandatory for any testing beyond synthetic environments.

2. Threat modelling snapshot

Start from assets (models, indices, credentials), entry points (chat UI, API, batch jobs, plugins), and adversaries (external users, compromised partners, malicious insiders). Map controls: authentication, RAG ACLs, output filters, human approvals.

3. Test phases

Phase A — Baseline characterisation

Document intended policies, blocked topics, tool matrix, and golden-path behaviours. Capture non-security baselines (latency, token use) to compare under attack load.

Phase B — Automated adversarial probing

Run libraries and harnesses that encode known attack classes: prompt injection fuzzing, jailbreak templates, encoding and multilingual obfuscation, policy-violation probes, and structured-output stress tests.

Phase C — Manual creativity and chain building

Skilled testers explore logical gaps: indirect injection via uploaded PDFs, multi-session memory poisoning, and social engineering of the model’s “helpful” bias.

Phase D — Privacy and extraction

PII scanners on outputs; canary and completion-style prompts; membership-style probes where ethically justified. Align with LLM02 and training-data exposure risks.

Phase E — Resilience and operations

Rate-limit bypass, token inflation, long-context abuse, and cost exhaustion scenarios (LLM10). Verify monitoring and circuit breakers.

4. Evidence and reporting

Each finding should include: severity, OWASP LLM mapping, reproduction steps (prompts redacted or hashed if sensitive), model/tool versions, timestamps, and suggested mitigations. Store artifacts in tamper-evident systems where compliance requires it.

5. Tooling landscape (categories)

CategoryExample use
LLM vulnerability scanners / harnessesBatched jailbreak and injection campaigns with pass/fail rubrics.
Adversarial ML (CV / tabular)Evasion and robustness testing for non-text models.
Privacy toolingPII detection, redaction validation, memorisation heuristics.
Red-team orchestrationCI/CD integrated suites, scheduling, dashboards.

Tool names change quickly; evaluate against your stack and data-handling requirements rather than chasing a fixed list.

6. Integration with SDLC

7. Metrics that matter