Skip to main content
MalwarePublished

line-through (npm) · Malicious Code

Affects line-throughSource GCVE Database

0

Malicious package : remove line-through and rotate any secrets on hosts that installed it.

Data as of 7 Sep 2026, 18:23 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15923

What to do

Remove line-through from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmline-throughAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'line-through' version 1.0.0 contains malicious code in its preinstall hook. During npm install, it runs a script that collects the installer's public IP address, OS hostname, and CI environment variables, then sends this data to a hardcoded external server. It also performs a DNS lookup encoding the hostname to an out-of-band collaborator domain. This behavior occurs automatically without user interaction.

References

Community reviews

Loading reviews…