MAL-2026-4570Malicious code in gehneb (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
1.0.1 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | gehneb | * |
| npm | gehneb | 1.0.1 |
{"schema_version":"1.7.4","id":"MAL-2026-4570","published":"2026-05-25T16:58:10Z","modified":"2026-08-20T11:26:25.602898803Z","aliases":["GHSA-q9pf-x337-xr68"],"summary":"Malicious code in gehneb (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (02811600aba146f33bc2f2a8eeee83d8539bf60398695af9f89b80541bbff971)\npackage.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.\n\n## Source: ghsa-malware (cd08d8ccd5bda23900ab6d6d8595e34593f9bfcf258a419c5eafe017ed7a61b2)\nAny 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.\n","affected":[{"package":{"name":"gehneb","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["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=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/gehneb/v/1.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-q9pf-x337-xr68"}],"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"}]},"credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0