sftc-advance-components@0.9.9
Malicious code in sftc-advance-components (npm)
Analysis
A terminal snake game that exfiltrates system information during npm install and at runtime. The preinstall script (check-environment.js) and the game constructor both call a hex-obfuscated function (initSystem in utils.js) that collects the victim's username (os.userInfo().username), hostname (os.hostname()), external IP address (fetched from ipify[.]org, myip[.]com, or ifconfig[.]me), configured DNS servers, and the package name/version. This data is hex-encoded, split into subdomain labels, and exfiltrated by performing a DNS resolution against the attacker-controlled domain s[.]3271df58[.]gfde[.]site — the DNS server at that domain receives the encoded system fingerprint, effectively tunneling the stolen data over DNS queries. The package presents a fully playable snake game as cover while the exfiltration runs in the background.
- analyzed by
- Leitwacht
- first seen
- Jun 13, 2026, 08:47 PM
- analyzed
- Jun 13, 2026, 08:48 PM
Related advisories
- rtms-manager@1.0.0
- reseller-app@9.9.11
- rendezvous-js@9.9.11
- qr-code-styling-temp@9.9.10
- atlassian-forge-skills@29.1.0
- poloman@9.2.1
- paypal-examples-openai@99.99.9
- paasprint-sdk@9.9.9
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.