Skip to content
Lakera Blog·Indexed by this site · Originally publishedDate not given· Event →

Lakera scans npm and finds 30 packages leaking credentials via Claude Code permission files

Adaptive Defenses for Large Language Models

AI summary

Lakera built a TypeScript service that monitors the CouchDB change feed of the npm registry, fetching tarballs of newly published packages to check for the presence of .claude/settings.local.json. Among approximately 46,500 monitored packages, 428 contained this file, of which 30 packages had 33 files containing credentials—about 1 in every 13 settings files published with packages contained sensitive information. Leaked content includes npm publish tokens, plaintext npm login credentials, GitHub PATs, Telegram Bot API tokens, production bearer tokens for third-party services, Hugging Face API tokens, and plaintext test account passwords.

Read originallakera.ai