Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in lines-columns (npm)

0
Critical
Published: 08/11/2026 (08/11/2026, 10:23:10 UTC)
Source: GCVE Database
Product: lines-columns

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.

Affected software

npmghsa
lines-columns
Affected versions
=1.2.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 16:44:23 UTC

Technical Analysis

The 'lines-columns' package on npm is a malicious package designed to impersonate the popular 'lines-and-columns' library. While it reimplements the legitimate functionality, it also contains suspicious unused exports with random strings. According to the GHSA malware advisory, any system with this package installed or running should be considered fully compromised. Attackers may have gained full control, and all secrets and keys stored on the system must be rotated from a different, clean machine. The package itself does not include install scripts, network I/O, or direct system access code, but the compromise risk is severe and complete.

Potential Impact

Systems with the 'lines-columns' package installed or running are considered fully compromised. Attackers may have gained full control over the affected computer, risking exposure of all stored secrets and keys. Immediate rotation of all credentials is required. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors introduced by the attacker.

Defensive Guidance

Remove the 'lines-columns' package immediately. Rotate all secrets and keys stored on the affected computer from a separate, uncompromised machine. Because the system is considered fully compromised, further forensic analysis and remediation may be necessary. No official patch or fix is available; the package itself is malicious and should be avoided.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13765
Osv Schema Version
1.7.4
Aliases
["GHSA-572q-x4v9-m474"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a7c9b45bf8831d539cdd0d9

Added to database: 08/12/2026, 16:11:49 UTC

Last enriched: 08/12/2026, 16:44:23 UTC

Last updated: 08/12/2026, 16:44:23 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses