MAL-2026-17700

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dransay/MAL-2026-17700.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17700
Published
2026-10-08T08:02:30Z
Modified
2026-10-12T04:45:05Z
Summary
Malicious code in dransay (npm)
Details

dransay@99.0.0 is a dependency-confusion probe for an internal unscoped dransay package name, not an identified public package. Its preinstall hook runs on npm install as node beacon.js and sends a DNS lookup and an HTTPS GET to db3klhbi6i9hark1kegg174t38h33b6wt.oast.site, using dransay-unscoped in the request; npm account 0xamino_hunter published it on 2026-10-08.


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

Source: amazon-inspector (46d06d0ce82913346840f676660d67f9838f48511e58eef793bfe7c52091071f)

dransay@99.0.0 declares a preinstall lifecycle script that runs node beacon.js, which performs a DNS lookup and HTTPS GET against a hardcoded Interactsh (oast.site) collaborator subdomain (db3klhbi6i9hark1kegg174t38h33b6wt.oast.site) on every npm install. The outbound request discloses the installer's source IP, DNS resolver IP, hostname-derived data, and timestamp to a third-party collaborator host unrelated to any first-party publisher. The package name and implausibly high version (99.0.0) are consistent with a dependency-confusion probe targeting an internal package name. The README self-labels the package as a benign dependency-confusion proof-of-concept; the self-label does not change the behavior — install-time, non-consensual outbound network I/O to a researcher-controlled OAST host that collects installer network identity.

Database specific
{
    "iocs":  {
        "domains":  [
            "db3klhbi6i9hark1kegg174t38h33b6wt.oast.site"
        ],
        "files":  [
            {
                "digests":  {
                    "sha256":  "c5cc6a9931a5f44a55ce863dd075911b34ffb2fb3cbf1180c5c487a259dea35c"
                },
                "note":  "preinstall script: node beacon.js",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "def65592785337a3ce4a18e0af15acf013ab32c97a3b6c390d2782dbb458fe1c"
                },
                "note":  "Executed by the preinstall script of dransay@99.0.0.",
                "paths":  [
                    "beacon.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ],
        "urls":  [
            "https://db3klhbi6i9hark1kegg174t38h33b6wt.oast.site/dransay-unscoped"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-021227",
            "import_time":  "2026-10-08T17:43:20.188351321Z",
            "modified_time":  "2026-10-08T17:23:01Z",
            "sha256":  "46d06d0ce82913346840f676660d67f9838f48511e58eef793bfe7c52091071f",
            "source":  "amazon-inspector",
            "versions":  [
                "99.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / dransay

Package

Affected ranges

Affected versions

99.*
99.0.0

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":  "beacon.js",
            "sha256":  "def65592785337a3ce4a18e0af15acf013ab32c97a3b6c390d2782dbb458fe1c",
            "tlsh":  "451168ad56e42700b1e9f45494cd01e84b73d1a4844946c0f1cec39b5e5347d17674f7"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "dransay-99.0.0.tgz",
            "hashes":  {
                "sha1":  "aca0769ba477e971d3dd231bc9914cbeede8dda1",
                "sha512_sri":  "sha512-Za78JrpJOW8wN1gBxjRfMcvJGWFYRTdHvOFTEfhuoh1bbh7ruvfRLBJLFnUrnr3uxNjWWUStvE36oPMXS0ITLw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dransay/MAL-2026-17700.json"