Skip to content

DeepTeam is a framework to red team LLMs and AI agents.

final

A-Vamshi30a032f8d8c4
diff --git a/deepteam/attacks/single_turn/constants.py b/deepteam/attacks/single_turn/constants.py
index b689165e..52561c29 100644
--- a/deepteam/attacks/single_turn/constants.py
+++ b/deepteam/attacks/single_turn/constants.py
@@ -12,6 +12,7 @@ from .prompt_probing import PromptProbing
from .roleplay import Roleplay
from .rot13 import ROT13
from .system_override import SystemOverride
+from .adversarial_poetry import AdversarialPoetry
from .system_override import SystemOverride
@@ -25,6 +26,7 @@ from .context_poisoning.context_poisoning import ContextPoisoning
SINGLE_TURN_ATTACK_CLASSES_MAP: Dict[str, BaseSingleTurnAttack] = {
v.name: v
for v in [
+ AdversarialPoetry,
Base64,
GrayBox,
Leetspeak,
diff --git a/tests/test_frameworks/test_nist.py b/tests/test_frameworks/test_nist.py
index 4498c98b..c7cb3dfe 100644
--- a/tests/test_frameworks/test_nist.py
+++ b/tests/test_frameworks/test_nist.py
@@ -18,7 +18,11 @@ class TestNIST:
def test_nist_name(self):
"""Test that NIST framework has correct name."""
framework = NIST()
- assert framework.name == framework.get_name() == "NIST AI Risk Management Framework (AI RMF)"
+ assert (
+ framework.name
+ == framework.get_name()
+ == "NIST AI Risk Management Framework (AI RMF)"
+ )
def test_nist_description(self):
"""Test that NIST framework has correct description."""
diff --git a/tests/test_frameworks/test_owasp_top_10.py b/tests/test_frameworks/test_owasp_top_10.py
index f5585188..fdc82df5 100644
--- a/tests/test_frameworks/test_owasp_top_10.py
+++ b/tests/test_frameworks/test_owasp_top_10.py
@@ -18,7 +18,11 @@ class TestOWASP:
def test_owasp_name(self):
"""Test that OWASP framework has correct name."""
framework = OWASPTop10()
- assert framework.name == framework.get_name() == "OWASP Top 10 for LLMs 2025"
+ assert (
+ framework.name
+ == framework.get_name()
+ == "OWASP Top 10 for LLMs 2025"
+ )
def test_owasp_description(self):
"""Test that OWASP framework has correct description."""