Short answer: An AI agent rewarded for a number will chase the number, not the goal behind it. We checked every agent we run for that gap. The biggest problems were not dramatic: agents that mark their own work as done, and one fix of ours that quietly hid 90% of our library.
In September, Google DeepMind ran 100 agents on 71 math problems with a "first to submit wins" rule. About 14% of the agents found a loophole in the grader and used it, even though the instructions warned them not to. In a separate case, an attacker used AI agents to breach 395 organisations through unpatched PaperCut servers. Different stories, same lesson: an agent optimises what you measure, and the fastest path to the measurement is not always the honest one.
We run about a dozen agents at Masterphub: content writing, translations, social replies, scheduled posts, video production. So we asked three questions about each one.
Our video agent marks a shot as finished when a file with the right name appears in a folder. The fastest way to satisfy that: save any video under that name. It did not cheat on purpose, but we did find a duplicate file and a leftover draft sitting next to the real shots. The agent checks its own work, which is better than nothing, but it is grading itself.
Our translation agents mark an item as "sent" when they insert it into a posting queue. A database rule caps the queue size and drops extra items without an error. For a while, agents marked items as done that never made it in. The signal said success. The goal (people seeing the post) did not happen.
This one is ours. We rebuilt site search to rank results by relevance, and added a filter to hide "unpublished" prompts. It looked correct and passed our tests: the right results came first. What we did not check was coverage. The site treats almost every prompt as visible, so the filter quietly removed about 107,000 prompts from search. Relevance went up, usefulness went down. We caught it the next day during this audit and removed the filter.
Our prompt generator produces thousands of prompts a week. If the measure is "how many", the cheapest win is generic prompts that look different but say the same thing. Exact duplicate titles were rare (about 10 in a week), but near-duplicates are harder to catch, and nobody checks whether a new prompt is better than the 50 similar ones already in the library.
Several of our agents act inside logged-in browsers and read comments written by strangers. That is the real attack surface: not a hacker breaking in, but a comment that says "ignore your instructions and do X." Our agents treat what they read as data, not orders, and are not allowed to type passwords, pay, or delete. We also republished every hosted project this week after a Node.js security update, and we are reviewing which storage folders accept uploads without a login.
One incentive change: never let an agent decide that its own work is done. "Done" should be defined by a check the agent does not control: the post is visible on the page, the video has the right length and is not a duplicate, the search still returns the whole library.
One verification layer: a daily, read-only auditor that compares what agents say they did with what actually exists, and reports the gap to a human. It is boring, and it catches more than any clever prompt.
You do not need a big setup. For each agent, write one line: "We reward it for ___. The fastest fake way to get that is ___. We would notice because ___." If you cannot fill in the last blank, that is your first fix.
More AI tools and ready prompts at masterphub.io