Malicious code in @s4yhiitestpoc/scan-https-d (npm)
Description
The npm package @s4yhiitestpoc/scan-https-d version 1.0.0 contains malicious code that collects detailed installer host information during installation and sends it to a hardcoded external server. This includes hostname, username, home directory, current working directory, network interface addresses, DNS servers, and platform details. The package is labeled as a dependency-confusion proof-of-concept but exfiltrates sensitive environment data without user consent.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @s4yhiitestpoc/scan-https-d npm package (version 1.0.0) executes a post-install script that gathers extensive system and network information from the host machine. It collects os.hostname(), os.userInfo().username, home directory, current working directory, non-internal network interface addresses, DNS servers, and platform/architecture/release details. This data is sent as JSON via HTTPS POST to a hardcoded external endpoint (https://collector.oob.s4yhii.com/_npm-poc/beacon). Additionally, the package performs a DNS lookup against *.oob.s4yhii.com as an out-of-band signal. Although the package is self-described as a dependency-confusion proof-of-concept targeting internal namespaces, it effectively leaks sensitive host identifiers to an unauthorized third party during installation.
Potential Impact
Sensitive host environment information is exfiltrated to an external server without user consent during package installation. This can lead to privacy violations and may aid attackers in reconnaissance or further targeted attacks. There is no indication of further exploitation or active attacks in the wild.
Mitigation Recommendations
No official patch or remediation is indicated. Users should avoid installing this package or any packages from the @s4yhiitestpoc scope. Review and audit npm dependencies carefully before installation, especially those from untrusted or unknown sources. Consider using tools that detect malicious post-install scripts. Since this is a malicious package, removal from projects and registries is recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17766
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6acc00a32cdf04f656fecb29
Added to database: 10/11/2026, 21:33:23 UTC
Last enriched: 10/11/2026, 21:43:36 UTC
Last updated: 10/11/2026, 21:43:36 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.