Malicious code in @hrmony/pladddform-application (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (6470f9f3652c9b3b65d783ca46babc5ccf24e0d8d044ca654260168e8f881e17) On module load, the package's main entry point executes three exfiltration routines that POST installer-side secrets to the hardcoded endpoint https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_pladddform-application. (1) An install beacon sends a small JSON confirmation to that URL via top-level await. (2) aws_get() contacts AWS EC2 Instance Metadata Service at 169.254.169.254, obtains an IMDSv2 token, and reads iam/security-credentials/*, identity-credentials/ec2/security-credentials/ec2-instance, the instance identity document, user-data, and network/interfaces/*, then POSTs the collected object to the attacker host. (3) local_get() enumerates all process.env entries and recursively reads every file under /var/run/secrets/ (Kubernetes service-account tokens and mounted secrets) and POSTs the combined payload to the same host. Package metadata (misspelled scoped name @hrmony/pladddform-application, empty description, generic author, self-referential @hrmony/kit-5 dependency) is consistent with a dependency-confusion payload targeting an internal package name. Any require or import of the package on a host with an AWS IMDS endpoint or Kubernetes secret mounts exfiltrates IAM role temporary credentials, environment variables, and mounted secrets to the attacker's h4x.tv domain. ## Source: ghsa-malware (1f2bbcc76b07
MAL-2026-17271
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-17271
@hrmony/pladddform-application
Source reference: /affected/0/package/name
- Affected versions
- 2.99.0
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-application",
"purl": "pkg:npm/%40hrmony/pladddform-application",
"ecosystem": "npm"
},
"versions": [
"2.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."
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@hrmony/pladddform-application/MAL-2026-17271.json",
"indicators": {
"evidence_files": [
{
"path": "index.js",
"tlsh": "82b1868642fb0421159f75ab8bbba1079036d1473948addc3f9c63842f4e4edea61bcd",
"sha256": "451fc7e21d702bb7eb389c30220497166fc45b6f5256dcfb0ab76ac4f2d53a81"
},
{
"path": "package.json",
"tlsh": "d3e0d8108531557345c561a31c5dc467a7624e5b940c3c0833db501c825e9b754fe76a",
"sha256": "82c9fb81d0ec607acb935671e33874062e3bb0680587fffcd08f5b4de1a78194"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "7e8b759aa1f921a79e4d3d3ae68a30a15c0c572d",
"sha512_sri": "sha512-Gf3AZZpThNJNn69FoVAUCFIF9gaJUgN7S2FcB48Z5rM7v40wELsTqCEkY9AJ8aY9QN3LzDeyzyoQpIWcXqDgjw=="
},
"filename": "pladddform-application-2.99.0.tgz"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #29740 · Revision 1
- Added to Heist Feed
- Publisher date