All tiny agents
Injection

Injection Gate

Three guards, three emails, one tool-using agent. See which one a Rule of Two gate stops.

What it does

Puts three guards (none, a keyword filter with a late detector, and a Rule of Two gate) in front of the same tools and runs three emails through them. The inbox, files and model are mocks.

The guardrail

A Rule of Two gate in front of tool calls.

prompt injectionrule of twotools

Run it

git clone https://github.com/bobbyhalljr/tiny-injection-gate.git && cd tiny-injection-gate
npm install
npx tsx gate.ts
Repo
tiny-injection-gate
Language
TypeScript
Stars
0
Price
Free