# GHSA-845P-JQ49-X946: Malicious code in @s4yhiitestpoc/scan-https-d (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-11
- Modified: 2026-10-14

## Affected versions

- @s4yhiitestpoc/scan-https-d (npm): 1.0.0

## Description

## 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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/@s4yhiitestpoc/scan-https-d/MAL-2026-17766.json))

## References

- https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/@s4yhiitestpoc/scan-https-d/MAL-2026-17766.json
- https://www.npmjs.com/package/@s4yhiitestpoc/scan-https-d/v/1.0.0
- https://github.com/ossf/malicious-packages/blob/79f6e6f5315b404b32e173904718f2646cbed02d/osv/malicious/npm/@s4yhiitestpoc/scan-https-d/MAL-2026-17766.json
- https://github.com/advisories/GHSA-845p-jq49-x946

Page: https://cve.now/GHSA-845P-JQ49-X946

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
