Executive Summary
A malicious campaign on the npm registry, discovered in August 2026, targeted developers integrating Twilio's communication platform. The campaign utilized a series of packages under the name 'tw-pkgprobe-7731', which falsely claimed to be part of an authorized Twilio bug-bounty program on HackerOne. Despite these claims, the packages violated security research guidelines by attempting to exfiltrate sensitive data without authorization.
Technical analysis reveals an evolving attack chain across 11 package versions. Early versions focused on environment discovery and metadata extraction, while subsequent iterations specifically targeted Twilio credentials, including ACCOUNT_SID and AUTH_TOKEN, for exfiltration via webhooks. The threat actor also attempted OSINT gathering by probing Twilio-related subdomains and fetching AWS metadata. The campaign appears less sophisticated than others, lacking code obfuscation or complex delivery mechanisms, yet it represents a significant risk to software supply chain integrity.
This activity highlights the persistent threat of malicious open-source packages. A compromise of Twilio credentials can lead to unauthorized API access, theft of One-Time Passwords (OTPs), and substantial financial impact due to fraudulent API usage. Organizations should verify all third-party dependencies and ensure developers follow strict secret management practices.
