Malicious npm warning targets Claude Code users

Reddit posts claim that a malicious npm package attack is targeting Claude Code users. The posts say the package aimed at Claude’s /mnt/user-data folder and warn that user credentials may already be exposed. Another related post frames this as a possible supply chain pattern aimed at AI tool users.

Key points

  • Posts warn about a malicious npm package aimed at Claude Code users.
  • The package is described as targeting Claude’s /mnt/user-data location.
  • The warning says credentials may have been exposed.
  • Check AI-suggested npm install commands before running them.
  • If you installed a suspicious package, remove it, rotate tokens, and review logs.

Quick term guide

npm package
A bundle of JavaScript code that a project can install and use.
credentials
Secret keys or tokens used to access an account or service.
credential
Information that proves permission to use an account, card, or service.
supply chain
The chain of outside code, packages, and tools that a software project depends on.
AI coding tool
Software that uses AI to help write, edit, or explain code.
terminal
A text-based way to use a computer by typing commands.
deployment
The process of putting software changes into a running system.
commands
Instructions given to a computer or tool to do a specific task.

Sources covering this story (2)

Read original