Agent security 101, lesson 5
Plug-ins you didn't write
Every plug-in, connector or skill you add is written by someone else and works with your agent's keys. This lesson gives you five checks to run before you install one, and after it updates.
Every example below changes to fit what you pick. The businesses are made up for teaching.
The picture, one step at a time
Each box is one stage. The picture lights up as you scroll.
The plug-in check, from who made it to the version you lock
1Who made it
A name you can look up, a real home page, and a history of people using it.
2The keys it asks for
No more than its job needs, and look before change.
3Where it runs
On the maker's server, or as a program on your own computer, next to your files.
4Whether it can change
Its description and its code can change after you install it. The description is words your agent reads.
5Pinned to what you checked
Locked to one version, so an update waits until you have read what changed.
Installing it means trusting whoever wrote it.
Step 1 of 6
Someone else's code, inside your agent
A plug-in, a connector, an MCP server or a skill each adds tools or instructions to your agent. MCP, the Model Context Protocol, is a common way to plug tools into an AI app. A skill is a folder of instructions, sometimes with small programs, that an agent can load. Say you add one to your agent for answering customers. Someone else wrote it, and you are trusting them with what your agent can reach.
Step 2 of 6
Check who made it
Look for a name you can look up, a real home page and a history of people using it. Be wary of something brand new, unsigned, or with a name one letter off a well-known one. A plug-in from the company whose product it connects to is usually a safer start.
Step 3 of 6
Check the keys it asks for
The set-up screen lists what it wants to reach. Read it. Lesson 3's rule applies: no more than its job, and look before change. A plug-in that asks for more than its job is telling you something.
Step 4 of 6
Check where it runs
Some plug-ins run on the maker's servers. Others install as a program on your own computer. A program on your computer can usually reach whatever you can reach there: your files, and anything you are signed in to.
The MCP specification itself says: "Tools represent arbitrary code execution and must be treated with appropriate caution." It also says tool descriptions should be treated as untrusted unless they come from a trusted server.
A plug-in installs as a program on your laptop. What can it usually reach?
Step 5 of 6
It can change after you install it
Every tool has a description, words that tell the agent what it does and how to use it. The agent reads those words, so they can carry a hidden instruction, just like an email in lesson 2. And the maker can change them, and the code, after you have said yes.
In April 2025 researchers at Invariant Labs showed hidden instructions placed in an MCP tool's description, unseen by the user but read by the model. They warned that a server can change a tool's description after you have approved it, and called that a "rug pull".
Step 6 of 6
Pin it, and read what changed
Pinning means locking a plug-in to the version you checked, so it cannot update on its own. When a new version comes, read what changed, the keys and the description, before your agent uses it. Then keep a short list of what each agent has installed, and remove what nobody uses.
Your connector has a new version with a changed description. What do you do?
Which check does it fail?
Here are four plug-ins someone suggests for your business. Pick the check each one fails first.
1A "free shipping labels" connector, published by an account with no name, no website and two weeks of history.
2A plug-in that writes replies to product reviews asks to read, change and delete your orders and customers.
3A connector updates itself every night, and its tool descriptions are a little different each time.
4A stock-counting skill runs a setup script on the laptop where you also stay signed in to the shop's payments.
0 of 4 right so far, 4 to go.
A plug-in check
This is what you keep: the checks to run before you install a plug-in, connector, MCP server or skill, and every time it updates.
A plug-in check
- Who made it? A name you can look up, a real home page and a history of use. Watch for names one letter off a well-known one.
- What keys does it ask for? No more than its job, and look before change.
- Where does it run? On your own computer, it can reach what you can reach.
- Can it change after you install it? Its description is words your agent reads.
- Is it pinned? Lock it to the version you checked, and read what changed before you update.
- Keep a list of what each agent has installed, and remove what nobody uses.
Install a plug-in the way you would let in a contractor: know who they are, what they can open, and when anything changes.
Next: That's the course. Want a second pair of eyes? The free Agent Safety Check on the consulting page looks at what your business shows in public.