AgentLeak

•
11
•

Audit and detect sensitive data leaks across AI agent execution channels, tool calls, shared memory, and logs with deterministic privacy scoring.

AgentLeak is an open-source privacy-testing framework designed to detect sensitive data exposure across internal AI agent execution channels, including tool calls, shared memory, inter-agent communications, and system logs. Operating entirely locally without third-party LLM dependencies, it calculates a deterministic AgentRisk index aligned with regulatory frameworks like GDPR, HIPAA, and the EU AI Act. With support for major agent frameworks, an interactive local dashboard, automated red-teaming plugins, and seamless CI/CD integration, it empowers developers to catch obscured or internal data leaks before deploying agents to production.

Key Features

0111 GitHub stars
02100% local, privacy-first detection engine with pattern matching, NER, and support for encoded leaks
03Deterministic AgentRisk scoring aligned with compliance standards including GDPR, HIPAA, and the EU AI Act
04Multi-channel privacy auditing across tool calls, inter-agent messages, shared memory, and logs
05Automated red-teaming suite featuring dozens of attack classes and multi-turn delivery strategies
06Pluggable integrations for major agent frameworks, MCP, CI/CD pipelines, and an interactive local UI

Use Cases

01Implementing CI/CD privacy gates to block AI agent deployments that expose credentials, PII, or internal keys
02Auditing multi-agent architectures to visualize secret propagation and identify where internal disclosures originate
03Red-teaming AI agent tool usage against injection attacks, jailbreaks, and encoded data leakage vectors