MAL-2026-4570

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/gehneb/MAL-2026-4570.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4570
Aliases
  • GHSA-q9pf-x337-xr68
Published
2026-05-25T16:58:10Z
Modified
2026-08-20T11:30:11Z
Summary
Malicious code in gehneb (npm)
Details

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

Source: amazon-inspector (02811600aba146f33bc2f2a8eeee83d8539bf60398695af9f89b80541bbff971)

package.json declares "consolefy": "git+https://github.com/ccndjdjdnnddnd-jpg/sbdrsfhbrfh.git" instead of resolving the legitimate consolefy package from the npm registry. The git URL has no commit SHA, tag, or branch pin, so npm install clones whatever HEAD points to at install time — fully mutable by the owner of that throwaway GitHub account (random-character username, unrelated to the legitimate consolefy publisher). The package's library entry (lib/index.js) transitively loads lib/Classes/Client.js and lib/Classes/CommandHandler.js, both of which require("consolefy") at module top level, so any code the attacker pushes to that repo executes on every installer that requires gehneb. Combined signals: empty description and empty author metadata, short opaque package name, and a Baileys/WhatsApp-bot dependency surface re-published under unrelated branding. The unpinned-attacker-repo override alone provides a silent install-time/require-time RCE channel into the installer's environment.

Source: ghsa-malware (cd08d8ccd5bda23900ab6d6d8595e34593f9bfcf258a419c5eafe017ed7a61b2)

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-004727",
            "import_time": "2026-05-26T05:53:10.065171529Z",
            "modified_time": "2026-05-25T16:58:10Z",
            "sha256": "02811600aba146f33bc2f2a8eeee83d8539bf60398695af9f89b80541bbff971",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "GHSA-q9pf-x337-xr68",
            "import_time": "2026-08-20T11:24:35.971385913Z",
            "modified_time": "2026-08-20T10:35:09Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "cd08d8ccd5bda23900ab6d6d8595e34593f9bfcf258a419c5eafe017ed7a61b2",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / gehneb

Package

Affected ranges

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

Affected versions

1.*
1.0.1

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": "package.json",
            "sha256": "bbb62eeb56394f9c1c118498fe23a217a70d123bde3009341e77822e675e1f7e",
            "tlsh": "c021d024c8149cb305c521fc8dba8642a1bb0a5708acfc1833d9432c4f5d26f34bab7e"
        }
    ],
    "package_integrity": [
        {
            "filename": "gehneb-1.0.1.tgz",
            "hashes": {
                "sha1": "07ed1506d5ae51d90d5cba133b3ce49c24ba5fda",
                "sha512_sri": "sha512-/+L0+Tw3LhZVD1TjiQK/HtsEyO+0aRTiI2kdEQTuEUyRYnt+kdmTLP8WcXd8+mAg2dG0+tsqTdwkov5VQ46/bw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/gehneb/MAL-2026-4570.json"