MAL-2026-17273

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@hrmony/pladddform-codegen/MAL-2026-17273.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17273
Aliases
  • GHSA-4jh6-g3hw-7qjc
Published
2026-09-29T16:31:55Z
Modified
2026-09-29T17:30:14Z
Summary
Malicious code in @hrmony/pladddform-codegen (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (58f0706d7223f8a1ff87ac80c6e1e42af148214545e55acc865cce12fee7eec4)

On module load, index.js unconditionally beacons to the hardcoded non-first-party endpoint https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_pladddform-codegen and then performs three credential-harvest flows against the installer: (1) queries the AWS instance metadata service at 169.254.169.254 (IMDSv2), enumerates IAM role names, retrieves each role's security credentials, and collects the EC2 identity document, user-data, and network-interface metadata; (2) enumerates all process.env entries; (3) recursively reads /var/run/secrets/ (Kubernetes projected service-account tokens and mounted secrets). The collected data is POSTed to the same hardcoded attacker host. The package name is a typosquat of an @hrmony scoped package with an inflated version (49.99.0) consistent with a dependency-confusion attempt, and it declares an internal-looking sibling dependency @hrmony/kit-5. The exfiltration URL path embeds the package name, indicating a campaign-style beacon per lure.

Source: ghsa-malware (7506445769ecafceaa9997f0a2e50c59f9573d93d70ac74c88e105477033f05a)

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.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-020650",
            "import_time":  "2026-09-29T16:45:37.599162269Z",
            "modified_time":  "2026-09-29T16:31:55Z",
            "sha256":  "58f0706d7223f8a1ff87ac80c6e1e42af148214545e55acc865cce12fee7eec4",
            "source":  "amazon-inspector",
            "versions":  [
                "49.99.0"
            ]
        },
        {
            "id":  "GHSA-4jh6-g3hw-7qjc",
            "import_time":  "2026-09-29T17:25:03.727141533Z",
            "modified_time":  "2026-09-29T17:22:04Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "7506445769ecafceaa9997f0a2e50c59f9573d93d70ac74c88e105477033f05a",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / @hrmony/pladddform-codegen

Package

Name
@hrmony/pladddform-codegen
View open source insights on deps.dev
Purl
pkg:npm/%40hrmony/pladddform-codegen

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

49.*
49.99.0

Database specific

cwes
[
    {
        "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"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "index.js",
            "sha256":  "7c9dea2746e94da25fc2d9ef6b60b6aec3c637e441ede38874ffe630f14d90e6",
            "tlsh":  "f1b1768542fb0421159f75ab8bbba1079036d1473948addc3f9c63842f4e4edea61bcd"
        },
        {
            "path":  "package.json",
            "sha256":  "2b5560af82c16c95e068de362cb0a10f46cfab1fd060f57291cb98c3a81d778d",
            "tlsh":  "e7e0d8108530953349c561a20c5d8457a7624f5b944c3c0833db501c865e9b354fd7aa"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "pladddform-codegen-49.99.0.tgz",
            "hashes":  {
                "sha1":  "f7ec1111833db10f401a12b5a61ce02b09f7d7d0",
                "sha512_sri":  "sha512-IeAfcJ32o6Aezau64P7jT3FK6u44X19ZQzBHfUuMP64R3HOCG72dYPHT3vTZbPuyZPJgF3WSpbqAi21ipvTupQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@hrmony/pladddform-codegen/MAL-2026-17273.json"