MAL-2026-17764

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@s4yhiitestpoc/r2-https/MAL-2026-17764.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17764
Published
2026-10-11T13:58:38Z
Modified
2026-10-11T14:30:08Z
Summary
Malicious code in @s4yhiitestpoc/r2-https (npm)
Details

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

Source: amazon-inspector (b6042f718b39be380eeda7c31dc46b056e753cb8a39e51897c8106e49b44f4d0)

On npm install, the package's declared postinstall script (postinstall.js) collects installer host fingerprint data — hostname, username, home directory, platform/arch/OS release, current working directory, install directory, DNS server list, non-internal network interface addresses, Node.js version, and npm_* environment values including npm_config_registry — and POSTs the collected JSON to https://collector.oob.s4yhii.com/_npm-poc/beacon. It additionally performs an out-of-band DNS lookup against a subdomain of oob.s4yhii.com (db03o8lag74hsugsg2j091t8mfcf437h3.oob.s4yhii.com) to confirm execution via DNS exfiltration. The destination is a hardcoded author-controlled domain, the behavior fires automatically at install time without consent, and the exfiltrated data includes npm_config_registry which can disclose an internal/private registry URL. A self-described 'PoC' or 'coordinated disclosure' framing does not change the fact that installer-identifying data and internal registry configuration leave the host to a third-party endpoint.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-021432",
            "import_time": "2026-10-11T14:18:05.109109739Z",
            "modified_time": "2026-10-11T13:58:38Z",
            "sha256": "b6042f718b39be380eeda7c31dc46b056e753cb8a39e51897c8106e49b44f4d0",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @s4yhiitestpoc/r2-https

Package

Name
@s4yhiitestpoc/r2-https
View open source insights on deps.dev
Purl
pkg:npm/%40s4yhiitestpoc/r2-https

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "postinstall.js",
            "sha256": "4e1c182ebf45e34a28a3e7b757eb8442d3b307372dbbc0d2b50898c03fb738d6",
            "tlsh": "1871a56619b4063227e52ee169862094972ac767791cbae0721e13485fce1be40f13ff"
        }
    ],
    "package_integrity": [
        {
            "filename": "r2-https-1.0.0.tgz",
            "hashes": {
                "sha1": "d1a8b275e389057883bb2fa12409bde2ebd59390",
                "sha512_sri": "sha512-ZpQdStXjoP5SqnkktnODPZmkHtRAqmO9V+9OPYYTz1KvdzyVtFTXu+KtbV4NA6soinG2FB08rhVCqN8P4tg8hg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@s4yhiitestpoc/r2-https/MAL-2026-17764.json"