Repository navigation
adk-ifc-guard: taint-tracking plugin for ADK sub-agent handoffs #8462
Nikhilbharti284
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi ADK team,
I built a small open-source plugin called adk-ifc-guard, entirely on my phone.
The idea: if an agent reads untrusted content (a web page, an email, an MCP tool output) and then hands work to a sub-agent, the sub-agent may not know that content was untrusted. This plugin carries an HMAC-signed taint token across the handoff and blocks sensitive tools (deploy, bash, email) once the session is tainted. It also decodes Base64, Hex and hidden Unicode TAG characters before checking.
It has zero dependencies and 20 tests pass, including forged-token and symlink-escape cases.
Repo: https://github.com/Nikhilbharti284/adk-ifc-guard
I'd really appreciate feedback on whether the BasePlugin + state-based propagation approach makes sense. Thanks!

All reactions