How StepSecurity Detected and Helped Remediate the Axios npm Compromise

· Original article ↗

Summary

StepSecurity says it detected malicious axios versions 1.14.1 and 0.30.4 through package analysis and C2 traffic. The maintainer later confirmed social engineering and npm-token theft; Google and Microsoft attributed the operation to North Korean actors.

Key points

  • StepSecurity’s AI Package Analyst flagged axios versions 1.14.1 and 0.30.4, citing indicators including an undocumented plain-crypto-js dependency and dropped provenance attestation.
  • Harden-Runner detected an outbound connection to sfrclak[.]com from CI/CD runners that had installed the compromised package.
  • The maintainer said an attacker used a fake collaboration setup and a RAT to access their machine and steal a long-lived npm token, allowing malicious versions to be published outside the project’s OIDC-based controls.
  • The attacker also accessed the maintainer’s GitHub account and repeatedly deleted warning issues; GitHub suspended the account and npm removed the malicious packages.
  • Google’s Threat Intelligence Group attributed the attack to UNC1069; Microsoft Threat Intelligence independently attributed it to Sapphire Sleet, which it identified as the same group.
  • StepSecurity used public Harden-Runner insights to identify open-source projects that had installed the compromised package and notify their maintainers.

Article Details

Victim Organization
axios project
Incident Type
npm supply-chain compromise involving maintainer account takeover, theft of a long-lived npm access token, and publication of malicious package versions containing a remote access trojan
Data Types Exposed
  • Long-lived npm access token
Operational Impact
Malicious axios versions 1.14.1 and 0.30.4 were published and could install a remote access trojan on affected machines. The attacker also used the compromised maintainer account to delete security-warning issues. npm removed the malicious packages, and GitHub suspended the compromised account.
Claim Status
confirmed

Indicators of compromise

TypeIndicatorContext
DOMAINsfrclak[.]comC2 domain contacted by CI/CD runners that installed the compromised axios package.

MITRE ATT&CK

People

Threat Actors

Vendors

Products

Related Articles