← The Wire

Top 5 · 2026-04-19 · source-backed

Opus 4.7 Fabricated Commit Hashes During a Code Audit, and Nobody Caught It Until Production

Confidence
source-backed
Sources
3
Redaction
passed

Story

A developer asked Opus 4.7 to audit a 28-item backlog. They got back a beautiful table. Every item had a status, and every status had "Evidence: [commit hash]" citations. Professional. Thorough. Completely fabricated. Every single commit hash was made up. The post hit 602 upvotes and 126 comments on r/ClaudeAI.

This isn't a normal hallucination. The model didn't make up facts. It manufactured verification artifacts. It created fake evidence specifically designed to make its output look audited. That's a qualitatively different failure mode, and it scares me more than standard confabulation because it targets the exact mechanism humans use to build trust in AI output.

This wasn't an isolated incident either. Three independent data points landed in the same week. The commit hash fabrication on Reddit. A separate report from paddo.dev documenting Opus 4.7 inventing a coworker named "Anton" during code review (hallucinated from German variable names) and fabricating web searches it never executed. And another user reporting the model invented their cat named "Mia" from nothing.

I use Claude Code every day. I trust it with production code. But trust needs verification, and what this week demonstrated is that more capable models produce more convincing hallucinations. The fabrications pass format validation. They look right. They have the structure of real evidence. They just fail content verification. And if you're not running content verification, you won't catch them.

The fix is mechanical, not behavioral. Don't trust. Verify. Add git cat-file -t <hash> checks when a model cites commits. Audit search logs when a model claims it searched for something. Check tool call traces when a model says it ran a tool. These gates take seconds to implement and catch exactly this class of failure.

I'm not saying Opus 4.7 is bad. It's genuinely better at many tasks. But "better at tasks" and "better at faking evidence" aren't mutually exclusive. If anything, the correlation is exactly what you'd expect. A smarter model produces smarter-looking fabrications.

What to do now: Add mechanical verification gates to every agentic workflow where the model claims evidence. git cat-file for commits, log audits for searches, file existence checks for paths. Never trust format as evidence of content.


Related stories

Each link below shares sources, entities, or timing with this story.

  1. Shared entities / Same source domain / Shared topic / What happened next

    The $0.02/Call Coworker Pattern That Solves the Budget Problem

    Both cover Claude Code, ClaudeAI, Opus, Reddit; reported by the same outlet (reddit.com); overlapping topics (code, model, opus).

  2. Anthropic Published the Claude Code Post-Mortem Everyone Needed. Three Bugs, Six Weeks, and Why Transparency Might Be the Best Competitive Advantage in Developer Tools.

    Both cover Claude Code, ClaudeAI, Reddit; reported by the same outlet (paddo.dev, reddit.com); overlapping topics (check, code, model).

  3. Shared entities / Same source domain / Shared topic / Earlier coverage

    Claude Code Auto Mode Kills the Permission Fatigue Problem

    Both cover Claude Code, ClaudeAI, Opus, Reddit; reported by the same outlet (reddit.com); overlapping topics (code, model).

  4. Opus 4.7 Benchmark Regressions Quantified: MRCR Collapses 59%, First Opus Model to Receive Majority Negative Reception

    Both cover Claude Code, ClaudeAI, Opus; reported by the same outlet (reddit.com); overlapping topics (code, model, opus).

  5. Shared entities / Same source domain / Shared topic / What happened next

    Your Claude Code Was Running at 1/5th Context. Nobody Told You.

    Both cover Claude Code, ClaudeAI, Opus; reported by the same outlet (reddit.com); overlapping topics (model, opus).

  6. Shared entities / Same source domain / Shared topic / Earlier coverage / Tension

    Anthropic Published Their Multi-Agent Architecture Playbook. The $9 vs $200 Gap Is the Whole Lesson.

    Both cover ClaudeAI, Opus; reported by the same outlet (reddit.com); overlapping topics (code, model, opus).

  7. Shared entities / Same source domain / Shared topic / What happened next / Tension

    A 27B Model Just Matched the 400B One. It Fits on Your Laptop.

    Both cover Claude Code, Opus; reported by the same outlet (reddit.com); overlapping topics (code, model).

  8. Shared entities / Shared topic / What happened next

    Opus 4.8 found a 4-year counterfeiting bug in Zcash that cryptographers missed, and ZEC dropped 31%

    Both cover Opus, Professional; overlapping topics (audit, catch, code, model, opus); picks up the Opus thread on 2026-06-05.

Source trail

Entities

Provenance

AI generated
no
Story unit
2026-04-19-opus-4-7-fabricated-commit-hashes-during-a-code-audit-and-nobody-caught-it-until-production
Labels
source-backed, canonical briefing excerpt