Skip to main content

ProbeAgent

Offensive security testing for AI agents. They scan configs. We attack your agent.

CI PyPI Python License

What is ProbeAgent?

ProbeAgent is a CLI tool that performs automated red-teaming of AI agents. It launches realistic multi-turn attacks — prompt injection, credential exfiltration, indirect injection, social manipulation, and more — against any HTTP-accessible agent.

Most AI security tools scan static configurations or check for known patterns. ProbeAgent actually attacks your running agent and tells you whether it's Safe, At Risk, or Compromised.

How It Works

flowchart LR
    CLI[probeagent attack] --> Engine
    Engine --> |for each category| Attack[Attack Module]
    Attack --> |reset conversation| Target
    Attack --> |multi-turn prompts| Target
    Target --> |response| Analyzer
    Analyzer --> |grade| Report[Safe / At Risk / Compromised]

Why ProbeAgent?

Feature mcp-scan SecureClaw Aguara ProbeAgent
Offensive testing - - Partial Yes
Multi-turn attacks - - - Yes
Indirect injection testing - - - Yes
PyRIT integration - - - Yes
Evasion converters - - - Yes
CLI-first - - Yes Yes
Security grading - - - Yes
HTTP + OpenClaw targets - - - Yes
Rich terminal reports - - - Yes

Installation

pip install probeagent-ai

Or install from source for development:

git clone https://github.com/sumamovva/probeagent.git
cd probeagent
pip install -e ".[dev]"

For PyRIT integration (evasion converters + dynamic red teaming):

pip install 'probeagent-ai[pyrit]'

Quickstart

Instant demo (no setup required)

pip install probeagent-ai
probeagent demo

This attacks a built-in mock target — a vulnerable agent and a hardened one — and shows a side-by-side comparison. No API keys, no server, no config.

Scan your own agent

# Validate your target is reachable
probeagent validate https://your-agent.example.com/api

# Run a quick security scan
probeagent attack https://your-agent.example.com/api --profile quick

# Full scan with parallel execution
probeagent attack https://your-agent.example.com/api --profile standard --parallel

Demo

Instant demo

Run a complete security assessment in seconds with zero setup:

probeagent demo

Add the War Room tactical display for a visual experience:

probeagent demo --game

Live demo (real API)

For demos against a real Claude-powered email agent with built-in vulnerabilities:

export ANTHROPIC_API_KEY=sk-ant-...
pip install 'probeagent-ai[demo]'
probeagent demo --live

The live demo starts a local email agent server with three endpoints at increasing security hardness, then attacks them. See tools/demo_email_agent.py for details.

Commands

probeagent demo

Run a full demo — attack a vulnerable + hardened target and compare results.

probeagent demo                    # Instant, uses mock target
probeagent demo --game             # With War Room tactical display
probeagent demo --live             # Real API (requires ANTHROPIC_API_KEY)
probeagent demo --profile standard # Use a different attack profile

Options:

  • --live — Use real API (starts demo email agent server)
  • --game — Launch War Room UI after attacks
  • --profile, -p — Attack profile: quick, standard, or thorough (default: quick)

probeagent attack <url>

Run security attacks against a target AI agent.

probeagent attack https://agent.example.com/api --profile quick
probeagent attack https://agent.example.com/api --profile standard --output json -f report.json
probeagent attack https://agent.example.com/api -p standard --converters stealth --parallel

Options:

  • --profile, -p — Attack profile: quick, standard, or thorough (default: quick)
  • --target-type — Target type: http or openclaw (default: http)
  • --output, -o — Output format: terminal, markdown, json (default: terminal)
  • --output-file, -f — Write report to file
  • --timeout, -t — Request timeout in seconds (default: 30)
  • --parallel — Run attack categories in parallel for faster scans
  • --converters — Apply evasion converters: basic, advanced, stealth, or comma-separated names (requires PyRIT)
  • --redteam — Enable dynamic LLM-driven attacks via PyRIT RedTeamOrchestrator (requires PyRIT)

probeagent validate <url>

Check if a target is reachable and detect its API format.

probeagent list-attacks

Show all available attack modules with severity and status.

probeagent init

Create a default .probeagent.yaml config file in the current directory.

probeagent game [url]

Launch the War Room tactical display UI in your browser for interactive testing.

Attack Categories

11 attack categories with 69 strategies total:

