Malicious code in @hrmony/valuenet (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9a6f054c1d690a418a5d18f7d88883085468cc0bdfab8c604e69a82633d2de72) On require/import, the main module of @hrmony/valuenet auto-executes and POSTs installer-side secrets to the hardcoded attacker endpoint https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_valuenet. It queries the AWS Instance Metadata Service at 169.254.169.254 using IMDSv2, harvesting instance identity, EC2 identity credentials, temporary IAM role security-credentials, network-interface data, and user-data. It enumerates the entire process.env object. It recursively reads /var/run/secrets/, the mount point for Kubernetes-projected service-account tokens and secret volumes. All three payloads are transmitted to the attacker-controlled host. The package name and endpoint path (`pkge_hrmony_valuenet`) are consistent with a dependency-confusion probe targeting an internal `@hrmony/*` scope. ## Source: ghsa-malware (3acfdc62bae15bf50db3d6b1b614cb2d996b99842e58ad256ee85c7975b75b70) 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.
MAL-2026-17281
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-17281
@hrmony/valuenet
Source reference: /affected/0/package/name
- Affected versions
- 1.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/valuenet",
"purl": "pkg:npm/%40hrmony/valuenet",
"ecosystem": "npm"
},
"versions": [
"1.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/valuenet/MAL-2026-17281.json",
"indicators": {
"evidence_files": [
{
"path": "index.js",
"tlsh": "d0b1978642fb0421159f75ab8bbba0079036d1473848addc3f9c63842f4e4edea61bcd",
"sha256": "1bea5e140b498080d2760d5456f872111123f21dc163f8ce34ecab7941cde97a"
},
{
"path": "package.json",
"tlsh": "7ee026108530943346c561e20c5e9467bb628e5b840c3c0833db601cc25eeb314febba",
"sha256": "0c35c0b351b2348bac913a04ea97720eb1cb12e0fbe8e5fe806bcd06b094dfa7"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "06d7435ac408e34330b1012162dfd5c6a1d31350",
"sha512_sri": "sha512-lOOflz+84dOREO5yN2UfOkWEMYdLON7t6xGZLfwNpqnfNwLq5opuj2OsJlefaOYqTWc7p953NLgAZA1rYIvRwg=="
},
"filename": "valuenet-1.99.0.tgz"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #29743 · Revision 1
- Added to Heist Feed
- Publisher date