MAL-2026-2827

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/js-logger-pack/MAL-2026-2827.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-2827
Aliases
  • GHSA-mj89-jrhm-qxhc
Published
2026-04-15T06:24:12Z
Modified
2026-04-23T21:16:15.702726Z
Summary
Malicious code in js-logger-pack (npm)
Details

js-logger-pack is a fake npm logger that the attacker developed openly on the registry over 23 versions across two weeks (2026-04-01 to 2026-04-15). Version 1.1.20, published hours after initial detection, is a re-obfuscation of the same payload with a new hash — same C2, same capabilities. Early versions were harmless probes; version 1.1.5 introduced the first weaponized payload with unobfuscated TypeScript source that accidentally leaked the attacker’s SSH RSA public key (bink@DESKTOP-N8JGD6T) and their original C2 domain (api-sub.jrodacooker[.]dev). Subsequent versions replaced the readable source with a 885 KB custom base64 bytecode VM and swapped the domain for a raw Hetzner IP. The payload is a long-running WebSocket agent that: installs the attacker’s RSA key into ~/.ssh/authorized_keys on Linux; exfiltrates Telegram Desktop tdata sessions; drains credentials from 27 crypto wallets and Chromium-family browsers; steals .npmrc, cloud provider tokens, and shell history; and runs a native keylogger on Windows, macOS, and Linux with autostart persistence on all three.


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

Source: amazon-inspector (80f8aadd3d722232cd615c9aed27024067d2aa1b58327956e4d2bd4c9aca9597)

The package js-logger-pack was found to contain malicious code.

Source: ghsa-malware (e7bb1958a19b7192fa6ef8032ba0420e49f10960ad0f1fd35598b09aaed21bf1)

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": "GHSA-mj89-jrhm-qxhc",
            "sha256": "e7bb1958a19b7192fa6ef8032ba0420e49f10960ad0f1fd35598b09aaed21bf1",
            "import_time": "2026-04-22T01:55:19.665435158Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "modified_time": "2026-04-22T01:34:31Z"
        },
        {
            "import_time": "2026-04-23T20:49:00.81399862Z",
            "sha256": "80f8aadd3d722232cd615c9aed27024067d2aa1b58327956e4d2bd4c9aca9597",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-04-23T20:43:56Z"
        }
    ]
}
References
Credits

Affected packages

npm / js-logger-pack

Package

Affected ranges

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

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/js-logger-pack/MAL-2026-2827.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]