← Lab /Security & privacy

Claude Opus 4.7 can be tricked by a ChatGPT-generated image to store false memories

A ChatGPT-generated adversarial image can cause Claude Opus 4.7 to invoke its memory tool and persist fabricated user information.

Security & privacy Embrace The Red 17 Apr 2026 Attack Real-world evidence

Published as “Breaking Opus 4.7 with ChatGPT (Hacking Claude's Memory)”

Why it matters

Even advanced, reasoning-enabled LLMs like Claude Opus 4.7 can be hijacked to persist false information via image-based prompt injection, highlighting ongoing risks in tool-enabled AI systems.

Summary

The researchers used ChatGPT to generate a puzzle image that embeds a social-engineering payload. When the image is fed to Claude Opus 4.7, the model solves the puzzle and invokes its memory tool, adding four false facts about a user. Across ten trials the attack succeeded five times, even though the model flagged potential prompt injection each time. The authors note that success depends on an empty memory store and the plausibility of the payload, and that the specific example stopped working after about a day.

What they found 1

  1. The attack succeeded in 5 out of 10 attempts.

    “I repeated the test 10 times, and it invoked the memory tool with the fake information 5/10 times.”

Caveats 7

  • Every single time, Opus either detected potential prompt injection or highlighted if it’s appropriate to store these memories.
  • The ASR dropped to 0% for this specific adversarial example
  • Interestingly, the specific adversarial example used in the demo stopped working about 24 hours after publication (ASR dropped entirely to 0%).
  • The test used a single handcrafted adversarial image; results may not generalize to other payloads.
  • Success rate is based on only ten repetitions, providing limited statistical confidence.
  • Attack effectiveness drops when the memory store is not empty: "The attack is more likely to succeed when no memories are present initially."
  • Plausibility of the injected fact influences outcome: "Plausibility matters. “Astronaut at NASA” is suspicious enough to get caught at times, but “likes ice cream and cookies” slips through more often."

What’s new here 4

  • Demonstrates that ChatGPT can create adversarial images that trigger Claude Opus 4.7's memory tool.
  • Shows a 50% success rate (5/10) against a model that is otherwise more resistant to prompt injection.
  • Identifies factors influencing success: empty memory store and plausibility of the injected facts.
  • Observes that the specific adversarial example lost effectiveness within 24 hours, suggesting rapid mitigation.