RedHub AIRedHub AI
Tool Gate · How it works

How the gate works

How the Indirect Prompt-Injection Exposure gate works

This tool grades an AI agent's exposure to indirect prompt injection. It scores 6 weighted controls into a 0–100 number — then a gate that can only make the verdict worse.

The 6 weighted controls

01Input / instruction separationwt 16
02Tool & retrieved output treated as untrustedkill-chainwt 20
03Least-privilege tool scope (blast radius)kill-chainwt 18
04Output validation before downstream usewt 14
05Human-in-the-loop on high-impact actionskill-chainwt 18
06Egress / exfiltration controlswt 14
CONTAINED
score 75+
HARDEN
score 50+
HIGH EXPOSURE
below floor
Kill-chain · worsen-only

When all three kill-chain controls — untrusted output, least-privilege scope, and human-in-the-loop — are open or only partial together, an injected instruction can enter, act, and go uncaught. HIGH EXPOSURE regardless of the score; close any one link and it releases.

72/100
HIGH EXPOSURE

Why: The agent scores 72 — a HARDEN band. But all three kill-chain controls are only partial at once: untrusted output can enter, an unscoped tool can act, and no human is in the loop to catch it. The chain is open end to end, so it's HIGH EXPOSURE.

Fix firstTreat tool & retrieved output as untrusted — the first link in the kill-chain; close it so injected instructions can't enter.

A high score didn’t save it. The score is context; the gate is the answer — and it names the one thing to fix first. Grades the agent's design, not people. Not a scanner or red-team.