Researchers Detail Malicious node-ipc Versions That Steal Developer Secrets

· Original article ↗

Summary

Socket and StepSecurity report that node-ipc versions 9.1.6, 9.2.3, and 12.0.1 contain credential-stealing code, with version 12.0.1 gated by a system fingerprint. The malware uses HTTPS and DNS exfiltration.

Key points

  • Socket and StepSecurity identified malicious stealer/backdoor behavior in npm package versions node-ipc 9.1.6, 9.2.3, and 12.0.1.
  • The payload runs when node-ipc is required, without relying on npm lifecycle hooks, and targets developer and cloud credentials and other local secrets.
  • Version 12.0.1 checks a SHA-256 fingerprint of the primary module path before proceeding; the reported 9.x versions do not have this gate.
  • The malware compresses collected data and attempts HTTPS exfiltration to sh[.]azurestaticprovider[.]net, as well as DNS TXT-record exfiltration.
  • StepSecurity reports that the malware redirects DNS resolution to evade monitoring through corporate resolvers and can fork into a detached background process.
  • The versions were published by the account “atiertant,” which the article says had no prior node-ipc publish history and was not connected to the original author.
  • Users are advised to remove the affected versions, reinstall clean versions, rotate credentials, review npm and cloud activity, and block egress to the C2 domain.

Article Details

Attack Vectors
  • Malicious payloads were appended to node-ipc versions 9.1.6, 9.2.3, and 12.0.1 and execute when the package is required at runtime; the malware does not rely on npm lifecycle hooks.
  • Version 12.0.1 checks a SHA-256 fingerprint of the primary module path and proceeds only when it matches a hard-coded target value. The article says the 9.x versions do not have this gate.
  • The obfuscated payload fingerprints the host, enumerates and reads local files, and harvests developer and cloud credentials, including keys and configuration data.
  • Stolen data is compressed into a GZIP archive and exfiltrated through an HTTPS POST and DNS TXT queries. The malware uses DNS/address logic to resolve its C2 and directs exfiltration queries to the C2 IP.
  • The malware forks into detached background child processes to continue exfiltration after the parent Node.js process terminates.
Defensive Notes
  • Remove compromised node-ipc versions 9.1.6, 9.2.3, and 12.0.1, and reinstall a known clean version; the article identifies 9.2.1 and 12.0.0.
  • Assume affected systems may be compromised and rotate credentials and secrets accessible during the exposure window.
  • Audit npm publishing activity for packages accessible with rotated tokens, review workflow run logs, and check cloud logs for unauthorized actions by affected IAM identities.
  • Block egress traffic to the reported C2 domain.

Indicators of compromise

TypeIndicatorContext
DOMAINsh[.]azurestaticprovider[.]netReported command-and-control domain used to receive stolen data through HTTPS and DNS-based exfiltration.

MITRE ATT&CK

People

Products

AWSThe payload targets developer and cloud secrets, including AWS, Google Cloud, Azure, SSH keys, and GitHub configs.Claude AIAmazon Web Services, Google Cloud, Microsoft Azure, SSH keys, Kubernetes tokens, GitHub CLI configs, Claude AI and Kiro IDE settings, Terraform state, database passwords, shell history, and more.GitHub CLIcredentials, including Amazon Web Services, Google Cloud, Microsoft Azure, SSH keys, Kubernetes tokens, GitHub CLI configs, Claude AI and Kiro IDE settings, Terraform state, database passwords, shell history, and more.Google CloudThe payload targets developer and cloud secrets, including AWS, Google Cloud, Azure, SSH keys, and GitHub configs.Kiro IDEServices, Google Cloud, Microsoft Azure, SSH keys, Kubernetes tokens, GitHub CLI configs, Claude AI and Kiro IDE settings, Terraform state, database passwords, shell history, and more.Kubernetes90 categories of credentials, including Amazon Web Services, Google Cloud, Microsoft Azure, SSH keys, Kubernetes tokens, GitHub CLI configs, Claude AI and Kiro IDE settings, Terraform state, database passwords, shellMicrosoft AzureThis includes 90 categories of credentials, including Amazon Web Services, Google Cloud, Microsoft Azure, SSH keys, Kubernetes tokens, GitHub CLI configs, Claude AI and Kiro IDE settings, Terraform state, databasenode-ipcResearchers found malicious code in node-ipc versions 9.1.6, 9.2.3, and 12.0.1 that steals developer and cloud credentials, fingerprints the host, and exfiltrates data to a command-and-control domain.npmUsers should remove the compromised versions, rotate credentials, and audit npm and cloud activity.TerraformMicrosoft Azure, SSH keys, Kubernetes tokens, GitHub CLI configs, Claude AI and Kiro IDE settings, Terraform state, database passwords, shell history, and more.

Related Articles