DeepTeam is a framework to red team LLMs and AI agents.
images uploaded to s3
A-Vamshid1da6a37ef0b
diff --git a/docs/docs/images/bad-likert-judge-example.png b/docs/docs/images/bad-likert-judge-example.pngdeleted file mode 100644index bcf49ddb..00000000Binary files a/docs/docs/images/bad-likert-judge-example.png and /dev/null differdiff --git a/docs/docs/images/bad-likert-judge.png b/docs/docs/images/bad-likert-judge.pngdeleted file mode 100644index 6141ddfb..00000000Binary files a/docs/docs/images/bad-likert-judge.png and /dev/null differdiff --git a/docs/docs/images/crescendo-jailbreaking-example.png b/docs/docs/images/crescendo-jailbreaking-example.pngdeleted file mode 100644index 13cc8caa..00000000Binary files a/docs/docs/images/crescendo-jailbreaking-example.png and /dev/null differdiff --git a/docs/docs/images/crescendo-jailbreaking.png b/docs/docs/images/crescendo-jailbreaking.pngdeleted file mode 100644index 8c4141f2..00000000Binary files a/docs/docs/images/crescendo-jailbreaking.png and /dev/null differdiff --git a/docs/docs/images/linear-jailbreaking-example.png b/docs/docs/images/linear-jailbreaking-example.pngdeleted file mode 100644index ffa9afcf..00000000Binary files a/docs/docs/images/linear-jailbreaking-example.png and /dev/null differdiff --git a/docs/docs/images/linear-jailbreaking-intro.png b/docs/docs/images/linear-jailbreaking-intro.pngdeleted file mode 100644index 64819c5d..00000000Binary files a/docs/docs/images/linear-jailbreaking-intro.png and /dev/null differdiff --git a/docs/docs/images/sequential-jailbreaking-example.png b/docs/docs/images/sequential-jailbreaking-example.pngdeleted file mode 100644index 14638b0b..00000000Binary files a/docs/docs/images/sequential-jailbreaking-example.png and /dev/null differdiff --git a/docs/docs/images/sequential-jailbreaking.png b/docs/docs/images/sequential-jailbreaking.pngdeleted file mode 100644index e73b228a..00000000Binary files a/docs/docs/images/sequential-jailbreaking.png and /dev/null differdiff --git a/docs/docs/images/tree-jailbreaking-example.png b/docs/docs/images/tree-jailbreaking-example.pngdeleted file mode 100644index b5797bf0..00000000Binary files a/docs/docs/images/tree-jailbreaking-example.png and /dev/null differdiff --git a/docs/docs/images/tree-jailbreaking-intro.png b/docs/docs/images/tree-jailbreaking-intro.pngdeleted file mode 100644index 8ea20934..00000000Binary files a/docs/docs/images/tree-jailbreaking-intro.png and /dev/null differdiff --git a/docs/docs/images/tree-jailbreaking.png b/docs/docs/images/tree-jailbreaking.pngdeleted file mode 100644index cbd4baa5..00000000Binary files a/docs/docs/images/tree-jailbreaking.png and /dev/null differdiff --git a/docs/docs/red-teaming-adversarial-attacks-bad-likert-judge.mdx b/docs/docs/red-teaming-adversarial-attacks-bad-likert-judge.mdxindex a80c40f3..917d559b 100644--- a/docs/docs/red-teaming-adversarial-attacks-bad-likert-judge.mdx+++ b/docs/docs/red-teaming-adversarial-attacks-bad-likert-judge.mdx@@ -82,7 +82,7 @@ print(result)6. **Backtrack adaptively** — If the model refuses or redacts, rephrase the rubric or role and retry, repeating until success or limits are reached.7. **Stop conditions** — End the flow when a disallowed example is produced or when the configured turn/backtrack limits are exhausted.-+If the `turn_level_attacks` is supplied with a list of single-turn attacks, `BadLikertJudge` adds controlled variation:@@ -101,7 +101,7 @@ If the `turn_level_attacks` is supplied with a list of single-turn attacks, `BadHere's an example of a `BadLikertJudge` attack targeting a racial bias vulnerability:-+1. **First Attack**: The attacker starts with a direct prompt asking about stealing data using malware which is unethical.2. **Initial Response**: The model might provide a safe response or might comply, this response is used to adjust the way the attacker adapts to the model.diff --git a/docs/docs/red-teaming-adversarial-attacks-crescendo-jailbreaking.mdx b/docs/docs/red-teaming-adversarial-attacks-crescendo-jailbreaking.mdxindex f4d23fbb..e8f126c1 100644--- a/docs/docs/red-teaming-adversarial-attacks-crescendo-jailbreaking.mdx+++ b/docs/docs/red-teaming-adversarial-attacks-crescendo-jailbreaking.mdx@@ -79,7 +79,7 @@ print(result)5. **Evaluate after each round**: The model’s responses are monitored and evaluated after each round, determining whether the model is yielding to the harmful prompt or maintaining its defenses.6. **Stop when harmful output is generated or after all rounds are exhausted**: The attack terminates when a harmful response is generated, or after all rounds and backtracks have been exhausted without success.-+If the `turn_level_attacks` is supplied with a list of single-turn attacks, `CrescendoJailbreaking` adds controlled variation:@@ -92,7 +92,7 @@ Each round is crafted to bypass the LLM’s defenses by taking advantage of theHere's an example of how a `CrescendoJailbreaking` attack works in action:-+1. **First Attack**: The attacker starts with a direct prompt asking about negative stereotypes associated with mixed-race individuals, targeting the racial bias vulnerability in the model.2. **Initial Response**: The model provides a safe and balanced response, which is evaluated by the crescendo judge and sent to attacker.diff --git a/docs/docs/red-teaming-adversarial-attacks-linear-jailbreaking.mdx b/docs/docs/red-teaming-adversarial-attacks-linear-jailbreaking.mdxindex b2348181..7999b107 100644--- a/docs/docs/red-teaming-adversarial-attacks-linear-jailbreaking.mdx+++ b/docs/docs/red-teaming-adversarial-attacks-linear-jailbreaking.mdx@@ -75,7 +75,7 @@ print(result)Each step builds on the last, making the attack progressively more effective and better aligned with the model's behavior.-+If the `turn_level_attacks` is supplied with a list of single-turn attacks, `LinearJailbreaking` adds controlled variation:@@ -90,7 +90,7 @@ This hybrid approach blends **predictable linear refinement** with **randomizedHere's an example of a `LinearJailbreaking` attack targeting a racial bias vulnerability:-+1. **First Attack**: The attacker starts with a direct prompt asking about negative stereotypes associated with mixed-race individuals, targeting the racial bias vulnerability in the model.2. **Initial Response**: The model provides a safe, balanced response, acknowledging stereotypes but emphasizing the importance of challenging them.diff --git a/docs/docs/red-teaming-adversarial-attacks-sequential-jailbreaking.mdx b/docs/docs/red-teaming-adversarial-attacks-sequential-jailbreaking.mdxindex 11717e06..da967907 100644--- a/docs/docs/red-teaming-adversarial-attacks-sequential-jailbreaking.mdx+++ b/docs/docs/red-teaming-adversarial-attacks-sequential-jailbreaking.mdx@@ -81,7 +81,7 @@ print(result)5. **Monitor model outputs** and evaluate after each turn.6. **Stop** when a harmful response is generated or the dialogue ends unsuccessfully based on binary classification.-+If the `turn_level_attacks` is supplied with a list of single-turn attacks, `LinearJailbreaking` adds controlled variation:@@ -104,7 +104,7 @@ If `type="dialogue"` is selected, the optional `persona` parameter configures thHere's an example of a `SequentialJailbreak` attack targeting a racial bias vulnerability:-+1. **First Attack**: The attacker starts with a direct prompt asking about negative stereotypes associated with mixed-race individuals, targeting the racial bias vulnerability in the model.2. **Initial Response**: The model provides a safe, balanced response, acknowledging stereotypes but emphasizing the importance of challenging them.diff --git a/docs/docs/red-teaming-adversarial-attacks-tree-jailbreaking.mdx b/docs/docs/red-teaming-adversarial-attacks-tree-jailbreaking.mdxindex 63e8e99f..45497f20 100644--- a/docs/docs/red-teaming-adversarial-attacks-tree-jailbreaking.mdx+++ b/docs/docs/red-teaming-adversarial-attacks-tree-jailbreaking.mdx@@ -10,7 +10,7 @@ import AttackTagsDisplayer from "@site/src/components/AttackTagsDisplayer";The `TreeJailbreaking` attack enhances a _base attack_ — a harmful prompt targeting a specific vulnerability — in multiple parallel ways, it forms a tree by exploring different variations of the attack to bypass the **target model**'s safeguards. Instead of refining a single prompt, **it branches out** by evaluating and expanding only the most promising paths to increase the chances of a successful jailbreak.-+:::caution IMPORTANT**Pruning is critical in Tree Jailbreaking**, as it ensures the system focuses resources on the most effective branches.@@ -79,7 +79,7 @@ print(result)Instead of refining a single prompt, TreeJailbreaking **diverges** into multiple candidates at each step — retaining only the most effective ones and pruning weaker paths — creating a dynamic, exploratory attack tree.-+If the `turn_level_attacks` is supplied with a list of single-turn attacks, `TreeJailbreaking` adds controlled variation:@@ -94,7 +94,7 @@ This hybrid approach combines **broad parallel exploration** with **targeted refHere's an example of how `TreeJailbreaking` attack works from a vulnerability:-+1. **Start**: Launch with one adversarial user prompt aimed at a known vulnerability.2. **Observe**: Get the model’s reply — it might refuse, give a neutral answer, or reveal something risky.