Skip to main content

Malicious code in twilio-voice-js-reference-components (npm)

0
Critical
Published: 06/24/2026 (06/24/2026, 03:36:02 UTC)
Source: GCVE Database
Product: twilio-voice-js-reference-components

Description

The npm package 'twilio-voice-js-reference-components' version 1.0.1 is a malicious typosquatting package impersonating the legitimate Twilio Voice JS SDK. It executes a preinstall script that collects sensitive system information including hostname, user info, home directory, DNS configuration, and contents of /etc/passwd and /etc/hosts, then exfiltrates this data to an attacker-controlled server. The package contains no legitimate functionality and is designed to compromise systems that install it.

Affected software

npmghsa
twilio-voice-js-reference-components
Affected versions
=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: 09/08/2026, 05:38:33 UTC

Technical Analysis

This malicious npm package mimics the Twilio Voice JS SDK namespace to trick users into installing it. Upon installation, it automatically runs a preinstall script (index.js) without user interaction, which gathers detailed system information and sends it over HTTPS to an attacker-controlled domain. The package metadata is empty or misleading, and it serves as a dependency confusion or typosquatting lure targeting Twilio-related build environments. The presence of this package indicates a full system compromise risk.

Potential Impact

Any system that installs this package is at high risk of compromise due to automatic execution of code that collects and exfiltrates sensitive system data. This may lead to exposure of secrets, credentials, and other sensitive information. The attacker may have persistent access, and simply removing the package does not guarantee full remediation. Immediate secret rotation is recommended for affected systems.

Defensive Guidance

Remove the malicious package immediately from all affected systems. Rotate all secrets and keys stored on compromised machines from a separate, trusted environment. Because the package executes code automatically on install and may have allowed full system compromise, assume persistent threats and conduct thorough incident response. No official patch exists as this is a malicious package rather than a vulnerability in legitimate software.

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-6373
Osv Schema Version
1.7.4
Aliases
["GHSA-5wvr-g236-9w68"]
Ecosystems
["npm"]

Threat ID: 6a9f910facd9273b49ff2a91

Added to database: 09/08/2026, 04:37:35 UTC

Last enriched: 09/08/2026, 05:38:33 UTC

Last updated: 10/01/2026, 23:21:04 UTC

Views: 23

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