How to cut off an AI agent that has access to your computer
Disclosure: I work on CMDOP, the tool I use as the example here. Letting an AI agent touch your own computer is useful until you want it to stop. Before you hand over access, it is worth knowing which switches you have
Disclosure: I work on CMDOP, the tool I use as the example here.
Letting an AI agent touch your own computer is useful until you want it to stop. Before you hand over access, it is worth knowing which switches you have and what each one does.
Start from read-only
A new agent in CMDOP can only look. Writing files, running commands and seeing the screen are separate switches that you turn on yourself. If you are unsure about an agent, the cheapest control is to never turn the writes on.
Give the agent a lifetime
An agent token can live from 5 minutes to 90 days. If the job runs long you extend it, and when the job is done you revoke it. Your own owner token never opens the agent's door, so a leaked agent token is not a leaked owner account.
Switch 1: revoke the agent
Revoking an agent cuts it off from its next call. Use it when you are done with an agent or stop trusting one.
Switch 2: pause the machine
Pause stops all tool calls on the machine and its running tasks. Only a person sitting at that computer can resume it. Use it when something is going wrong right now.
Check what happened
The server keeps a record of every call with a fingerprint of its arguments, so afterwards you can compare a suspicious call against it instead of trusting the agent's own summary.
The short version
Revoke ends one agent's access from its next call. Pause stops every tool call on the machine and its running tasks, and a person at the computer is the only one who can resume it.
What do you keep switched off by default when you give an agent access to your machine?
Links
- Revoke one agent: https://docs.cmdop.ai/guides/access/revoke
- Pause a machine: https://docs.cmdop.ai/guides/pause-and-presence
- Decide what each agent may do: https://docs.cmdop.ai/guides/access
- CMDOP, the bridge between your AI and your computers: https://cmdop.ai
- The same two switches as a one-page guide: https://cmdop.ai/guides/cut-off-an-ai-agent
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes โ full credit and traffic to the original publisher.