Malicious code in @hrmony/pladddform-infrastructure (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9a26b9f2a46bdc8abd9882683d792c8fff6d94a9b89cc68162339e7fede47ceb) On any require/import of @hrmony/pladddform-infrastructure, top-level code POSTs a beacon to the hardcoded attacker endpoint https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_pladddform-infrastructure (host encodes the package name in the path). An aws_get() routine calls the AWS Instance Metadata Service at 169.254.169.254 using an IMDSv2 token, enumerates instance/identity metadata, iterates iam/security-credentials/ to retrieve short-lived IAM role credentials, and ships the result to the same attacker host. A local_get() routine serializes the entire process.env and recursively reads /var/run/secrets/ (Kubernetes service-account tokens and mounted secrets), then POSTs the combined blob to the same endpoint. The package also declares a runtime dependency on @hrmony/kit-5 under the same scope, pulling additional code controlled by the same actor into any installer's environment. The package name and scope resemble a legitimate internal-sounding infrastructure package (typosquat/dependency-confusion shape targeting an internal '@harmony/platform-infrastructure'-style name). ## Source: ghsa-malware (fedcb513cf9f7b4f7d6598b35e8076c44199eadc1f143d5f46787b7635e0c30b) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be r
MAL-2026-17277
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-17277
@hrmony/pladddform-infrastructure
Source reference: /affected/0/package/name
- Affected versions
- 40.14.3
Source reference:
/affected/0/versions40.99.0Source 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-infrastructure",
"purl": "pkg:npm/%40hrmony/pladddform-infrastructure",
"ecosystem": "npm"
},
"versions": [
"40.14.3",
"40.99.0"
],
"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."
},
{
"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-infrastructure/MAL-2026-17277.json",
"indicators": {
"evidence_files": [
{
"path": "index.js",
"tlsh": "37b1868642fb0421159f75ab8bbba1079036d1473948addc3f9c63842f4e4edea61bcd",
"sha256": "94d3bcd210bb0a51dabbba38bab80f093d6d39d0ef974f6351bd8355b7b8cbdb"
},
{
"path": "package.json",
"tlsh": "12e0d8208431957349d961a20c5d8857b7628f57940c3c0c33eb541cc25eab794fd76e",
"sha256": "64493c8d4978222023b3b0d91d2f8667d4ebb372f1046edc05e9a6b81d3804f3"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "14ac10bd1a1fec2fa2afa5d7089babd746c7eb75",
"sha512_sri": "sha512-iqXMT+PX0vJRsi2iLQxpCM2NcWX0jKSpSoGtZg1g3RsiFez6yhiEFRzzQRM5dDkEbkc6xfv+jByF8nH4idK0zw=="
},
"filename": "pladddform-infrastructure-40.14.3.tgz"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #29719 · Revision 1
- Added to Heist Feed
- Publisher date