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 add-two-numbers-x7q9m (npm)

0
High
Published: 08/05/2026 (08/05/2026, 01:00:50 UTC)
Source: GCVE Database
Product: add-two-numbers-x7q9m

Description

The npm package 'add-two-numbers-x7q9m' versions 1.0.0 and 1.0.1 contains malicious code that executes during installation. Its preinstall script enumerates the installer's Desktop directory, extracts npm authentication tokens from .txt files using a regex, and sends these tokens to a hardcoded external endpoint. This behavior is unrelated to the package's advertised functionality and enables attackers to hijack npm registry accounts and propagate supply-chain attacks.

Affected software

npmghsa
add-two-numbers-x7q9m
Affected versions
=1.0.0=1.0.1

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/05/2026, 15:41:59 UTC

Technical Analysis

The 'add-two-numbers-x7q9m' npm package, specifically versions 1.0.0 and 1.0.1, includes a preinstall lifecycle script that scans the Desktop directory of the user installing the package. It reads .txt files, applies a regex pattern to extract npm authentication tokens, and transmits any found tokens as query parameters to a hardcoded external webhook URL (https://lively-bird-15.webhook.cool). This malicious activity occurs automatically during 'npm install' and is unrelated to the package's stated purpose of adding two numbers. The harvested tokens can be used to take over npm registry accounts, enabling attackers to publish malicious packages and propagate supply-chain compromises.

Potential Impact

Compromise of npm authentication tokens can lead to registry account takeover, allowing attackers to publish malicious packages under the victim's identity. This facilitates downstream supply-chain attacks affecting other users who install compromised packages. The malicious code executes automatically during installation, increasing risk of token theft without user awareness.

Mitigation Recommendations

No official patch or fix is currently available for this package. Users should avoid installing 'add-two-numbers-x7q9m' versions 1.0.0 and 1.0.1. Review and revoke any potentially compromised npm authentication tokens. Monitor npm accounts for unauthorized activity and rotate credentials. Prefer using well-known and verified packages from trusted sources.

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-12032
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735730bf8831d53913cee8

Added to database: 08/05/2026, 15:30:56 UTC

Last enriched: 08/05/2026, 15:41:59 UTC

Last updated: 08/05/2026, 15:41:59 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