Malicious code in @hrmony/pladddform-cli (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (81b9c27ba35a6978a0731d77b7d5fec367f4c2a8b4acc5838588071c89886fa4) On require/import, index.js performs three attacker-benefiting actions against a hardcoded endpoint at https://hrnmn.dd.h4x.tv/. First, it POSTs an unconditional install/import beacon ({'c53':'hello'}) to that host. Second, aws_get() contacts the EC2 Instance Metadata Service at 169.254.169.254, obtains an IMDSv2 token, enumerates IAM roles under /iam/security-credentials/, and retrieves each role's temporary AWS credentials along with user-data and the instance identity document, then POSTs them to the same host. Third, local_get() enumerates every entry in process.env and recursively reads files under /var/run/secrets/ (Kubernetes service-account tokens and mounted secrets) and POSTs the aggregated dump to the same host. The destination domain is unrelated to any AWS, Kubernetes, or legitimate telemetry provider, and the exfiltrated material (IAM instance-role STS credentials, environment variables, and Kubernetes secret material) enables immediate cloud-account and cluster takeover. The package name '@hrmony/pladddform-cli' also resembles a legitimate 'harmony/platform-cli' identifier with letter alterations consistent with typosquatting. ## Source: ghsa-malware (ceb4392164749169650eea1a6de7b1b8ee5b6357fbfaffac9f0d7d24b3b40c6c) Any computer that has this package installed or running should be considered fully compromised
MAL-2026-17272
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:MAL-2026-17272
@hrmony/pladddform-cli
Source reference: /affected/0/package/name
- Affected versions
- 40.14.3
Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "@hrmony/pladddform-cli",
"purl": "pkg:npm/%40hrmony/pladddform-cli",
"ecosystem": "npm"
},
"versions": [
"40.14.3"
],
"database_specific": {
"cwes": [
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@hrmony/pladddform-cli/MAL-2026-17272.json",
"indicators": {
"evidence_files": [
{
"path": "index.js",
"tlsh": "90b1868642fb0421159f75ab8bbba1079036d1473948addc3f9c63842f4e4edea61bcd",
"sha256": "43b62cee5355b0030d88a52d4aed732dc037c8e80f37daa82b943b9fc3add579"
},
{
"path": "package.json",
"tlsh": "48e026208430957349c961a30c9dc867b7b28f5ba44c3c0c33eb641c825eab364fd7aa",
"sha256": "bfd15ced06393e53f041511fc461c8631a623803bad1f33e5b60599e935593a7"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "87f451229b558f839d521bfac6747428438358db",
"sha512_sri": "sha512-J2nr4WJsci5oN60jHdRksR0FGqH4gvd9lP1SzHpzl9oGzpUjKqn4P55M/Y9aiMbJW6Uci4ZYgLKUDcpsVcMJbg=="
},
"filename": "pladddform-cli-40.14.3.tgz"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #29734 · Revision 1
- Added to Heist Feed
- Publisher date