MAL-2026-17765

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@s4yhiitestpoc/r3-https/MAL-2026-17765.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17765
Aliases
  • GHSA-798w-mj69-gc2x
Published
2026-10-11T13:58:31Z
Modified
2026-10-13T23:45:04Z
Summary
Malicious code in @s4yhiitestpoc/r3-https (npm)
Details

Dependency-confusion proof-of-concept package. A postinstall script runs automatically on installation and sends host and user identifiers (hostname, username, home directory, network interface addresses, platform details and npm configuration) to collector.oob.s4yhii.com, with a secondary DNS lookup under oob.s4yhii.com. It also performs a reverse DNS lookup of the host's own address and records the name and path of the project that installed it. The script states it is bug-bounty research and does not read secrets or file contents. Any machine that installed this package disclosed the listed host information to a third party.


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

Source: amazon-inspector (b2638f8970897121676d5dc3ed7c002ab9d9ccc3e400283e165297a95e3c1423)

On npm install, postinstall.js automatically collects host identity (hostname, username, uid/gid, homedir, platform, release), enumerates network interfaces (addresses, MACs, CIDRs), reads DNS servers and internal reverse-DNS names, captures npm/CI environment markers and container/runtime indicators, and walks up to eight parent directories to locate the consuming project's package.json and extract its name, version, declaring dependency field, and declared version range. The collected data is POSTed over HTTPS to the hardcoded endpoint collector.oob.s4yhii.com at path /_npm-poc/beacon, and a parallel DNS lookup to a labeled subdomain under *.oob.s4yhii.com is issued as an out-of-band beacon. The consumer manifest harvesting discloses the installer's private project identity and internal package naming to a third-party host and is the characteristic reconnaissance signal of a dependency-confusion targeting pipeline. The endpoint is not caller-configurable and there is no opt-out.

Source: ghsa-malware (ff183ad61b543f94eaae7b4408fed43c924470b6a672090d0500b4836ff36bba)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "iocs": {
        "domains": [
            "collector.oob.s4yhii.com",
            "oob.s4yhii.com"
        ],
        "files": [
            {
                "digests": {
                    "sha256": "cd0d3b55a0161d658c6efcdf4bc172c2a5eccf86e67b380a801662f35fa552fb"
                },
                "paths": [
                    "package/postinstall.js"
                ],
                "source": "PACKAGE_ARCHIVE"
            }
        ],
        "urls": [
            "https://collector.oob.s4yhii.com/_npm-poc/beacon"
        ]
    },
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-021431",
            "import_time": "2026-10-11T14:18:05.039301185Z",
            "modified_time": "2026-10-11T13:58:31Z",
            "sha256": "b2638f8970897121676d5dc3ed7c002ab9d9ccc3e400283e165297a95e3c1423",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "GHSA-798w-mj69-gc2x",
            "import_time": "2026-10-12T19:24:46.905348583Z",
            "modified_time": "2026-10-12T18:56:10Z",
            "sha256": "ff183ad61b543f94eaae7b4408fed43c924470b6a672090d0500b4836ff36bba",
            "source": "ghsa-malware",
            "versions": [
                "1.0.0",
                "0.0.0-stage"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @s4yhiitestpoc/r3-https

Package

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

Affected ranges

Affected versions

0.*
0.0.0-stage
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"
    },
    {
        "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": "postinstall.js",
            "sha256": "cd0d3b55a0161d658c6efcdf4bc172c2a5eccf86e67b380a801662f35fa552fb",
            "tlsh": "aae1f86a05fe113222623af4694b50156776d1633504fbf4b9dd8280afcf0ba42bb7ed"
        }
    ],
    "package_integrity": [
        {
            "filename": "r3-https-1.0.0.tgz",
            "hashes": {
                "sha1": "a8c089e4e2420b847c2eda403438548f3628df51",
                "sha512_sri": "sha512-8eSPg8kwnyi7318K28Gv5HqSHeAz3faWIDW997zmoMmNeUAxcrUOzIAh0x5WB/ljIublvzYqLqhMPnPaxlyCoQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@s4yhiitestpoc/r3-https/MAL-2026-17765.json"