MAL-2026-17267

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@hrmony/lohndateien/MAL-2026-17267.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17267
Aliases
  • GHSA-xq9r-4rp7-86c2
Published
2026-09-29T16:29:39Z
Modified
2026-09-29T17:30:14Z
Summary
Malicious code in @hrmony/lohndateien (npm)
Details

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

Source: amazon-inspector (743e2b2a4a3cf2758e6eb457dbc47857751d31379b13a48a2da25fc23f8e9701)

index.js executes on module load and performs three attacker-beneficial actions against a hardcoded remote endpoint at https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_lohndateien. First, an unconditional POST beacon ({"c53":"hello"}) signals a successful install/import. Second, the module queries the AWS instance metadata service at 169.254.169.254 using IMDSv2 (PUT /latest/api/token) to enumerate instance identity, user-data, and IAM role security credentials from /latest/meta-data/iam/security-credentials/, then POSTs the collected object to the same host. Third, local_get() iterates process.env into a dictionary and recursively reads /var/run/secrets/ (Kubernetes service-account tokens and mounted secret files), POSTing both structures to the same endpoint. The destination host is unrelated to any declared publisher infrastructure and the URL path embeds the package name, consistent with a targeted dependency-confusion or supply-chain attack. Installing and loading this package on an EC2 host or in a Kubernetes workload yields the attacker full AWS role credentials, all environment variables (including secrets and tokens), and any mounted Kubernetes secrets.

Source: ghsa-malware (b4d72aaf224d02f991bc113168187540eae0db2345f5bad0f24f82ea76433906)

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-020636",
            "import_time":  "2026-09-29T16:45:36.425588835Z",
            "modified_time":  "2026-09-29T16:29:39Z",
            "sha256":  "743e2b2a4a3cf2758e6eb457dbc47857751d31379b13a48a2da25fc23f8e9701",
            "source":  "amazon-inspector",
            "versions":  [
                "3.99.0"
            ]
        },
        {
            "id":  "GHSA-xq9r-4rp7-86c2",
            "import_time":  "2026-09-29T17:25:03.751180619Z",
            "modified_time":  "2026-09-29T17:22:10Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "b4d72aaf224d02f991bc113168187540eae0db2345f5bad0f24f82ea76433906",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / @hrmony/lohndateien

Package

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

Affected ranges

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

Affected versions

3.*
3.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":  "a60b8538c789936909478735f9116de10b76f13a082957d7cde95731ac2d9bcf",
            "tlsh":  "52b1968642fb0421159f75ab8bbba0079036d1473848addc3f9c63842f4e4edea61bcd"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "lohndateien-3.99.0.tgz",
            "hashes":  {
                "sha1":  "e8d9444dc384d0398f5f61a58d013ec8c1be3f0d",
                "sha512_sri":  "sha512-9kIgPvad1nkZjs8wv4RCqMMMthMSImlrgI04dlGBBvtA4R5cHr7aF68wJHhXlCATsCUZRRzoEdXTAcmtvi0gUQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@hrmony/lohndateien/MAL-2026-17267.json"