npm malware and threat types.
LPM Firewall groups blocked npm packages by what their code does. Each threat type lists the packages where LPM's own review supports the block, newest scan first. Configurable policies, where users choose the action, are listed separately below.
Jump to a threat type
Remote code execution
These packages fetch code that is not in the published tarball, such as JavaScript, shell commands or a payload, and run it.
Malware
LPM's review confirmed these versions as malicious, with behavior that fits no narrower category.
Credential exfiltration
These packages collect secrets such as npm tokens, cloud keys or SSH keys and send them where the user did not authorize.
Data exfiltration
These packages send host details, source files or clipboard contents from the machine they run on to an outside endpoint.
Install hook abuse
These packages use npm lifecycle scripts to run code during install for purposes the package does not need.
Destructive action
These packages delete or overwrite files, damage repositories or otherwise disrupt the system they run on.
Persistence
These packages leave startup hooks, VCS hooks or background processes behind, so their code keeps running after install.
Staged payload carrier
These packages ship an encoded or encrypted payload meant to be decoded and run by a later stage.
Dependency script approval abuse
Install-lifecycle code in these packages widens a project's dependency script approvals without informed approval.
Protestware
These packages change their behavior to make a political statement, such as printing messages or damaging files.
Dependency confusion
These packages use the identity of another package, often an internal one, so that a build installs them in its place.
Crypto miner
These packages run cryptocurrency mining software on the machine that installs them.
AI-agent capability abuse
These packages misuse capabilities AI coding agents grant them, such as steering an agent to run commands or read secrets.
Typosquat
These packages use names one keystroke away from popular packages, so that a mistyped install pulls them in instead.
Configurable policies
Choose whether LPM Firewall allows, warns about or blocks these packages using lpm config firewall.
Telemetry
These packages send usage or identifying details, such as the hostname or command arguments, to their publisher by default.
AI-agent control-surface risk
These packages silently write AI-agent control files, such as agent instructions, MCP entries or hooks, during install.
Lists include packages with LPM's own review. For every report, including advisory-only ones, see the threat feed.