Open
Conversation
Add a new generator wrapping the NVIDIA Inference API (OpenAI-compatible endpoint at inference-api.nvidia.com). Used by the AgentBreaker probe as the default red team model. Co-authored-by: Cursor <cursoragent@cursor.com>
Multi-turn red-team probe that systematically attacks tool-using LLM agents to identify security vulnerabilities. Key features: - Analyzes each tool for exploitable vulnerabilities using a red team model - Auto-discovers agent purpose and tools if not configured - Configurable parallelism for concurrent tool attacks - Per-tool exploit verification with confidence scoring - Custom detector (AgentBreakerResult) for garak evaluator integration Includes 41 tests (33 probe + 8 detector) covering config loading, auto-discovery, attack orchestration, tool ordering, early stopping, postprocess flag propagation, and verification parsing.
Contributor
|
DCO Assistant Lite bot: I have read the DCO Document and I hereby sign the DCO You can retrigger this bot by commenting recheck in this Pull Request |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent Breaker: Multi-turn red-team probe for agentic LLM applications
Adds a new probe (
agent_breaker.AgentBreaker) that performs automated security testing of agentic LLM applications — systems that use tools (e.g. code execution, database queries, file access, API calls).A red team model analyzes each tool for vulnerabilities, generates targeted exploits, attacks the agent in multi-turn conversations (learning from failures), and verifies attack success.
Key features:
max_parallel_tools(default: sequential)OWASP LLM Top 10: LLM01 (Prompt Injection), LLM07 (Insecure Plugin Design), LLM08 (Excessive Agency)
Verification
python -m garak --config scan_config.yamlpython -m pytest tests/probes/test_agent_breaker.py tests/detectors/test_detectors_agent_breaker.py -vagent_breaker.AgentBreakerResult: FAIL ok on X/YEnvironment notes