Support smoke tasks
Executed tool objectives met01 / TRUST AT THE TOOL BOUNDARY
Let agents act.
Keep permissions in control.
What happens when a retrieved document asks an AI agent to break the rules? Explore the boundary between a proposal and an authorized action.
SCRIPTED · NO LLM
A poisoned refund guide
These steps replay output generated by the Python policy engine. The tool request is predetermined; this is not evidence that a model followed the attack.
Inspect the complete replay JSON
RECORDED LOCAL INFERENCE · 25 OCT 2026
Evidence, including the failures.
Model: Qwen3 1.7B · local CPU · Ollama. These are saved runs, not live experiments. Automated tests and scripted checks are separate from model performance.
Initial AgentDojo pilot
Official task utility · no tool callsFollow-up clean tasks
Official task utility · still unreliableInspect a recorded experiment
Download original JSON ↗View original report
Policy checks: security and utility
Handwritten scenarios executed by the policy engine. These are scripted development checks, not real-model attack rates.
| Policy | Legitimate tasks | Violations |
|---|
The strict ₹5 cap blocks a legitimate ₹15 refund. Blocking more actions can reduce usefulness.
YOUR PROJECT, IN YOUR WORDS
A clear interview story.
“I’m studying how application permissions can limit harmful tool actions when an AI agent reads untrusted content.”
What have we built?
Three synthetic support tools, ownership and refund checks, retry protection, a bounded local-model loop, paired evaluations, and a pinned AgentDojo adapter. The model does not choose the user's identity or permission policy.
Why not just tell the model to ignore attacks?
A prompt asks the model to behave. Enforcement checks the proposed tool action before execution. Compare both under the same tasks and attacks to measure their effects.
What does this not solve?
A wrong ₹6 refund can fit within a ₹20 limit. Authorization alone cannot prove user intent. This project also has no broad benchmark success or novel defense claim yet.
What should I say about the results?
The model passed three simple support tasks. One attack failed against every mode, so it showed no defense advantage. The banking benchmark remains unreliable, even on clean tasks. Those failures are preserved.
What is next?
Establish reliable clean-task performance with a free model suitable for available hardware. Then repeat matched attack comparisons, expand held-out cases, and measure lost utility, latency and cost.