lines-columns (npm) · Malicious Code
Affects lines-columnsSource GCVE Database
Malicious package : remove lines-columns and rotate any secrets on hosts that installed it.
Data as of 12 Aug 2026, 16:44 UTC
Malicious package
Published to npm · OSV MAL-2026-13765
What to do
Remove lines-columns 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
| Product | Affected | Fixed in |
|---|---|---|
| npmlines-columns | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The 'lines-columns' npm package is a malicious package that closely mimics the legitimate 'lines-and-columns' package. It contains unused random-looking strings and no legitimate functionality beyond reimplementing the referenced library. Installing or running this package results in full compromise of the affected computer, requiring immediate secret and key rotation. Removal of the package does not guarantee elimination of all malicious software introduced.