---
title: How would you run red-teaming before launching an LLM feature, and how do jailbreaks differ from prompt injection?
url: https://gurkanozkan.ai/learn/questions/applied-llm-saf-03/
markdown: https://gurkanozkan.ai/learn/questions/applied-llm-saf-03.md
kind: question
role: Applied LLM
stage: Technical
difficulty: Medium
json: https://gurkanozkan.ai/api/learn/questions/applied-llm-saf-03.json
robots: noindex
---

# How would you run red-teaming before launching an LLM feature, and how do jailbreaks differ from prompt injection?

Applied LLM · Technical · Medium

## Answer

*Model answer, written in a candidate's voice*

### In short

- Jailbreak = user coaxes the model past its own policies; injection = third-party content hijacks the application's instructions and privileges
- Product-specific threat model: data leakage, harmful advice, brand risk; actors include malicious users, external content sources, insiders, automated attackers
- Manual expert red team + automated attack generation + known attack libraries/benchmarks; multilingual, encoded, multi-turn attacks
- Findings logged by category and severity; root-cause fixes with guardrails, access controls, monitoring
- Regression suite re-run after every change; attack-success rate tracked over time and before/after fixes

### In full

I’d start by separating the two failure modes: a jailbreak is a user coaxing the model past its own safety policies, while prompt injection is third-party content—web pages, emails, docs, tool outputs—hijacking the application’s instructions and privileges. Then I’d write a product-specific threat model for the feature—data leakage, harmful advice, brand/reputation risk, and abuse—and name actors such as malicious users, external content sources, insiders, and automated attackers. Testing would combine a manual expert red team with automated attack generation and known attack libraries/benchmarks, covering multilingual, encoded, and multi-turn attacks rather than only single-turn English prompts. Findings would be logged by category and severity, fixed at the root cause with guardrails, access controls, and monitoring, and each fix would be added to a regression suite re-run after every model, prompt, tool, or retrieval change. I’d track attack-success rate over time and before/after each fix, and only launch when the residual risk is understood and accepted by product, safety, and legal/compliance owners.

*Checked against sources by an independent AI reviewer.*

## What a strong answer covers

- Jailbreak: user coaxes the model past its own policies; injection: third-party content hijacks the application's instructions and privileges
- Product-specific threat model (data leakage, harmful advice, brand risk) and actors
- Manual expert red team + automated attack generation + known attack libraries; multilingual, encoded and multi-turn attacks
- Findings by category and severity; fixes; regression suite re-run after every change; attack-success rate tracked

## Common mistakes

- One-off exercise with no regression suite
- single-turn English prompts only

## Topic guides

- [AI safety, guardrails and alignment](https://gurkanozkan.ai/learn/topics/safety.md)
- [Evaluation: metrics, evals for LLM systems and statistical rigour](https://gurkanozkan.ai/learn/topics/evaluation.md)
---

*Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.*
