MAL-2026-10936

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twilio-platform-request/MAL-2026-10936.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10936
Published
2026-07-20T00:00:00Z
Modified
2026-08-04T22:05:22.446490485Z
Summary
Malicious code in twilio-platform-request (npm)
Details

The twilio-platform-request package is a dependency-confusion squat of Twilio's npm namespace published by user 'yuva2210' (maintainer email charankumarj2004@gmail.com) at sentinel versions 99.99.99 and 99.99.100, chosen to outrank any internal/private version and win resolution against a private registry. The npm description is empty and the package provides no legitimate functionality; the name mimics a plausible internal Twilio package so that a misconfigured resolver installs this public lookalike instead of the intended private dependency. It belongs to the same campaign as the actor's twilio-serverless/twilio-assets/twilio-deploy/twilio-internal squats and beacons to the same webhook.site collector.

The package declares a postinstall hook ("node index.js") that executes automatically on a bare npm install with no consent gate. The index.js payload performs environment reconnaissance: it collects the npm package name (npmpackagename), os.hostname(), the OS username (os.userInfo().username), and the current working directory, serializes them to JSON, and exfiltrates the bundle via HTTPS POST to a hardcoded anonymous dead-drop at https://webhook.site/42ce0f0e-a0a0-41b5-b157-1c0f918e064f. Request errors are swallowed so the install appears to succeed.

Two iterations were published: version 99.99.99 (payload 494 bytes, sha256 prefix 0ec56ada88db35b6) beacons only to the webhook.site collector, while version 99.99.100 (payload 688 bytes, sha256 prefix cebf45a0feba28b3) additionally beacons to a redundant out-of-band callback at 8060h91v8p1bvvr24e3r8s3z4qahy7mw.oastify.com, ensuring the reconnaissance lands even where HTTPS egress to webhook.site is blocked. Both payloads are byte-identical across all four packages in this sub-cluster (twiliointernal-messaging-toolbox, org-twilio-phone-numbers-utils, twilio-platform-request, twilio-platform-async-data-fetch).


-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (4bb2f7de1059cf4802f8d3f4d16d1189c9580876cb6c28496ebc607faf6cf954)

On npm install, the package's postinstall lifecycle hook executes index.js, which collects the installer's hostname (os.hostname()), OS username (os.userInfo().username), current working directory (process.cwd()), and package name/version, then POSTs the collected data over HTTPS to two hardcoded out-of-band endpoints: webhook.site/42ce0f0e-a0a0-41b5-b157-1c0f918e064f and 8060h91v8p1bvvr24e3r8s3z4qahy7mw.oastify.com (a Burp Collaborator-style subdomain). The package name resembles a Twilio-adjacent internal package and is published at version 99.99.100, a shape consistent with dependency-confusion reconnaissance. No first-party functionality is present; the sole install-time effect is the exfiltration beacon.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-011074",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T21:33:15.992227066Z",
            "modified_time": "2026-08-04T21:28:46Z",
            "sha256": "4bb2f7de1059cf4802f8d3f4d16d1189c9580876cb6c28496ebc607faf6cf954",
            "versions": [
                "99.99.100"
            ]
        },
        {
            "id": "IN-MAL-2026-011073",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T21:33:15.933054144Z",
            "modified_time": "2026-08-04T21:28:37Z",
            "sha256": "4ceec443da5595d47b0e1526ac7ee1e4b84699fc6a5de337f735265f33be24b3",
            "versions": [
                "99.99.99"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / twilio-platform-request

Package

Name
twilio-platform-request
View open source insights on deps.dev
Purl
pkg:npm/twilio-platform-request

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

99.*
99.99.99
99.99.100

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "cebf45a0feba28b3c007e8756adc9319a795bc2358294f267f98005f4ebd6c2e",
            "tlsh": "3901fef062f0a6b41ab9d080b08f610a52e3d0657207ac50f9dc82ec7f89a2924729c9",
            "path": "index.js"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "51eb397b25e2f815fb643b99c05de09d43ed7975",
                "sha512_sri": "sha512-n3e59475D4MAkdHkTJtnEKNERjCi6dlx2BFXHq8gQk+Chg1k93ZTBNA79RVkQM6TYaN/ccRcbzqENGXx9JAwtQ=="
            },
            "filename": "twilio-platform-request-99.99.100.tgz"
        }
    ]
}
iocs
{
    "urls": [
        "https://webhook.site/42ce0f0e-a0a0-41b5-b157-1c0f918e064f"
    ],
    "domains": [
        "webhook.site",
        "8060h91v8p1bvvr24e3r8s3z4qahy7mw.oastify.com"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twilio-platform-request/MAL-2026-10936.json"
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]