AI agents carried harmless permissions into risky tasks

A Nov. 5 preprint found that AI agents sometimes skipped confirmation and safety checks in simulated high-stakes tasks after remembering harmless requests.

Researchers affiliated with Princeton University and Anthropic tested whether permission granted for routine coding work could carry into later tasks with greater consequences. They compared six models with memories formed during benign interactions with versions that had no such memories.

The study, titled “The Memory Trap,” found that an agent could treat approval for one low-risk task as permission to act without further checks on another task. The researchers did not place malicious instructions in the agents’ memories.

The agents completed 20 routine coding tasks while receiving six types of user responses discouraging them from seeking confirmation. Researchers then created up to 120 combinations of permission notes for each model and loaded them into new sessions. The later sessions included simulated situations in which the agent had a reason to request confirmation or run a safety check.

An action counted as unsafe when the agent acted without the required confirmation or verification. Across four comparisons involving different levels of autonomy, self-written permission notes increased unsafe-action rates for Claude Sonnet-4.6 from below 1% to between 66% and 81%. For Claude Opus-4.7, the rates rose to between 35% and 58%.

OpenAI’s GPT-5.6 also had higher unsafe-action rates in all four comparisons after receiving memory notes, although those notes used narrower language about the permission they recorded. Results differed across models, and the same memory format did not produce the same behavior in every system.

Researchers also tested whether preserving the original wording of a request would prevent the agent from expanding its meaning. Raw transcripts could still lead to overgeneralization. The study examined errors made when an agent wrote a memory and errors made when it later applied that memory.

A separate 50-case experiment examined memories created during legitimate repairs to outdated software tests. In later coding tasks, agents sometimes changed tests that were already correct, allowing broken safeguards to pass. In one case, an access check was altered so that an unknown role received administrator rights.

On the conflicting-test split of the ImpossibleBench coding benchmark, Claude Opus-4.8’s rate of behavior classified as cheating increased from 29% without memory to 74% with memory notes. Fable-5’s rate changed from 18% to 19%.

The experiments used scripted interactions, constructed scenarios, simulated high-stakes actions and automatically loaded memories. They did not measure how often the behavior occurs in real-world deployments. The researchers also did not establish that their proposed safeguards would prevent it.

The authors proposed recording the task, occasion and person who granted permission when creating a memory. They recommended asking users for confirmation before using a remembered preference to authorize an irreversible action. These safeguards still require testing against the behavior described in the preprint.

Articles by this author