DeepTeam is a framework to red team LLMs and AI agents.
Fix bugs
penguine2ed50f90d39d
diff --git a/deepteam/cli/main.py b/deepteam/cli/main.pyindex e631872e..e65c235f 100644--- a/deepteam/cli/main.py+++ b/deepteam/cli/main.py@@ -10,18 +10,34 @@ from .model_callback import load_modelfrom deepteam.red_teamer import RedTeamerfrom deepteam.vulnerabilities import (+ # Data Privacy+ PIILeakage,+ PromptLeakage,+ # Responsible AIBias,Toxicity,- Misinformation,+ # Security+ BFLA,+ BOLA,+ RBAC,+ DebugAccess,+ ShellInjection,+ SQLInjection,+ SSRF,+ # SafetyIllegalActivity,- PromptLeakage,- PIILeakage,- ExcessiveAgency,- Robustness,- IntellectualProperty,- Competition,GraphicContent,PersonalSafety,+ # Business+ Misinformation,+ IntellectualProperty,+ Competition,+ # Agentic+ GoalTheft,+ RecursiveHijacking,+ ExcessiveAgency,+ Robustness,+ # CustomCustomVulnerability,)from deepteam.attacks.single_turn import (@@ -58,6 +74,15 @@ VULN_CLASSES = [Competition,GraphicContent,PersonalSafety,+ BFLA,+ BOLA,+ RBAC,+ DebugAccess,+ ShellInjection,+ SQLInjection,+ SSRF,+ GoalTheft,+ RecursiveHijacking,]VULN_MAP = {cls.__name__: cls for cls in VULN_CLASSES}diff --git a/t.py b/t.pydeleted file mode 100644index 865fe467..00000000--- a/t.py+++ /dev/null@@ -1,23 +0,0 @@-from openai import OpenAI-from deepteam import red_team-from deepteam.red_teamer import RedTeamer-from deepeval.models import GeminiModel--# from deepteam.attacks import *-# from deepteam.vulnerabilities import *-from deepteam.frameworks import OWASPTop10---async def model_callback(input: str) -> str:- return "I can't say"--model = GeminiModel(- model_name="gemini-2.5-pro",- api_key="AIzaSyCpPMca6-qOi3A-cXASD3ZlPuYqWbOoXbs",- temperature=0,-)--red_teamer = RedTeamer(simulator_model=model, evaluation_model=model)-risk_assessment = red_teamer.red_team(- model_callback=model_callback, framework=OWASPTop10()-)