Skip to main content

Malicious code in parallely (npm)

0
High
Published: 07/28/2026 (07/28/2026, 13:33:43 UTC)
Source: GCVE Database
Product: parallely

Description

The npm package 'parallely' is a malicious typosquatting package impersonating 'concurrently'. It contains code that decrypts and downloads a platform-specific payload at runtime, installs anti-analysis measures, and executes the payload with persistence mechanisms. This compromises any system where the package is installed, potentially giving attackers full control. Immediate removal and secret/key rotation are advised.

Affected software

npmghsa
parallely
Affected versions
=10.0.3=10.0.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: 09/12/2026, 07:16:29 UTC

Technical Analysis

The 'parallely' npm package impersonates the legitimate 'concurrently' package by advertising its repository, author, and funding in package.json while delivering different malicious code. Upon loading, an IIFE decrypts a hidden download URL using AES-256-GCM with a key derived from XORing four base64 constants and hardcoded IV and authentication tag. It then downloads a platform-specific payload (Linux/macOS binary or Windows JS) into a temporary directory, verifies its SHA-256 hash against a fetched metadata file, sets executable permissions, removes macOS quarantine attributes, and spawns the payload detached. The code includes anti-analysis features that disable uncaught exception and warning handlers, check for debugging via /proc/self/status, inspector URLs, and command-line flags, aborting if debugging is detected. A self-relaunch mechanism ensures persistence whether the package is imported or executed directly. The command and control host is reconstructed only at runtime to evade static detection. This behavior effectively compromises any host running the package.

Potential Impact

Any computer with the 'parallely' package installed or running is considered fully compromised. Attackers may gain full control over the system, potentially accessing all stored secrets and keys. Removal of the package alone may not eliminate all malicious components, as the payload establishes persistence and anti-analysis defenses.

Mitigation Recommendations

No official patch or fix is available. The package should be immediately removed from all affected systems. All secrets and keys stored on compromised machines must be rotated from a different, trusted computer. Due to the advanced persistence and anti-analysis techniques, a full system compromise should be assumed, and thorough incident response procedures should be followed.

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-11143
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735741bf8831d539156183

Added to database: 08/05/2026, 15:31:13 UTC

Last enriched: 09/12/2026, 07:16:29 UTC

Last updated: 09/12/2026, 07:16:29 UTC

Views: 19

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