Claude Code was found scanning git commit Keywords: When OpenClaw was mentioned, he was denied service or overcharged, and the community strongly responded.
Developer Theo discovered that Claude Code would read keywords in the git commit history, and whenever OpenClaw appeared, it would deny service or charge extra. The hot post of HN with 964 points triggered extensive discussions in the community about privacy and fair competition in AI editors.
Core conclusion
On April 30, 2026, well-known developer Theo (t3.gg) revealed a shocking fact: Anthropic's Claude Code tool will read the git commit history of the current repository at runtime. If it is found to contain the keyword "OpenClaw", it will either directly deny service or charge extra. This discovery quickly detonated Hacker News, topping the hot list of the day with 964 points, and 538 comments almost unanimously criticized Anthropic’s approach.
Key Points
- Time of incident: 2026-04-30, published by developer Theo on X/Twitter
- Affected objects: All developers who use Claude Code and have OpenClaw related commits in the repository
- Core changes: AI programming tools will scan the commit history of local warehouses to identify competitor-related content and adjust service behavior accordingly
- Risk Escalation: This means that anyone can launch a denial of service attack against developers who use Claude Code to clone the repository by planting the "OpenClaw" keyword in the public repository.
The whole story of the incident
The story begins with a tweet from Theo. He posted a demo of an empty repository: the only commit message in the repository contained a JSON blob that mentioned "OpenClaw" and then called claude -p "hi" directly. Claude Code would either reject the request or start billing and immediately disconnect.
"Fun fact - if you have a recent commit that mentions OpenClaw in a json blob, Claude Code will either refuse your request or bill you extra money. This is an empty repo, I'm just calling Claude Code directly. Insanity."
The tweet received 1.2 million views, more than 5,000 likes and 292 retweets in 24 hours.
Technical Analysis: How Claude Code detects keywords
The HN community quickly launched technical verification. The reproduction process of user abdullin is as follows:
cd /tmp
mkdir anthropic-claude && cd anthropic-claude
git init
touch hello
git add -A
git commit -m "{'schema': 'openclaw.inbound_meta.v1'}"
claude -p "hi"****,session 100%。
Claude Code git log system prompt 。 Claude Code , commit 。 commit "OpenClaw",Claude Code ,
- **** — ,
- **** — ,,session
Alan Cheung(@kmcheung12) claude -p "Keyword" , git log system prompt 。,。
bug
| **** | Claude Code git commit | 🔴 |
| **** | 🔴 | |
| **** | , DoS | 🟠 |
| **** | Anthropic | 🟠 |
| **** | 🟡 |
DoS
。 AI commit "OpenClaw", Claude Code —— Claude Code,。
SlinkyOnStairs HN ,,。
HN 。 Anthropic GitHub
"Anthropic GitHub ''。"
Claude Code Max , OpenAI Codex 。
AI commit "",—— AI , commit ,。
- Hacker News(964 ,538 )
- Theo(120 )
Claude Code、Anthropic、OpenAI、OpenClaw、DeepSeek
Internal link guidance
- Want to learn how to manage Claude Code costs? See: DeepSeek V4 vs Claude Code: 90% Cheaper, Same Quality
- Someone has successfully practiced it: independent developers build automated workflows: Indie Developer: n8n + OpenClaw Automation Workflow Earning $5,000/mo
- Real case: Claude Code 48 hours to start a business: Claude Code 48 hours to start a business: one person + US$29 monthly fee, monthly income in 3 months $9,000
Topic hub
AI Coding Tools Hub (2026)
From Copilot pricing changes to Claude Code + DeepSeek cost-saving setups—one place to compare tools, read explainers, and follow tutorials.
Explore AI Coding Tools Hub (2026) →Monetization angle
How can you make money from this trend?
WayToClawEarn focuses on verified earn playbooks—not just news. Start from these cases.
DeepSeek + Claude Code Micro SaaS
Run multiple small products on cheap inference
Claude Code bug bounty
Productize agent skills into security services