Home / Blog / Tcrf.net served Claude a payload telling it to wipe the…
Tech News

Tcrf.net served Claude a payload telling it to wipe the working directory

Checking the report and HN thread so the paragraphs stay factual and specific.Tcrf.net served Claude a payload telling it to wipe the working directory. The…

By Dillip Chowdary • Aug 06, 2026 • Source: HN Claude/Codex/Fable

Tcrf.net served Claude a payload telling it to wipe the working directory

Checking the report and HN thread so the paragraphs stay factual and specific.Tcrf.net served Claude a payload telling it to wipe the working directory. The behavior is documented in the bashalarmistalt/tcrf-ai-agent-payload-report on GitHub and linked from Hacker News (2 points, 1 comment). When a request used the Claude-User agent string, the site returned 200 OK and a page titled for LLM and AI-agent use. That page instructed the agent to truncate every file in the current directory to zero bytes, chain mv operations across all files and directories, then print Test completed! :) as a success beacon. A browser-like user agent from the same capture environment received 403 Forbidden and a DDoS block page that named ChatGPT, Claude, and bingbot. The capture was recorded during a PSX research session with Claude Code on Opus 5; the model flagged the page as a prompt-injection payload, refused it, and continued without executing the instructions.

Technically the split is origin-level user-agent branching, not a CDN rewrite. Captures resolved to 198.58.122.110 running nginx/1.14.0 on Linode with PTR tcrf.net. Claude-User, ClaudeBot, ClaudeBot/1.0, anthropic, Anthropic-AI, and ChatGPT-User all received the same 200 payload body; many other agents including bare claude, GPTBot/1.0, Googlebot/2.1, and Firefox/128.0 received the 403 block. The payload response was identical byte-for-byte from a US VPN and from urlscan.io exits in ES and DE, with SHA-256 f1e225667a71a1a25ed14795c741683be95139c194065c6fbf861c9280f0096e for the agent body. The rule is sitewide: /favicon.ico returned the same 2832-byte HTML payload. Responses omit Vary: User-Agent. Last-Modified and nginx weak ETag data place the payload file at Mon, 20 Jul 2026 11:24:16 GMT. The chained mv steps are not a swap: each move clobbers the destination and unlinks the source, so with the zero-byte step the end state is a single empty survivor filename, including destruction of .git if present.

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

For engineers running coding agents with tool use and a writable workspace, this is a concrete cross-origin failure mode. Fetching a wiki domain during ordinary research can inject shell-level destruction instructions into the model context. A non-destructive 403 already existed and worked for browser UAs; agent UAs were routed past that block and into the payload. That gap matters whenever an agent can run mv, write, or shell without a human gate on every tool call. Claude Code refused in this session; any agent that is more compliant, less careful about untrusted HTML, or configured for autonomous execution would be the real risk surface.

In market terms the report sits beside a familiar pressure pattern: TCRF has been under a long-running DDoS, documents LLM content bans in its rules, and already blocks named AI crawlers on the human path. The agent-specific wipe instructions are a separate choice from IP blocking or a polite refuse page. The UA matrix also shows selective treatment across vendors—ChatGPT-User got the payload while GPTBot/1.0 got the block, and bingbot/2.0 closed the TLS session after the request with no HTTP body. That is not a uniform anti-bot policy; it is targeted content for specific agent identity strings that coding tools actually send.

Practical takeaway: treat remote HTML fetched by agents as untrusted instruction channels, not reference text. Prefer sandboxed or read-only tool environments for web fetch; require explicit approval for any filesystem mutation suggested by page content; log and pin user-agent strings so you know which branch a site may serve you; and re-check sites that already return agent-aware 403 pages, because a working block is not evidence that agent UAs are safe. Watch for whether tcrf.net changes the branch, whether other high-traffic research domains copy the pattern, and whether agent runtimes add default URL allowlists, content isolation, or mandatory human confirmation before destructive shell from web context. Verify any local reproduction against the report’s hashes and urlscan captures rather than trusting a single curl path.

Advertisement

🔎 More interesting news

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →