@zer0unplanned@friendica.rogueproject.org
Post #1095413
2026-04-07 16:12 UTC
@aburka
git clone https://github.com/Hyper66666/claude-code-sourcemap
cd claude-code-sourcemap
node extract-sources.js
2 Inspect the map
npm pack @anthropic-ai/claude-code@2.1.88
tar -xzf *.tgz
cat package/cli.js.map | grep -A 5 -B 5 "sourcesContent"
3. search for sensitive data
grep -R "API_KEY\|SECRET\|r2.dev" restored-src/
There is your leaked source code from where you can adapt the .json file to do what you essentially want.
This is known on the net so don't worry. It's on Anthropy to fix this while they don't and deny it even.
Replies (0)
No replies.