Check AI agents for confused deputy issues

AI and LLM (prompt injection)Discovery

Written with a model's help from “How an Email No One Opened Still Leaked Someone’s Gmail Through ChatGPT” by L4ZZ3RJ0D on l4zz3rj0d (Medium). Read the writeup before relying on it.

When testing AI-integrated products, look for cases where an agent reads untrusted content, such as an email or a web page, and can also take actions, like sending requests or writing files. Check if the agent can distinguish between instructions from its user and data it reads from untrusted sources. If not, it may be possible to inject malicious instructions, like a hidden URL in an email, that the agent will follow. This can lead to unintended actions, such as leaking sensitive data to an attacker-controlled server. To find such issues, trace the paths where the agent reads untrusted content and where it takes actions, and look for any lack of separation between user instructions and read data.

Follow #ai-llm, #information-disclosure or #prompt-injection for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.