MAL-2026-16156

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/get-power/MAL-2026-16156.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16156
Aliases
  • GHSA-3g9w-hfq8-vr7p
Published
2026-09-14T19:18:30Z
Modified
2026-09-30T05:45:37Z
Summary
Malicious code in get-power (npm)
Details

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

Source: amazon-inspector (e261e4010770fc43fd02cf8c9add484ea5f8a92a21f60682f2aea73f0ce110f7)

get-power impersonates ljharb's get-proto utility (package.json declares author 'Jordan Harband ljharb@gmail.com' and homepage github.com/ljharb/get-power) while mirroring get-proto's file layout as cover. On require(), index.js base64-decodes two bundled files disguised as sourcemaps (parse.ts.map, init.ts.map) into parsetmp.js and config.js, require()s parsetmp.js, then fs.unlink()s all four files to erase traces. The decoded payload fetches an AES-256-CBC encrypted blob from https://www.jsonkeeper.com/b/V6NBX via axios, decrypts it with a hardcoded password/salt, and eval()s the plaintext. Whoever controls that paste has arbitrary code execution on any host that installs and loads the package.

Source: ghsa-malware (a70fd3999ba803e9c66c173bd4e80825b278778f5f3838ab8b29c792a406ae22)

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-020044",
            "import_time":  "2026-09-14T19:37:52.829618548Z",
            "modified_time":  "2026-09-14T19:18:30Z",
            "sha256":  "e261e4010770fc43fd02cf8c9add484ea5f8a92a21f60682f2aea73f0ce110f7",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.3"
            ]
        },
        {
            "id":  "GHSA-3g9w-hfq8-vr7p",
            "import_time":  "2026-09-30T05:28:03.49284099Z",
            "modified_time":  "2026-09-30T05:20:40Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "a70fd3999ba803e9c66c173bd4e80825b278778f5f3838ab8b29c792a406ae22",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / get-power

Package

Affected ranges

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

Affected versions

1.*
1.0.3

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":  "30ce083fc334cc449dd01960e48fb616e7091ddb2c660a9b1179b93c4fcd9b05",
            "tlsh":  "cf41247d27aa012b40d393d79561484e730d5ab6711ec9826d8c45622edb0ec1eefca8"
        },
        {
            "path":  "package.json",
            "sha256":  "9fec3ed692485e8c2f67ae49cff9ca06f39fdb0e28244f4225310ce6080191af",
            "tlsh":  "76411223d669c9f306c05abcba1d54c2a6be41749890ecce8de17a71c1dd472113f78a"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "get-power-1.0.3.tgz",
            "hashes":  {
                "sha1":  "811001a696d3b0cb1676e8522fa3d2d1694ca61c",
                "sha512_sri":  "sha512-RtXfFpoqZ/NkMMM+xnxcC0HMuKyYRHIWcKUalWAkQtCAv6uSQ0IDeOSWjVyUkeiz1CNERA6SK6FLgtqPh+nxHA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/get-power/MAL-2026-16156.json"