paasprint-sdk@9.9.9
Malicious code in paasprint-sdk (npm)
Analysis
The package poses as a no-dependency terminal snake game but its preinstall hook runs node check-environment.js, which (with an isDev=true flag) calls initSystem() in utils.js instead of showing the game banner. initSystem is hex-string obfuscated: it gathers host reconnaissance — os.userInfo().username, os.hostname(), the machine public IP (fetched via https from api[.]ipify[.]org, api[.]myip[.]com, or ifconfig[.]me/ip), the installed package name and version, and the host DNS servers from dns.getServers() — joins them with *, hex-encodes the result, and splits it into four DNS labels. It appends the suffix .s[.]3271df58[.]gfde[.]site and performs a dns.resolve4() lookup on the assembled hostname, exfiltrating the collected recon to the attacker-controlled domain gfde[.]site (subdomain 3271df58[.]gfde[.]site) via DNS queries. It steals no credentials, but it is an automatic install-time recon beacon that exfiltrates host/network identifiers to a remote domain. IOCs: DNS exfil domain *.s[.]3271df58[.]gfde[.]site; IP-discovery callbacks api[.]ipify[.]org, api[.]myip[.]com, ifconfig[.]me/ip.
- analyzed by
- Leitwacht
- first seen
- Jun 12, 2026, 12:14 AM
- analyzed
- Jun 12, 2026, 12:15 AM
Related advisories
- oc-navbar-module-client@9.9.10
- @whatnot-web/www-legacy@99.1.2
- mermaid-v11@9999.0.0
- mimecast-web-components@2.0.0
- sme-rko-finance-front-operations-notifications-impl@35.8.1
- dolyame-ui-cardlogo@35.8.1
- dolyame-ui-contextmenu@35.8.1
- dolyame-ui-contenteditable@35.8.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.