Researchers Link Three Malicious npm Packages to the Axios Attacker

· Original article ↗

Summary

OpenSourceMalware reports three npm packages that steal developer credentials and use a command-and-control server distinct from the Axios attack’s infrastructure. Shared cryptographic artifacts are cited as evidence linking the campaigns.

Key points

  • The packages redeem-onchain-sdk, nicegui, and period-newline reportedly use npm postinstall hooks to execute an infostealer.
  • The malware collects system information and targets credentials and secrets including .env files, AWS credentials, SSH keys, npm settings, and Docker configuration.
  • According to the analysis, the packages encrypt collected data and send it over TCP to 18.208.244.120:9999; they also query api[.]ipify[.]org for external IP discovery.
  • The researchers cite the shared XOR key OrDeR_7077 and similarities in payloads and obfuscation as evidence connecting the packages to the March 2026 Axios compromise.
  • The packages reportedly delete their payload file and modify package.json to hide evidence.
  • The article advises removing the affected packages, auditing installations, rotating potentially exposed credentials, and checking for listed file and network indicators.

Article Details

Attack Vectors
  • The threat actor published malicious NPM packages whose postinstall hooks delivered and executed an infostealer.
  • The original Axios compromise reportedly followed social engineering of the lead maintainer and use of a stolen long-lived NPM token to publish backdoored versions.
  • The malware collected developer credentials and configuration files, gathered system information and Git activity, then exfiltrated encrypted data over TCP.
Defensive Notes
  • Remove redeem-onchain-sdk, nicegui, and period-newline if installed, and review package.json and package-lock.json for affected packages.
  • Rotate potentially exposed AWS, SSH, NPM, Docker registry, and Git repository credentials.
  • Check systems for the malicious index5_test.js payload and /tmp/.redeem_err.log, and review outbound connections to 18.208.244.120.
  • Extend threat hunting beyond the original Axios indicators to include the secondary campaign's infrastructure and package indicators.

Indicators of compromise

TypeIndicatorContext
DOMAINsfrclak[.]comC2 domain reported for the original Axios compromise; the malware was downloaded from this host.
IPV4142[.]11[.]206[.]73C2 infrastructure reported for the original Axios compromise, on port 8000.
IPV418[.]208[.]244[.]120Secondary campaign C2 server used for encrypted TCP exfiltration on port 9999.

MITRE ATT&CK

People

Threat Actors

Products

Countries

Related Articles