Skip to main content
Menu
Advisories

Malicious code in @hrmony/pladddform-testing (npm)

MAL-2026-17280Published Updated OpenSSFMalware

Description

On module import, index.js executes an unconditional exfiltration payload against the installer/runtime host. It queries the AWS EC2 Instance Metadata Service at 169.254.169.254 using IMDSv2 to enumerate the instance identity document, user-data, IAM role names, and the per-role temporary security credentials. It also enumerates every entry of process.env and recursively reads all files under /var/run/secrets/ (the standard Kubernetes service-account and secret mount). The combined data is POSTed to the hardcoded attacker endpoint hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_pladddform-testing, and a separate top-level fetch to the same host beacons successful execution. The package ships no legitimate functionality: its only substantive file is the exfil script, the description is empty, and the name (@hrmony/pladddform-testing) plus the exfil URL path segment (pkge_hrmony_pladddform-testing) match a typosquat/dependency-confusion shape targeting an internal or similarly named scope.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Affected versions

References