-= Per source details. Do not edit below this line.=-
react-cleaner@1.0.4 is a pino-logger impersonator (package main is pino.js, homepage https://getpino.io, module layout mirrors pino's lib/ tree) that, on require, executes attacker-controlled remote code with the installer's environment in scope. lib/writer.js calls axios.get('https://www.jsonkeeper.com/b/MYUKZ') and passes the response body directly to eval(). jsonkeeper.com is a mutable paste-style host, so the author can rotate the executed payload at any time without republishing. Before the fetch, writer.js assembles a data object containing the entirety of process.env, os.hostname(), os.userInfo().username, os.platform(), and the host's non-internal MAC addresses; this object is in scope when the remote payload runs, giving the attacker direct access to AWS_*, GITHUBTOKEN, NPMTOKEN, and any other secrets present in the installer's environment. A second remote-code channel is hex-obfuscated alongside the plaintext one: a hl array decodes to 'axios','get','https://www.jsonkeeper.com/b/HY6M6','then', confirming deliberate concealment of a backup eval source. The combination — pino impersonation as cover, require-time fetch-and-eval from a mutable anonymous host, bulk env scrape staged in eval scope, hex-obfuscated secondary URL — is an unambiguous credential-harvesting RCE.
{
"malicious-packages-origins": [
{
"source": "amazon-inspector",
"sha256": "11c3d7a072dc204b4c150fae46302a31dafd46c85518d4ba7128fc7d36bf6a53",
"modified_time": "2026-05-26T08:37:58Z",
"import_time": "2026-05-26T09:17:32.530000261Z",
"id": "IN-MAL-2026-004873",
"versions": [
"1.0.4"
]
},
{
"source": "amazon-inspector",
"sha256": "31dbdda8b67e0d3fd9b3d5724d27f3451c558a33fd2fb4051fad460e78dc6bbf",
"id": "IN-MAL-2026-004877",
"import_time": "2026-05-26T09:17:32.972619317Z",
"modified_time": "2026-05-26T09:01:47Z",
"versions": [
"1.0.5"
]
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-cleaner/MAL-2026-4791.json"
[
{
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"package_integrity": [
{
"hashes": {
"sha512_sri": "sha512-4EVeInTSlCTQ2D7Bh9WRvPwDdGhLgWReEbRjmBcG3Dm7HaLqtUjEE4h5tXOHWugPJqKwPp3GpaNkWuBSGn+87w==",
"sha1": "244d6afc7c95f23465af676b38c0d5d8642bb3d9"
},
"filename": "react-cleaner-1.0.4.tgz"
}
],
"evidence_files": [
{
"path": "lib/writer.js",
"sha256": "b514b5173d9d9f56d4d48f4136d8425d155ae22b946620e34e211de091d7a478",
"tlsh": "ab1120a2c392a414223017f248db4820bee5f35120d2418cbebc8ada2bf39e17154fa8"
},
{
"path": "package.json",
"sha256": "2801942ab0ba3760351caf9366532b136dbcc2cadb924f9d2f5abea0ce6e2688",
"tlsh": "91016d14cd388db309e8299148290187aa61dd6b581cbc5cb3c3a31c0f4d6bf15ba57d"
}
]
}