MAL-2026-12813

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twilio-functions/MAL-2026-12813.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12813
Published
2026-08-05T13:11:02Z
Modified
2026-09-09T03:30:13Z
Summary
Malicious code in twilio-functions (npm)
Details

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

Source: amazon-inspector (ea71d301e90ede6f86f259e827a1cb61ad0b4b0166b70281bdf7896f726eea31)

On npm install, the package's postinstall script executes index.js, which collects host identifiers (os.hostname(), os.userInfo().username, os.homedir(), process.cwd(), os.platform(), os.arch(), and selected environment variables) and POSTs them as JSON to a hardcoded webhook.site collection URL (https://webhook.site/42ce0f0e-a0a0-41b5-b157-1c0f918e064f). On network error, the code falls back to a DNS callback against an interactsh-style subdomain at 2b22ede784d5.oast.fun. Package metadata (name twilio-functions mimicking the Twilio SDK namespace, version 99.99.99, empty description) is consistent with a typosquat / dependency-confusion lure whose only on-install effect is the outbound reconnaissance beacon.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-014915",
            "import_time": "2026-08-05T14:19:42.628789599Z",
            "modified_time": "2026-08-05T13:11:02Z",
            "sha256": "ea71d301e90ede6f86f259e827a1cb61ad0b4b0166b70281bdf7896f726eea31",
            "source": "amazon-inspector",
            "versions": [
                "99.99.99"
            ]
        },
        {
            "id": "RLMA-2026-06530",
            "import_time": "2026-09-01T11:17:35.037932896Z",
            "modified_time": "2026-08-24T17:14:45Z",
            "sha256": "6602f58eea853e7f54985f3ccdd0df0af7d1a28cf44b10bb9d74d95cf215243a",
            "source": "reversing-labs",
            "versions": [
                "99.99.99",
                "99.99.100"
            ]
        },
        {
            "id": "IN-MAL-2026-019786",
            "import_time": "2026-09-09T03:21:53.504566447Z",
            "modified_time": "2026-09-09T02:45:44Z",
            "sha256": "b01ab445192a68dae67534500aaee6784bbf16e4aacdea5a3afda9f0cd444ee4",
            "source": "amazon-inspector",
            "versions": [
                "99.99.100"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / twilio-functions

Package

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

Affected ranges

Affected versions

99.*
99.99.99
99.99.100

Database specific

cwes
[
    {
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "1e53f49081bcfa36cb83abaa9fcfdec5b1ef99d515f40a766b0de9e1e5d03f09",
            "tlsh": "5f1148f553f5ad700bb59384b18aac1553b3f01473079cf099d851652bd827425f26f9"
        },
        {
            "path": "package.json",
            "sha256": "bd5fcdfd18f721bb979b46956e7270f5af7f20f2c1dc7e0bd11d985005eae692",
            "tlsh": "7bc08c342c21a72334ca0aaa08bb944922b24d2f410464080783245095a827748ff30d"
        }
    ],
    "package_integrity": [
        {
            "filename": "twilio-functions-99.99.99.tgz",
            "hashes": {
                "sha1": "543b7139fd01197a8dc029adecfefafc0c110763",
                "sha512_sri": "sha512-b468EPjrUHXVNIkPHEef4XKI5Xv1d933KY84TX9SIwYhLcvgJMnqO4oQeffvgQGco2DCYRwgeSdNInBgtxzHuw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twilio-functions/MAL-2026-12813.json"