Replies: 1 comment
-
|
Good call raising this through a private channel rather than posting exploit detail here. From a maintainer-process perspective, the safest immediate actions would be:
A robust fix is usually allowlist-based serialization: only pass the fields that the model genuinely needs, preserve provenance/type metadata separately, and avoid dumping full object internals into prompt-visible text. If a field comes from an MCP server or external resource, it should be treated as untrusted content even when the transport itself is authenticated. |
Beta Was this translation helpful? Give feedback.
0 replies
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 agno team,
I might have found a vulnerability in agno's MCP adapter that I'd like to disclose responsibly.
The short version:
agno/utils/mcp.pycallsmodel_dump_json()onEmbeddedResourceobjects returned by MCP tool calls, which serializes all Pydantic fields verbatim into the string fed to the LLM. This can be used maliciously and affects agno 2.6.4I'd prefer to share the full technical details privately and discuss this privately. I noticed the repo doesn't have private security advisory reporting enabled so not sure how to raise this privately
Beta Was this translation helpful? Give feedback.
All reactions