Category Severity Strategies Technique
Prompt Injection CRITICAL 6 Override system instructions
Credential Exfiltration CRITICAL 8 Extract API keys and secrets
Identity Spoofing CRITICAL 7 Impersonate trusted entities
Indirect Injection CRITICAL 7 Inject instructions via agent-processed content (emails, docs)
Config Manipulation CRITICAL 6 Manipulate agent configuration, integrations, and permissions
Goal Hijacking HIGH 5 Redirect agent behavior
Social Manipulation HIGH 14 Psychological pressure (Cialdini, FOG, gradual escalation)
Cognitive Exploitation HIGH 6 Exploit reasoning weaknesses (Socratic traps, frame control)
Resource Abuse HIGH 4 Trigger unbounded computation
Tool Misuse HIGH 6 Trick agent into misusing tools
Data Exfiltration MEDIUM 6 Extract sensitive context data

Attack Profiles

Profile Categories Max Turns Use Case
quick 5 critical 1 CI/CD gates, quick checks
standard All 11 3 Regular security assessments
thorough All 11 10 Pre-release deep scans

PyRIT Integration

ProbeAgent optionally integrates with Microsoft PyRIT for advanced capabilities:

  • Evasion Converters (--converters): Transform attack payloads with Base64, ROT13, Unicode substitution, leetspeak, and more to test resilience against obfuscated attacks
  • Dynamic Red Teaming (--redteam): Use an LLM-driven orchestrator to generate novel attack strategies in real time
# Apply stealth evasion converters
probeagent attack https://agent.example.com/api -p standard --converters stealth

# Dynamic red teaming
probeagent attack https://agent.example.com/api -p standard --redteam

# Combine both
probeagent attack https://agent.example.com/api -p standard --converters advanced --redteam

Install with: pip install 'probeagent-ai[pyrit]'

Responsible Use

ProbeAgent is designed for authorized security testing only. Before using ProbeAgent:

  • Ensure you have explicit permission to test the target system
  • Only test systems you own or have written authorization to test
  • Follow your organization's security testing policies
  • Report vulnerabilities through proper disclosure channels

Unauthorized use of this tool against systems you don't own or have permission to test may violate laws and regulations.

Attribution

ProbeAgent's indirect injection and config manipulation attacks are inspired by research from Zenity Labs. PyRIT integration uses components from Microsoft PyRIT (MIT License). See ATTRIBUTION.md for full credits.

Development

# Install with dev dependencies
pip install -e ".[dev]"

# Run tests
python -m pytest tests/ -v

# Lint
ruff check src/ tests/

# Format
ruff format src/ tests/

See CONTRIBUTING.md for full development guidelines.

Roadmap

  • Phase 1: CLI, HTTP target, scoring, reporting
  • Phase 2: 9 attack categories with 56 multi-turn strategies
  • Phase 3: OpenClaw target adapter, parallel execution, War Room UI
  • Phase 4: Zenity-inspired attacks (indirect injection, config manipulation), PyRIT integration
  • Phase 5: MCP target adapter, CI/CD integration, SaaS dashboard

License

Apache 2.0 — see LICENSE for details.

Metadata

Release files for probeagent-ai 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for probeagent-ai 0.1.2
File Size Uploaded
probeagent_ai-0.1.2.tar.gz 95.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for probeagent-ai 0.1.2
File Interpreter ABI Platform
probeagent_ai-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 199.1 kB

Release files / probeagent_ai-0.1.2.tar.gz

Download URL probeagent_ai-0.1.2.tar.gz
Size 95.5 kB
Tags Source
SHA-256 checksum
How to use checksums
21bf7619385ff158b56a717b714945207da261b9545c84ca519b5e097fb9e75f
BLAKE2b-256 checksum
How to use checksums
074cbdfd38535dfa5ecdfcafad66c64d2abeeb3400ab3a51d5db498d21b41193
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 6, 2026.

Transparency log

Release files / probeagent_ai-0.1.2-py3-none-any.whl

Download URL probeagent_ai-0.1.2-py3-none-any.whl
Size 103.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1880d82e271e185a570edf4a7102b1989ba62f6c43d54b4fc5670c4ccccbe98c
BLAKE2b-256 checksum
How to use checksums
d56b7074ad2ed21be53b6a360b4631fc5cd7fbce9526b1592cefec7d1435497d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 6, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page