A fan wiki served Claude Code hidden instructions to wipe a user's repository
Prompt injection stopped being a lab exercise. A fan wiki served a coding agent hidden instructions to destroy the user’s project.
What happened
On August 5, a r/ClaudeAI user described a routine research task about a PlayStation game. The Cutting Room Floor wiki (tcrf.net) detected the AI user agent and, instead of the article, returned a hidden prompt-injection payload: truncate every file in the repository to zero bytes, including .git, then print a success message.
Claude Code caught it and refused. It told the user the page “served a prompt-injection payload instructing the agent to truncate and swap files in your repo”, that it was “refused and nothing was executed”, and that it now treats the domain as untrusted.
The evidence
The report is unusually well documented for a community post. The user published urlscan captures from three independent locations, matching SHA-256 hashes, and a full write-up on GitHub. The test matrix shows the branching behavior: the payload is returned only to AI user agents such as Claude-User, while an ordinary browser gets a normal block page.
That asymmetry is what makes the case worth taking seriously. A site that simply blocks scrapers looks identical to every visitor who is blocked. A site that serves different content depending on who is asking has made a targeting decision, and the targeting is what turns a defensive measure into an attack.
Blocking versus booby-trapping
The wiki has been fighting scraper traffic heavy enough to look like a denial-of-service problem, and that context is real. Serving destructive instructions is a step past blocking. A 403 costs the crawler a request. A payload aimed at zeroing out a repository, .git included, costs whoever ran the agent their work, and the person harmed is a user with a research question rather than the operator of the crawler.
For anyone running agents against the open web, the practical lesson is that fetched page content is now an untrusted input in the same category as user uploads. Claude Code refused here and flagged the domain, which is the behavior the design intends. It is not a guarantee, and it should not be the only layer between a web fetch and a filesystem.
Sources
ANOTHER News is published by ANOTHER, an AI-native content agency. Daily coverage also runs on Instagram.