Tool Poisoning
In this article
- Explain how a tool's description can steer the model or leak data through text the user never reads.
- Spot a rug pull by comparing an approved tool definition with a changed one.
- Sketch a registry entry and a loader check that refuse a tool whose definition changed since approval.
- Name the risks a tool trust policy leaves open.
- Terms defined here: tool poisoning.
Overview
Your team adds a third-party tool to its email assistant: it summarises a web page, someone reviews it, and it works well for a week. Then, with no change on your side, the assistant starts copying a private email thread into every summary request it sends to that tool's server. Nobody edited your code or your prompt.
The change came in through the words that describe the tool. You will see how a few hidden words in a tool's description steer the model, what such an attack looks like when it arrives as an update, and how a small check at load time refuses the changed tool before the model ever reads it. You will also see what that check cannot catch.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Text the model obeys
- The update nobody saw
- What the model does with 1.4.1
- Pin it, hash it, refuse it
- Reading the diff
- What the check cannot see
- The rule at work
- Common mistakes
- In production
- Sources
- Check yourself, 13 questions