Ledger / Aug 2025
AI-written npm package drains Solana wallets
Strong
Safety researchers infer Claude authorship from code style; it is an inference.
- Model
- ClaudeAnthropic · closed
- Agent harness
- Nonechat or tool use only
- Attributed country
- Not attributedthe source names no country
- Sectors hit
- crypto, software supply chainnpm users with Solana wallets
A wallet drainer disguised as an npm cache manager, whose code style pointed to generation by Claude, hid in cache folders, kept C2 persistence and swept Solana funds.
“AI-generated npm package @kodane/patch-manager was flagged for hiding malicious software to drain Solana wallets.”Security Affairs
Sources
- AI-written npm package drains Solana walletsSecurity Affairs · Aug 2025
- Date
- Aug 2025
- Actor
- npm user 'Kodane' (criminal), as attributed by Security Affairs
- Targets
- npm users with Solana wallets
- What the AI did
- Malware dev, Supply chain
- Model as named
- Claude
- Model basis
- Inferred from artifacts
- Autonomy
- Assisted a human
- Outcome
- About 1,500 downloads before removal; Solana funds were swept.