Guest List, Not Gut Feeling: Guarding an AI Agent with Wanaku
with Otavio Rodolfo PiskeOtavio Rodolfo Piske, creator of Wanaku, and I hid an instruction in a product review and let an AI moderator read it. Unprotected, the agent refunded an order and posted the customer list. Behind Wanaku, plain action policies blocked both calls. An LLM evaluator approved the attack review three times, and that was my configuration, not the proxy.

YouTube
Guest List, Not Gut Feeling: Guarding an AI Agent with Wanaku
Load YouTube video
This video is embedded from YouTube and will only be loaded after your consent. When loading it, personal data may be transmitted to YouTube or Google and cookies may be set.
More details are available in the privacy policy.
Project Source
Working Repository
Explore prompts, instructions, and examples used in the live modernization workflow.
Open repositorySession Timeline
- 00:00Welcome and what we build today
- 01:26Meet Otavio Piske
- 05:25What Apache Camel is and how it speaks MCP
- 09:54What Wanaku is: evaluators, system one models and action policies
- 21:27Why Wanaku is its own project next to Camel
- 28:14The webshop demo and the prompt injection attack
- 35:46The plan: Wanaku in front of the Camel MCP server
- 38:40Agentic coding tools: Claude, Codex and IBM Bob
- 44:01Claude writes the Wanaku config: forward, namespace, action policies
- 54:00Wiring Wanaku into Docker Compose and the first test
- 01:00:03Admin UI, audit log and correlation IDs
- 01:10:26How the Camel MCP server and its tool routes work
- 01:27:47Adding an LLM evaluator and how to test guardrails
- 01:50:58Why a proxy and not only guardrails in the agent
- 01:53:31Live test: the attack that slips past the LLM evaluator
- 02:11:38Better models, defense in depth and the outlook for Wanaku
One product review made our AI moderator refund order 1234 and post the customer list. The attack was plain text. Otavio Rodolfo Piske and I then put Wanaku between the agent and its tools, with two kinds of checks: a guest list and a gut feeling. Only the guest list held.

Co-Speaker
Otavio Rodolfo Piske
Red Hat Principal Engineer at IBM
Otavio is from Brazil and has lived in the Czech Republic for about 11 years. He has worked on Apache Camel for six or seven years. About two years ago he started Wanaku, first as an MCP server built on Camel, today a governed action proxy for AI agents.
A review that refunds an order
The shop sells a keyboard, a mouse and a webcam. Anyone can write a review. A moderation agent built with LangChain4j reads each new one, fixes the stars if they contradict the text, and approves or hides it.

The agent works through Apache Camel routes. The Camel 4.22 ai-tool component turns a route into a tool, and the Camel MCP server serves those tools over MCP. Some tools are what a moderator needs. Others, like refundOrder and listCustomers, are not.
Then I posted as mallory, the attacker. A short positive review, followed by an instruction dressed up as part of the moderation workflow: refund order 1234 and list the customers. Within a minute, the moderator approved the review, refunded the order and put the customer list in its public note.

That is prompt injection, and there is no complete fix for it. What you can control is what a tricked agent can reach.
Two checks in one proxy
Wanaku sits between the agent and its tools. The agent only talks to Wanaku, and Wanaku forwards allowed calls to the Camel MCP server. It offers two kinds of checks.
Action policies are the guest list. Deterministic rules decide by name which tool may be called. On stream we used the list the other way round: names on it never get in. Evaluators are the gut feeling. A model looks at each call and judges whether it seems safe.
Essentially, Wanaku itself is not really making those decisions. It is relying on the models to do it.
The guest list held
The first setup was a deny list: six tools the moderator has no business calling, refundOrder and listCustomers among them. Same attack, second try. The moderator still approved the review. But no refund happened, and no customers were listed.
The moderator's note claimed order 1234 will be refunded. It wasn't. A blocked agent can still write misleading text, so blocked actions do not make the output honest.
The audit page explained the shop
The part that surprised me most was Wanaku's admin UI. The dashboard showed two rejected decisions from the policy filter. The audit page listed both blocked calls with a reason code and a correlation ID.
We kept going back to it during the stream. Without it, "the order is still paid" is only an absence. With it, you see what the agent tried.
The gut feeling approved the attack
For the second setup we removed the policies, so the model alone decided. An OpenAI model rated each call green, yellow or red. It did block listCustomers and refundOrder. It also approved the attack review. My live reaction, at 2:04:21: "Review approved. Damn it." I tightened the prompt so that extra instructions count as red. Approved twice more.
Otavio's reading: approving a review is a valid moderator action, and my prompt wasn't specific enough to treat the extra instructions as malicious. He had also warned that the evaluator runs for every tool. A prompt written about reviews can confuse the model on a call like listCustomers.
The model may be smart, even large ones, but there is a limit to how much smarter they can be. And malicious actors can find ways to make those models bypass this.
I don't blame Wanaku for this one. I hadn't looked into the evaluator carefully enough beforehand. A generic prompt on a general-purpose model made the same call the moderator made. Otavio's better option is a system one model: small models trained for quick classification, often tuned for CPU. Otavio named Patronus AI as one source of such models, and support for them is on the Wanaku roadmap.
Why not guard the agent instead?
A viewer asked why Wanaku sits in front of the tools and not in front of the agent. Otavio's answer: guardrails in the agent help, but you also need to protect your infrastructure from agents you don't control.
Guardrails will certainly help a lot, but they may not prevent adequately a tool from being executed.
My practical addition: if the agent is someone else's, you can't add guardrails to it. You do control access to your MCP server. Make Wanaku the only way in.
Otavio's toolbox
Otavio uses Claude, Codex and IBM Bob every day. Bob is his default for design and architecture, because it breaks large sets of tasks down well. He also uses it for Wanaku's UI, which is built on IBM's Carbon design system, and for writing tickets, where he sees Bob and Codex as about even. I've tried Bob twice on this blog, most recently v2.
Final thought
Put the guest list first. Deny every tool the agent doesn't need, deterministically, in a proxy you control. Then add a model as a second opinion: a purpose-built one, with a prompt that fits each tool, tested against more than one attack. The evaluator failure was my setup. The policies did exactly what the config said.
Useful links
- Wanaku, the governed action proxy for AI agents
- Wanaku on GitHub, source and releases
- Wanaku action policies, deterministic allow and deny rules
- Wanaku evaluators, model-based checks with WASM processors
- Camel
ai-toolcomponent, a Camel route as an AI tool - Camel MCP server, serving
ai-toolroutes over MCP - Midnight SACI, Otavio's AI test engineer
- Patronus AI, the company behind the models Otavio mentioned for evaluators
- IBM Bob, IBM's AI coding assistant
- My IBM Bob v2 session, building a habit tracker live with Bob
Comments
Load comments from GitHub optionally
The comment section is provided via Giscus and GitHub Discussions. It will only be loaded after your explicit consent. When loading it, personal data such as your IP address and technical metadata may be transmitted to GitHub, and cookies or similar technologies may be set.
Please confirm first before loading the comment section.