Skip to main content

Malicious code in speed2 (npm)

0
Critical
Published: 07/13/2026 (07/13/2026, 06:27:40 UTC)
Source: GCVE Database
Product: speed2

Description

The speed2 npm package is part of a typosquatting campaign involving speed1 through speed5 packages. These packages are non-functional Node modules that bundle browser-based malicious code, including obfuscated JavaScript assets and a web proxy frontend. The package attempts to lure users via a browser popunder that opens a suspicious URL on user interaction. Although the Node.js entry point does not execute malicious code, the presence of obfuscated assets and mass-publishing scripts indicates malicious intent. Installing or running this package may fully compromise the host system.

Affected software

npmghsa
speed2

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: 09/12/2026, 18:17:32 UTC

Technical Analysis

The speed2 package on npm is a typosquatting malicious package that does not function as a Node.js module but instead bundles a browser-based malicious web proxy and obfuscated JavaScript assets. The package.json points to a ServiceWorker script intended for browsers, not Node.js, preventing direct code execution during installation or import in Node. However, the package includes scripts and nested directories evidencing automated mass-publishing of similarly named typosquat packages (speed1 to speed5). The obfuscated browser assets and popunder behavior suggest a malicious campaign designed to lure users into visiting a malicious site. According to a ghsa-malware source, any system with this package installed or running should be considered fully compromised, requiring immediate secret/key rotation and package removal.

Potential Impact

Installation or execution of this package can lead to full system compromise. Secrets and keys stored on the affected system may be exposed and must be rotated immediately. The malicious code is obfuscated and bundled for browser execution, but the overall package is part of a typosquatting campaign that can deceive users into installing it, potentially leading to unauthorized access and control over the affected computer.

Defensive Guidance

No official patch or fix is available as this is a malicious package rather than a software vulnerability. The recommended mitigation is to immediately remove the speed2 package and any related typosquat packages (speed1 through speed5) from the system. Rotate all secrets and keys from a secure, unaffected environment. Conduct a thorough system audit for other signs of compromise. Namespace abuse and takedown requests should be pursued through npm and relevant authorities to remove these malicious packages from the registry.

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-10383
Osv Schema Version
1.7.4
Aliases
["GHSA-6j2c-jmgv-54xf"]
Ecosystems
["npm"]

Threat ID: 6a54ada768715ace438f490f

Added to database: 07/13/2026, 09:19:35 UTC

Last enriched: 09/12/2026, 18:17:32 UTC

Last updated: 09/12/2026, 18:17:32 UTC

Views: 66

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