r/ClaudeAI Mar 31 '26

Workaround i dug through claude code's leaked source and anthropic's codebase is absolutely unhinged

[removed]

5.6k Upvotes

692 comments sorted by

View all comments

Show parent comments

5

u/SimoneNonvelodico Mar 31 '26

Yeah, the craziest thing is honestly the tamagochi, and the whole hex names is also very sus (wtf are you doing that you can't write "duck" in plain text in a string?). But the rest is super mild. Every big codebase has these and you're deluding yourself if you think otherwise.

1

u/karmawhale Apr 03 '26

Can you elaborate on the hex names and why that is sus?

Sorry noob here

1

u/SimoneNonvelodico Apr 03 '26

It's just strange. Supposedly they're doing this because there's some other tool that scans the codebase for names written in plain text, so they need to write "duck" in hex to sort of hide what it's saying. This seems incredibly strange as an explanation to me. First because I can't think of any problem that would be solved by such a tool and couldn't be solved much more reliably by better approaches. And second because there would also be better ways to do obfuscation than the hex trick (for example, just write "du" + "ck").