Search the Atlas

Search risks, controls, and glossary terms

Non-AgenticSecurity

Adversarial Testing

Explanation

Adversarial Testing checks how well the system detects and blocks prompt-injection and other adversarial inputs that try to subvert its instructions — for a bank's RAG or chat assistant this guards against attacks where hidden instructions in a document or user message attempt to exfiltrate data, bypass policy, or make the assistant take unauthorised actions. It is measured by the Injection Detection and blocking Score, computed exactly as Detection Score = True Positives / (True Positives + False Negatives) — that is, of all genuine injection attempts, the fraction the system correctly catches (recall). Implement it by maintaining a labelled corpus of known and red-teamed injection attacks, running them regularly against the live detection/guardrail layer, and recording true positives and false negatives to compute the score; instrument the input-handling and pre-generation stages so every blocked and missed attempt is logged with the payload, verdict, and outcome for audit, and refresh the attack set as new techniques emerge. The threshold is a > 95% detection rate: if detection falls to or below 95%, the control is breached, which — given its Immediate priority — should trigger an alert, tightening of the injection filters or guardrails, and re-testing before the gap can be exploited in production.

Metric calculation

Detection Score = True Positives / (True Positives + False Negatives)

Risks mitigated

33
ZYR-SI-001High
Agent Impersonation
Security & Identity
ZYR-SI-002Critical
External Goal Manipulation
Security & Identity
ZYR-SI-003High
User-Initiated Instruction Override
Security & Identity
ZYR-SI-004Critical
Indirect Prompt Injection
Security & Identity
ZYR-SI-005Medium
Attack Surface Enumeration
Security & Identity
ZYR-SI-006High
Configuration-Embedded Credential Extraction
Security & Identity
ZYR-SI-007High
Social Engineering via AI
Security & Identity
ZYR-SI-008Critical
MCP Resource & Prompt Primitive Injection
Security & Identity
ZYR-SI-009Medium
MCP Transport-Layer Exploitation
Security & Identity
ZNR-PD-001High
PII memorization & regurgitation
Privacy & Data Protection
ZNR-PD-002Medium
Membership inference
Privacy & Data Protection
ZNR-PD-003Low
Model inversion / data reconstruction
Privacy & Data Protection
ZNR-PD-004Critical
Sensitive-information disclosure in output
Privacy & Data Protection
ZNR-PD-005Medium
Prompt & conversation retention/leakage
Privacy & Data Protection
ZNR-PD-006Medium
Re-identification from outputs
Privacy & Data Protection
ZNR-PD-007Low
Cross-session / cross-user context bleed
Privacy & Data Protection
ZNR-SR-001Critical
Direct prompt injection
Security & Robustness
ZNR-SR-002Critical
Indirect prompt injection via retrieved content
Security & Robustness
ZNR-SR-003Critical
Jailbreak / guardrail bypass
Security & Robustness
ZNR-SR-004High
System-prompt leakage
Security & Robustness
ZNR-SR-005Medium
Adversarial / evasion inputs
Security & Robustness
ZNR-SR-006Low
Model extraction / theft
Security & Robustness
ZNR-SR-007High
Supply-chain compromise (model/fine-tune/library)
Security & Robustness
ZNR-SR-008Medium
Improper output handling (downstream injection)
Security & Robustness
ZNR-SR-009Medium
Unbounded consumption / denial-of-wallet
Security & Robustness
ZNR-CS-001Medium
Toxic / hateful / harassing output
Content Safety & Integrity
ZNR-CS-002Low
Violent or self-harm content
Content Safety & Integrity
ZNR-CS-003Low
CBRN / dangerous capability uplift
Content Safety & Integrity
ZNR-CS-004Low
CSAM / NCII / obscene content
Content Safety & Integrity
ZNR-CS-005High
Misinformation / disinformation generation
Content Safety & Integrity
ZNR-CS-006Medium
IP / copyright infringement
Content Safety & Integrity
ZNR-CS-007Medium
Defamation / reputational harm
Content Safety & Integrity
ZNR-CS-008Critical
Unlicensed / unsuitable advice
Content Safety & Integrity