Categories
Self-Hosted Prompt Injection Testing OWASP LLM Top 10 AI Agent Security LLM Red Teaming SARIF Reporting CI Security Gate Agent Trace ExplorerDeveloper links
AgentShield
An agent that obeys a sentence hidden in a quarterly report is a security hole; AgentShield replays the attack, records every tool call, and blocks it. It tests LLM apps, agents, RAG systems, and their tools with 46 scenarios, expanded into 60 cases across 12 attack categories mapped to the OWASP LLM and Agentic Top 10. Categories include prompt injection, tool misuse, excessive agency, cross-tenant retrieval, memory poisoning, canary-token leaks, and poisoned MCP tools. Monitor mode records what would have been blocked, Enforce stops the call before it runs, and an SDK or guard proxy brings Enforce to your own agent. Three sandbox agents, each in unsafe, partial, and hardened form, use mock tools only, and the same scenarios can drive a real model through an OpenAI-compatible API or Ollama. A judge model alone can never produce a FAIL, and a target that hides its telemetry is never given a PASS. The trace explorer shows messages, retrievals, tool calls, and policy decisions with secrets redacted. Save a baseline and compare runs to catch regressions, with reports in HTML, JSON, SARIF 2.1.0, and Markdown, a generated pytest suite, and a CI gate. Eight screens come in dark or light and in English or Russian. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Benefits
- Tests what the agent actually did
- Findings come from executed tool calls, data touched, and leaked canary tokens, with the full trace and the policy rules that fired, instead of guessing from the model's wording.
- Block attacks before tools run
- Enforce mode stops a tool call before it executes, while Monitor mode records would-block violations, so you can compare the same attack with and without protection.
- Honest scores, no false comfort
- A judge alone never produces a FAIL, targets without telemetry get INCONCLUSIVE rather than PASS, and benign controls score over-blocking, so a clean result means something.
- Fits your CI pipeline
- Exit codes, SARIF 2.1.0 for GitHub Code Scanning, baselines with regression checks, and a generated pytest suite let every pull request run the security scenarios.
Features
- Forty-six attack scenarios
- YAML scenarios with state, fixtures, and repeats cover twelve categories plus benign controls, mapped to OWASP LLM and Agentic Top 10 risk IDs.
- Monitor and Enforce policies
- A policy engine with JSON Schema rules, intent tracking, authorization, and taint checks, plus an in-process SDK and a guard proxy for agents in any language.
- Model and agent connectors
- Built-in sandbox agents, black-box HTTP agents with declared telemetry, and OpenAI-compatible or Ollama models, behind a host allowlist with no redirects and a request budget.
- Trace explorer and reports
- Traces carry OpenTelemetry GenAI attributes with secrets redacted, and reports export as HTML, JSON, SARIF 2.1.0, Markdown, and a generated pytest suite.
- Dashboard and baselines
- Category scores, run history, model and version comparison, and baseline regression checks on a React dashboard with dark and light themes.
- Python, FastAPI, React stack
- Python 3.11 with FastAPI, SQLAlchemy, a Typer CLI, SQLite or PostgreSQL, thread or Redis queues, and a React, TypeScript, Vite, and Tailwind web app, shipped with Docker Compose.