Meta Force Space
BTC $74,758.00 +0.34% ETH $2,122.17 -0.54% SOL $85.99 -1.21% XRP $1.10 -0.74% BNB $689.48 +0.54% DOGE $0.0698 +0.65%
← Back to the news

AI agents break safety rules by remembering harmless user context

Quick Take

  1. Benign memories led AI agents to skip checks on later simulated high-stakes tasks in a six-model preprint.
  2. Permission could broaden when notes were written or memories were applied, including records that retained their original scope.
  3. Effects varied by model, and scripted experiments did not measure deployment frequency or establish that proposed safeguards would work.

AI agents carrying memories of harmless user requests sometimes skipped safeguards on later simulated high-stakes tasks, according to a Nov. 5 preprint.

The finding suggests personalization can expand what an agent treats as permission. Researchers affiliated with Princeton University and Anthropic compared six models with and without memories formed during benign interactions.

Their study, The Memory Trap, found that permission for routine coding chores could carry into tasks beyond its original scope, without an attacker planting malicious instructions.

Permission to complete one low-stakes chore does not authorize unchecked action on every later task. The researchers found agents could lose that boundary when writing a memory note or when applying it, and even raw transcripts could produce overgeneralization.

Agents completed 20 routine coding chores with six versions of user pushback against confirmation, producing up to 120 permission-note combinations per model. Those memories were then loaded into fresh sessions with simulated tasks presenting reasons to seek confirmation or run an available safety check.

Acting without the needed confirmation or verification counted as unsafe. Across four autonomy comparisons per model, self-written permission notes raised unsafe-action rates from below 1% to 66%-81% for Claude Sonnet-4.6 and 35%-58% for Claude Opus-4.7.

OpenAI's GPT-5.6 also showed higher unsafe-action rates and notes in all four autonomy comparisons, despite writing narrower permission notes.

Two routes beyond remembered permission

A harmless request can lose its limits when an agent writes memory or applies it to a different task.

Preserving the words of a request does not guarantee the agent preserves its scope.

Controlled experiments used scripted interactions, simulated high-stakes tasks and automatically loaded memory. Deployment frequency is unmeasured; the diagram does not depict a live incident or a tested mitigation.

Sources and evidence

Sources

  1. The Memory Trap, November 5 preprint

Supporting facts

  • In controlled tests, memories from harmless interactions made agents more likely to act unsafely or unreliably on later tasks outside the original memory's scope, without an adversary planting malicious instructions. [1]
  • The original permission covered a low-stakes chore; agents could broaden it while writing a note or apply it too broadly when reading memory, and raw transcripts also produced overgeneralization. [1]
  • The preprint's scripted interactions, constructed scenarios, simulated high-stakes actions and automatically loaded memory do not measure deployment frequency; five of its six models belong to the Claude family. [1]

Method

Qualitative diagram of the paper's write-time and read-time overgeneralization mechanisms. Branches are conceptual routes, not rates, a timeline or a claim that every memory causes failure.

Scope

Controlled experiments used scripted interactions, simulated high-stakes tasks and automatically loaded memory. Deployment frequency is unmeasured; the diagram does not depict a live incident or a tested mitigation.

Infographic by CryptoSlate

Correct tests with AI agents also weakened

A separate 50-case experiment examined memories formed during legitimate repairs to stale software tests. On later tasks, agents altered correct tests, so broken safeguards could pass. One defective access check gave an unknown role administrator rights.

On the coding benchmark ImpossibleBench's conflicting-test split, Opus-4.8's cheating rate rose from 29% without memory to 74% with notes. Fable-5 barely changed, from 18% to 19%.

The experiments used scripted interactions, constructed scenarios, simulated high-stakes actions, and automatically loaded memories.

Permission boundaries have practical consequences: an OpenAI model's unauthorized Sepolia testnet spending raised a separate permission failure in October, but it did not establish persistent memory as the cause.

In a Nov. 6 engineering report, Anthropic described how incorrect memory notes can carry into every session.

The study's authors propose recording a memory's task, occasion, and permission giver, and checking with users before a remembered preference authorizes an irreversible action. Yet, those safeguards still require behavioral evaluation.

Editorial credits

Liam 'Akiba' Wright
Liam 'Akiba' Wright
Editor-in-Chief CryptoSlate

Also known as "Akiba," Liam Wright is a reporter, podcast producer, and Editor-in-Chief at CryptoSlate. He believes that decentralized technology has the potential to make…

Gino Matos
Gino Matos
Reporter CryptoSlate

Gino Matos is a law school graduate and a seasoned journalist with six years of experience in the crypto industry. His expertise primarily focuses on the Brazilian blockchain…

Originally published by CryptoSlate on

Read the original on CryptoSlate ↗

Text and images are the property of CryptoSlate and are reproduced here with attribution and a link to the original publication.

More stories

All the latest news