A hands-on test of turning a 1C agent via prompt injection
The author tested prompt injection on a 1C agent they built themselves; 51 attack cases showed that instructions hidden in data such as document comments and buyer emails were executed by some models as user instructions. When Claude Opus 5.5 used Claude Code as an MCP client, it executed foreign instructions 0 times in 139 runs; the local Gemma 4 26B-A4B in LM Studio did so 29 times in 144 runs, dropping to 7 times after server rules were manually written into the system prompt; and Gemma in the bot within 1C did so 3 times in 21 runs. Manual confirmation blocked all document changes, but the email tool was connected to the MCP client, bypassing the 1C preview (a stub function in the test, with no real data leaked); an attack fabricating a debt of 1.5 million rubles required no tool calls at all, and the lie remained in the chat history after the comment was deleted.