Indonesia Healthcare Corporation IHC ICT Cybersecurity emblem
Theme
Language
Advisory BSSN

Security Advisory : Ancaman Serangan Supply Chain npm pada Axios

08 April 2026
Security Advisory: npm Supply Chain Attack Threat on Axios

Summary

On March 30, 2026, a supply chain attack was detected targeting the JavaScript HTTP client library, Axios. A compromised maintainer account was leveraged to release malicious versions of Axios to the npm registry.

Affected Products

Technical Details

An attacker leveraged a compromised maintainer account to publish malicious Axios packages to npm. The attacker injected hidden dependencies that act as a cross-platform (macOS, Windows, Linux) Remote Access Trojan (RAT) dropper executed via a postinstall script. Upon execution, the payload establishes contact with a Command and Control (C2) server to exfiltrate sensitive information. Subsequently, the malware covers its tracks by restoring the clean package.json file to evade forensic detection.

Impact

Potential system compromise via cross-platform RAT and exfiltration of sensitive information, including keys and credentials stored in environment variables.

Mitigation

  • Update Axios to the latest secure version or downgrade to a safe version.
  • Delete the node_modules directory and package-lock.json file, clear the registry cache, and perform a clean reinstall.
  • Immediately rotate environment variable keys and credentials if a compromised version was installed.
  • Block suspicious outbound network traffic.

References

  • Ancaman Serangan Supply Chain npm pada Axios

Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.

Advisory Lain