MAL-2026-17766

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@s4yhiitestpoc/scan-https-d/MAL-2026-17766.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17766
Aliases
  • GHSA-96fg-4mp3-2hj5
Published
2026-10-11T13:58:59Z
Modified
2026-10-26T01:15:03Z
Summary
Malicious code in @s4yhiitestpoc/scan-https-d (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. 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 (1a1dd63de3f5e380c573cd6bcf885c9d0c7a5c503959dfde1a6c8b963a6ddaea)

On npm install, postinstall.js collects installer host identity — os.hostname(), os.userInfo().username, home directory, cwd, non-internal network interface addresses, DNS servers, and platform/arch/release — and POSTs it as JSON over HTTPS to the hardcoded endpoint https://collector.oob.s4yhii.com/_npm-poc/beacon, with a secondary DNS lookup against *.oob.s4yhii.com as an out-of-band execution signal. The package's scope (@s4yhiitestpoc/*) and metadata self-describe this as a dependency-confusion proof-of-concept targeting internal namespaces that resolve to the public registry; the self-labeling does not change the fact that installer host identifiers leave the installer's machine on install to a hardcoded third-party domain the installer did not opt into.

Source: ghsa-malware (457a0590dc86280c4cf92455b4121b0e46a63a7ce8bef4705fc71320e775e1ac)

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":  "f23aca67400de96abcfaa7a7c0ef987ebe14cef43467110595c8abc4a51f532d"
                },
                "paths":  [
                    "package/postinstall.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ],
        "urls":  [
            "https://collector.oob.s4yhii.com/_npm-poc/beacon"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-021434",
            "import_time":  "2026-10-11T14:18:05.348764552Z",
            "modified_time":  "2026-10-11T13:58:59Z",
            "sha256":  "1a1dd63de3f5e380c573cd6bcf885c9d0c7a5c503959dfde1a6c8b963a6ddaea",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        },
        {
            "id":  "GHSA-96fg-4mp3-2hj5",
            "import_time":  "2026-10-26T00:59:31.619411905Z",
            "modified_time":  "2026-10-26T00:13:30Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "457a0590dc86280c4cf92455b4121b0e46a63a7ce8bef4705fc71320e775e1ac",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / @s4yhiitestpoc/scan-https-d

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

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"
    },
    {
        "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":  "f23aca67400de96abcfaa7a7c0ef987ebe14cef43467110595c8abc4a51f532d",
            "tlsh":  "fa51a75512b0237137f12ad0a84e54f5d322c3a6795979e4b18d02846bcb4fa42b62fb"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "scan-https-d-1.0.0.tgz",
            "hashes":  {
                "sha1":  "f50c0ae29c524e0f135059f4c3779ed2906c2dd1",
                "sha512_sri":  "sha512-1xxUqIEv1UbxyZhi/GGYOFDfw1ezF4Ny8LGm/Vas2bWUU97X+dl/PrgOkV7zsbSazyk69DzGPuDw6lhN10jzbw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@s4yhiitestpoc/scan-https-d/MAL-2026-17766.json"