Skip to content

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

fix: also resolve vulnerability mapping

karan kulshrestha029e1f4a7fc4
diff --git a/deepteam/cli/main.py b/deepteam/cli/main.py
index 2e430419..e631872e 100644
--- a/deepteam/cli/main.py
+++ b/deepteam/cli/main.py
@@ -59,7 +59,7 @@ VULN_CLASSES = [
GraphicContent,
PersonalSafety,
]
-VULN_MAP = {cls().get_name(): cls for cls in VULN_CLASSES}
+VULN_MAP = {cls.__name__: cls for cls in VULN_CLASSES}
ATTACK_CLASSES = [
Base64,