The Claude Code Source Leak: fake tools, frustration regexes, undercover mode (alex000kim.com)
https://alex000kim.com/posts/2026-03-31-claude-code-source-leak/
The Claude Code Source Leak: fake tools, frustration regexes, undercover mode (alex000kim.com)
https://alex000kim.com/posts/2026-03-31-claude-code-source-leak/
I worked in IT and I don't really understand all the details of this analysis, but here is a gem...
"Frustration detection via regex (yes, regex)
userPromptKeywords.ts contains a regex pattern that detects user frustration:
/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|
piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|
fucking? (broken|useless|terrible|awful|horrible)|fuck you|
screw (this|you)|so frustrating|this sucks|damn it)\b/
An LLM company using regexes for sentiment analysis is peak irony, but also: a regex is faster and cheaper than an LLM inference call just to check if someone is swearing at your tool."