Key Takeaway: Concrete pre-deployment test scenarios covering Prompt Injection, Sensitive Info Disclosure, Supply Chain, Excessive Agency, and System Prompt Leakage.
1. Direct & Indirect Prompt Injection (LLM01)
Test both direct user jailbreaks (roleplay overrides, Base64/Unicode obfuscation, multi-turn crescendo escalation) AND indirect prompt injection embedded inside untrusted web pages, emails, PDFs, or vector-database RAG chunks. Never grant an LLM raw write/delete privileges solely based on untrusted retrieved text.
2. Sensitive Information Disclosure & RAG RBAC Leakage (LLM02)
In enterprise RAG chatbots, cross-tenant authorization leakage is far more common than exotic model inversion. Run automated red-team assertions verifying that User A cannot trick a retrieval agent into summarizing HR salaries, legal memos, or Customer B records via metadata filter bypasses.
3. Excessive Agency & Tool-Call Guardrails (LLM06)
Agentic workflows calling SQL queries, refund APIs, email senders, or code interpreters represent the highest financial blast radius. Enforce strict least-privilege OAuth scopes, deterministic parameter schema validation (Guardrails AI / NeMo), dollar-value caps, and mandatory human-in-the-loop confirmation before irreversible state changes.
4. ML Supply Chain & Serialized Model Scanning (LLM03)
Before pulling open-weight Hugging Face checkpoints or third-party LoRA adapters into production clusters, run automated artifact scanners (Protect AI ModelScan or HiddenLayer Model Scanner) to reject unsafe Python pickle/PyTorch deserialization payloads in favor of SafeTensors weights.