Inbound Rules
Where DLP guards what an agent sends out, Inbound Rules guard what comes back in. They are the inbound response gate: rules that evaluate tool responses before they reach the agent — stripping prompt injection, capping oversized payloads, and gating untrusted content. Open Policies → Inbound Rules.
Inbound Rules — the response gate, its scope filter, and the catalog templates for common inbound protections.
Why this layer exists
A tool response is untrusted input. A malicious or compromised MCP server (or a poisoned document) can return text that tries to hijack the agent — the classic indirect prompt injection. Inbound Rules intercept that response and clean or block it before the model ever sees it. This is AOC-1: Inbound Injection in the agentic-security model.
Scope and stats
Rules can be scoped Tenant-wide, Per-agent, or Per-tool (the scope filter, top-right). The stat cards track Rules Active, Inbound Responses Scanned (24h), Modifications (transformations applied), and Pass-throughs (responses left unchanged).
The catalog
Start from a ready-made template rather than authoring from scratch:
| Template | What it does |
|---|---|
| Strip prompt injection | Markdown / hidden instructions in tool responses are stripped before reaching agents. |
| Block oversized payload | Cap inbound responses (e.g. at 256 KB) to prevent context-window flooding. |
| Quarantine image content | Suspicious image inclusions are held in quarantine for review. |
Use Create rule to author a custom inbound rule, or install and scope a template. Every fire is recorded in the Matched events audit trail on this tab.
Managing rules
- Pick a scope (tenant / agent / tool) for the protection.
- Install a catalog template or Create rule for a custom transformation.
- Watch Modifications vs Pass-throughs to see how often the gate is acting.
- Check the Matched events trail (and the Decision Trace) to see exactly what was stripped or blocked.
See Inbound Rules for the detection model and Outbound Injection Scanner for the complementary outbound direction.