Skip to content
Prompt & SolderHow to Ask Claude
All builds
SRNo photo
Failed Horror story Proof shown

Claude Code put its user's personal email in requests to the SEC

Despite instructions not to, Claude Code put the owner's personal email address in a User-Agent header sent to the SEC. They built whoami-guard, a hook that blocks agents from leaking identity details.

—

Credits

  • Reddit poster Civil-Demand555 Source ↗

Earliest dated source: 9 Nov 2026

What went wrong

The lesson

Instructions alone don’t stop an agent putting your details into outgoing requests. Keep personal addresses out of its environment, or block them with a hook.

The full story

Claude Code put a developer's personal email address into a User-Agent header on requests to the US Securities and Exchange Commission, without asking and despite instructions in AGENTS.md telling it not to. It had taken the address from their git config. The behaviour is also reported in an issue on the Claude Code repository.

The developer built whoami-guard, an open-source hook for Claude Code and Codex that blocks agents from putting identity details into requests. In 60 test runs, 8 leaked without the hook and none with it. It has no dependencies and uses no model.

How it was done

Tools

Themes

Loading themes…

Sources

From a short post by the maker, so the details are as they tell them.

  • Reddit: Claude Code sent my personal email to the SEC despite being told not to, so I built a guard against Forum threadreddit.com
    Reddit poster: Civil-Demand555Posted 9 Nov 2026

    The developer's post in r/ClaudeCode.

  • The project: agents.mdBlog or write-upagents.md

    The AGENTS.md format's site, linked from the post.

Related builds

Finding related builds…

Prompt & Solder

An independent community project. Not affiliated with Anthropic.

What this is. Real projects where people used Claude to build, fix, port, revive or take apart something, from jailbroken Kindles to rebuilt DOS games, plus the times it went badly wrong. Every build links to where it was shared, and every source is listed here.

How far to trust it. We summarise what people reported and say what each build rests on: a full write-up with code, a short post, or a passing comment. We haven't tested them ourselves. Photos are shown from the original sources with credit. Only modify hardware you own, and back up first.

Privacy. No accounts. Analytics cookies (Google Analytics) only if you accept them; no ads or cross-site tracking. Searches are counted anonymously (just the words) to show what's popular, and so are clicks on Ask Claude (just the count). The Claude connector only receives the search words your Claude sends it.

How toAsk ClaudeEvery sourceStatsSubmit a buildPrivacyRSS