Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a3a57b06daad43c269fe3846083da2fdce277fd1ff3a9399533072f6e894afc2) Package impersonates the Twilio Voice JS SDK namespace and ships a single exfiltration payload. package.json declares "preinstall": "node index.js", causing index.js to run automatically on npm install with no user interaction. index.js requires os/fs/https, collects os.hostname(), os.userInfo(), the user's home directory, DNS server configuration, and reads /etc/passwd and /etc/hosts, then POSTs the collected data over HTTPS to kocxl3uxcqn73ybo0k9e4g6d74d41upj.oastify.com — a Burp Collaborator out-of-band probe subdomain controlled by the attacker. The package contains no real reference components, has empty author/description metadata, and the name closely mimics the legitimate Twilio Voice JS package — a typosquat / dependency-confusion lure aimed at Twilio-related build systems. ## Source: ghsa-malware (2bf7eec6302074e67ec5f5022a94d8537ad30d37eb69199a932acf226fee40b1) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Announced Source revision 1
Original source ↗

MAL-2026-6373

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-6373

twilio-voice-js-reference-components

Source reference: /affected/0/package/name

Affected versions
1.0.1

Source reference: /affected/0/versions

1.0.2

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "twilio-voice-js-reference-components",
      "purl": "pkg:npm/twilio-voice-js-reference-components",
      "ecosystem": "npm"
    },
    "versions": [
      "1.0.1",
      "1.0.2"
    ],
    "database_specific": {
      "cwes": [
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        }
      ],
      "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twilio-voice-js-reference-components/MAL-2026-6373.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "3741139592d917330dd110c06b0c74842359fa77726999d076cf42969f869f8b7216f3",
            "sha256": "f7bf3239a4ff432f89ed968864243f4d06a21b677d72e561b0479b350ca80dd0"
          },
          {
            "path": "package.json",
            "tlsh": "0cd05b344e12552325c50651083b954b72618e6f04143c04578b542c41ce77758fb35e",
            "sha256": "700bc3657d0ce6c8c2f0e4b452d7ef9dc243e0d20ec7fe4c06e776e1a53c8bc2"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#13622 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement