VYPR

npm · Malicious package advisory

Malware

harthat-chain

MAL-2024-7841

Malicious code in harthat-chain (npm)

Details

The package contains a preinstall hook which silently executes a malicious script with downloader functionality. This is characteristic of an ongoing North Korean state-sponsored campaign.

Compromised versions (2)

  • 4.1.2
  • 4.2.3

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.