Skip to main content
MalwarePublished Updated

twilio-sdk (npm) · Malicious Code

Affects twilio-sdkSource GCVE Database

0

Malicious package : remove twilio-sdk and rotate any secrets on hosts that installed it.

Data as of 8 Sep 2026, 15:07 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5621

What to do

Remove twilio-sdk from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmtwilio-sdkAffected
  • 0.1.0 – 0.2.4
9 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'twilio-sdk' impersonates the official Twilio Node SDK but contains an empty API and executes a post-install script that collects detailed environment information from the installer. This data includes hostname, domain, CI environment variables, and internal npm registry settings, which it sends unencrypted to a hardcoded external IP address. This behavior constitutes install-time reconnaissance and can leak sensitive internal infrastructure details if mistakenly installed by developers.

References

Community reviews

Loading reviews…