An AI agent on a developer laptop or a build server can read almost everything its user can. When it goes wrong, through a mistake a prompt injection or goals of its own, it behaves like an insider In November, Jan Wehner and Jam Kraprayoon of IAPS published Honeypots for AI Agent Insider Threats which argues that deployers should plant traps for exactly this case.
I build an open-source tool that governs agents on Linux hosts and reading the report made me notice something. Some of the best traps are already on every machine They are not fake They are the real secrets an honest agent has no reason to touch.

What the report proposes

A trap that is not a lie

Ask a different question: which files does an agent never need for its task? On most machines the answer is easy. An agent fixing a bug has no reason to open ~/.ssh, ~/.aws or /etc/shadow. It also has no reason to read a .env file that belongs to another project.
These are the files an injected or misbehaving agent goes looking for first. So they already work as tripwires, with three useful differences from a planted decoy:

  • Nothing to spot. The report's main worry is an agent that sees through a fake. A real secret file is not fake, so there is nothing to see through.
  • No deception needed. The rule can be written down openly: these places are off limits, and touching one stops you. An agent that knows the rule and reaches for the file anyway tells you something. An agent that does not know it gets stopped all the same.
  • Nothing to maintain. There are no fake credentials to rotate and no decoy server to keep believable.

The trade-off is that the files are real, so a read cannot be allowed to succeed. You do not get to watch where a stolen key would go. You get detection and a hard stop, not a full chain of evidence.

How this works in Provenza today

Provenza has a sensor that runs on Linux hosts and uses BPF LSM, a kernel hook that can refuse an action before it happens. For every agent it governs, the sensor keeps a built-in list of places the agent may not read:
• /etc/shadow and /etc/gshadow
• ~/.ssh and ~/.aws in every home, root's included
• any file named .env outside the agent's working directory, unless the agent owns it and does not run as root
When a governed agent tries to read one of them:

  1. The kernel refuses the read, so the agent never sees the contents.
  2. The sensor reports a blocked event with the path.
  3. Provenza opens a critical incident.
  4. The agent is quarantined at once: its processes are frozen. An organization can switch automatic containment off. Then the incident is still raised, but nothing is frozen. The places are given to the kernel by inode, not by path. A symlink, a hard link or a bind mount does not lead around them. The agent's own .env in its working directory stays readable, because loading its own settings is normal work. The same list also stops agents from changing things like cron, systemd units and sudoers. That part is about stopping an agent from persisting or escalating. It is not a trap, but the response is the same.

Limits, and what comes next

This is not a replacement for the report's ideas. It covers detection well and deterrence a little. It does not give the rich evidence a decoy chain can, and it does nothing about the sting operations the authors describe.
It also has plain limits:
• It only knows the places on its list. Like any trap, it catches what was anticipated.
• It needs Linux with BPF LSM enabled. Without it, the sensor reports that the hooks are missing.
• An agent that legitimately needs SSH or AWS cannot read those keys. It has to go through Provenza's egress proxy, which holds the credential so the agent never sees it.
• An agent running as root still has root's other powers outside these places.
What we plan after our 1.0 release is to let admins add their own paths: a folder of customer exports, a key used by one team, or a decoy if they want one. The built-in list will stay on for everyone and cannot be edited or removed. Admins will only be able to add to it, because Provenza cannot know which of your files matter most to you.

Closing

The report made me see a feature we already had in a new light. Before you build fake secrets, it is worth asking which real ones your agents should never touch. Those make good tripwires, and you do not have to lie to the agent to use them.
I would like to hear from people running agents in production. Which places on your machines would you add to such a list?

Links