MAL-2026-17808

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@s4yhiitestpoc/r2-https-b/MAL-2026-17808.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17808
Published
2026-10-12T05:27:26Z
Modified
2026-10-12T05:45:04Z
Summary
Malicious code in @s4yhiitestpoc/r2-https-b (npm)
Details

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

Source: amazon-inspector (e89449bafb4f816bd8605f45cedf0fec8ec0cff9088007a7a38aaea0a9db91ec)

On npm install, postinstall.js automatically collects installer-side identifying data — hostname, username, home directory, non-internal network interface addresses, DNS servers, current working directory, install directory, and the value of npm_config_registry (which discloses the installer's internal/private npm registry URL) — and POSTs it as JSON over HTTPS to the hardcoded author endpoint collector.oob.s4yhii.com at path /_npm-poc/beacon. In parallel, the script performs a DNS lookup against a unique per-run subdomain under oob.s4yhii.com (dns.lookup of .db03o8lag74hsugsg2j091t8mfcf437h3.oob.s4yhii.com), providing an out-of-band DNS confirmation channel that works even when outbound HTTPS is blocked. The dual-channel beacon, the capture of internal registry configuration, and the fully automated install-time trigger match the fingerprint of a dependency-confusion probe. The package's self-description as a proof-of-concept does not change the behavior: installer-side host and internal-infrastructure data leaves the host to an attacker-controlled destination without opt-in.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-021460",
            "import_time": "2026-10-12T05:29:25.256040939Z",
            "modified_time": "2026-10-12T05:27:26Z",
            "sha256": "e89449bafb4f816bd8605f45cedf0fec8ec0cff9088007a7a38aaea0a9db91ec",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @s4yhiitestpoc/r2-https-b

Package

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

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-b-1.0.0.tgz",
            "hashes": {
                "sha1": "8a275bc95b24a3acaa524dcad29bc9007355fc19",
                "sha512_sri": "sha512-4awAT4uqWnfreXIQ2dwlO2rNOz66od0hf1qIosFZYyqaM1NoUZXnIhHnKZQedq5+aXdUJCwjiqiTqrnsbSO6qw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@s4yhiitestpoc/r2-https-b/MAL-2026-17808.json"