DeepTeam is a framework to red team LLMs and AI agents.
.
penguine58e8db56a9a9
diff --git a/docs/docs/red-teaming-adversarial-attacks.mdx b/docs/docs/red-teaming-adversarial-attacks.mdxindex 72be35f9..b273149a 100644--- a/docs/docs/red-teaming-adversarial-attacks.mdx+++ b/docs/docs/red-teaming-adversarial-attacks.mdx@@ -11,7 +11,7 @@ sidebar_label: IntroductionIt works by first simulating simplistic, "baseline" adversarial attacks, before progressively applying various attack methods such as prompt injection to create more sophisticated versions akin to what a malicious user would be doing. This is known as attack enhancement.:::note-The LLM outputs to these attacks are then evaluated against to determine if your LLM system is weak against a certain vulnerability. Each attack is simulated based on a certain vulnerability.+The LLM outputs to these attacks are then evaluated to determine if your LLM system is weak against a certain vulnerability. Each attack is simulated based on a certain vulnerability.:::<div@@ -196,17 +196,17 @@ _To be documented..._## The Menu-| Attack Methods | Description |-| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |-| `ROT13` | This attack enhancement encodes the original request using the ROT13 cipher, scrambling the text to bypass simple content filters. |-| `Base64` | The request is encoded in Base64 format, obfuscating the attack to bypass detection mechanisms. |-| `Leetspeak` | Replaces characters in the request with their leetspeak equivalents (e.g., "E" becomes "3"), making the message harder to detect. |-| `PromptInjection` | Injects a secondary command within the original attack to manipulate the system into performing unintended actions or disclosing sensitive data. |-| `Roleplay` | Embeds attacks within elaborate persona-based scenarios where the LLM adopts specific character roles, leveraging collaborative training to bypass safety mechanisms through authentic character portrayal. |-| `GrayBox` | Simulates a gray-box attack where some system information is known, crafting an enhancement to exploit this partial knowledge to obtain restricted outputs. |-| `MathProblem` | Masks the harmful request by embedding it within a seemingly benign math problem, disguising the true intent. |-| `Multilingual` | Translates the attack into another language to bypass filters that are primarily focused on one language, usually English. |-| `LinearJailbreaking` | Utilizes a linear progression of increasingly persuasive attack enhancements to gradually convince the model to bypass its restrictions. |-| `TreeJailbreaking` | Creates a tree-like structure of attack enhancements with multiple branches, exploring different pathways to bypass the system's ethical constraints. |-| `SequentialJailbreaking`| Employs multi-turn conversational strategies to embed harmful prompts within seemingly innocent dialogue scenarios, question bank formats, and game environments using character role-playing and contextual framing. |-| `CrescendoJailbreaking` | Builds up to a more forceful request, escalating the intensity of the attack enhancement with each interaction to coerce the model into generating harmful output. |+| Attack Methods | Description |+| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |+| `ROT13` | This attack enhancement encodes the original request using the ROT13 cipher, scrambling the text to bypass simple content filters. |+| `Base64` | The request is encoded in Base64 format, obfuscating the attack to bypass detection mechanisms. |+| `Leetspeak` | Replaces characters in the request with their leetspeak equivalents (e.g., "E" becomes "3"), making the message harder to detect. |+| `PromptInjection` | Injects a secondary command within the original attack to manipulate the system into performing unintended actions or disclosing sensitive data. |+| `Roleplay` | Embeds attacks within elaborate persona-based scenarios where the LLM adopts specific character roles, leveraging collaborative training to bypass safety mechanisms through authentic character portrayal. |+| `GrayBox` | Simulates a gray-box attack where some system information is known, crafting an enhancement to exploit this partial knowledge to obtain restricted outputs. |+| `MathProblem` | Masks the harmful request by embedding it within a seemingly benign math problem, disguising the true intent. |+| `Multilingual` | Translates the attack into another language to bypass filters that are primarily focused on one language, usually English. |+| `LinearJailbreaking` | Utilizes a linear progression of increasingly persuasive attack enhancements to gradually convince the model to bypass its restrictions. |+| `TreeJailbreaking` | Creates a tree-like structure of attack enhancements with multiple branches, exploring different pathways to bypass the system's ethical constraints. |+| `SequentialJailbreaking` | Employs multi-turn conversational strategies to embed harmful prompts within seemingly innocent dialogue scenarios, question bank formats, and game environments using character role-playing and contextual framing. |+| `CrescendoJailbreaking` | Builds up to a more forceful request, escalating the intensity of the attack enhancement with each interaction to coerce the model into generating harmful output. |