Prompt Injection Defense
01Deterministic detectors and optional AI security intelligence analyze untrusted content and tool outputs for instruction-override attempts.
Product
Aegis sits between autonomous agents and the tools they use. Every action is evaluated before it executes — so prompt injections, rogue agents and malicious tool responses cannot cause unauthorized harm.
Agents call Aegis before executing any tool action — via the Python SDK, REST API or the MCP Security Gateway.
Permission, trust, policy, risk and threat engines run independently of the LLM, with strict precedence and fail-closed behavior.
ALLOW executes, BLOCK stops the action, REVIEW pauses it for a human decision — every outcome lands in the audit trail.
The pipeline
Security evaluation is decoupled from the LLM entirely. Decisions are reproducible, reasons are recorded, and failures fail closed.
See how it worksACTION
Agent intent is intercepted
CONTEXT
Agent, tool and session verified
THREAT ANALYSIS
Deterministic detectors run
RISK SCORE
Explainable 0–100 assessment
POLICY
Rules evaluated with precedence
DECISION
ALLOW · REVIEW · BLOCK
Defenses
Deterministic detectors and optional AI security intelligence analyze untrusted content and tool outputs for instruction-override attempts.
Dangerous operations, unauthorized tools and broad-scope targets are stopped before execution.
Sensitive parameters are redacted before logging — keys, tokens and credentials never enter the audit trail in plaintext.
Agent identity, permissions, trust classification and user delegation are verified on every single call.
Components
aegis_sdk — drop-in client for Python agents with typed errors for BLOCK and REVIEW outcomes.
Zero-trust interception for any Model Context Protocol server — no server-side changes required.
Approvals, agent status and attack scenarios from inside the IDE.
Approvals, audit exploration, policies and threat monitoring in one console.
Built-in adversarial scenarios to validate controls against prompt injection, exfiltration and destructive actions.
Production-ready docker-compose with PostgreSQL and Redis.