MAL-2026-17875Malicious code in monkey-tags-ip (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | monkey-tags-ip | * |
| npm | monkey-tags-ip | 53.4.1 |
{"schema_version":"1.7.4","id":"MAL-2026-17875","published":"2026-10-13T00:00:00Z","modified":"2026-11-03T22:19:48.665813815Z","aliases":["GHSA-97j9-4wmq-rgfv"],"summary":"Malicious code in monkey-tags-ip (npm)","details":"npm user 'conx3993' published this package in a dependency confusion campaign. It squats a name that looks like an internal package and uses version 53.4.1 so misconfigured resolvers pick it over the real one. Version 0.0.0-stage is an empty placeholder. A 'preinstall' hook runs 'ip.js', which poses as an IP geolocation helper. On install it sends an HTTPS GET to attacker-controlled host realwbx.com (/ip?f=json) with a hard-coded 'Authorization' value ('Bearer xHlT6gllTfGbKgdivAKTzWKxrILWlNlv') unique to this package, then discards the response. The token tells the operator which internal package name the victim installed, and the request reveals the victim's public egress IP.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (156e7f5f47312f5f7cd43584abd568920027ab28b6e98f2b65f22cd6a2c4141f)\nmonkey-tags-ip@53.4.1 is a stub package whose entire behavior is an install-time beacon. The `preinstall` script executes `node ip.js`, which unconditionally makes an HTTPS GET to the hardcoded host `realwbx.com/ip?f=json` with a hardcoded Bearer token on every `npm install`, disclosing the installer's source IP and install event to a destination unrelated to the package publisher. The manifest also declares a runtime dependency on a registry package named `https` (^1.0.0), while the code uses Node's built-in `https` module; this shadows the built-in name with whatever bytes the registry serves for `https`, resolving and installing third-party code the package does not own. The package has no legitimate functionality — the beacon and the confusable dependency are its sole content.\n\n## Source: ghsa-malware (b65844d4196bef63b35b809946b56169a4969ea6b2d4e67c9bd703cb548caa81)\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":"monkey-tags-ip","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["53.4.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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"ip.js","sha256":"0351d595ab1ed4cc5a8fcd2836baf21e8cc32df8a759ad201cec1af57f858b98","tlsh":"9111c91666f1310016a7bad9d99b8416b073d057350e5e287e2ec6e01f53a3c6ae37d8"},{"path":"package.json","sha256":"a701504e695e681c73b23b2ba297fcd76011ecb78d47863c5d9906322f2d29bf","tlsh":"f4e0c2b08c21ed3316c426d4187aa607a7e15d1b411cbd2f5793645c86ef26754fb21e"}],"package_integrity":[{"filename":"monkey-tags-ip-53.4.1.tgz","hashes":{"sha1":"ab252e3b013b456aeb02d3f0db5f41c20e3cb590","sha512_sri":"sha512-S+ukEX+UBybuvXym1Zx82YTEgliandTwIb6JV+vQ868BHydgjExfEM7u0cQmxUNF5iHw1Y7yMolokRi/TDkkSQ=="}}]}}}],"references":[{"type":"WEB","url":"https://www.npmjs.com/package/monkey-tags-ip"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/monkey-tags-ip/v/53.4.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-97j9-4wmq-rgfv"}],"database_specific":{"iocs":{"domains":["realwbx.com"],"files":[{"digests":{"sha256":"0351d595ab1ed4cc5a8fcd2836baf21e8cc32df8a759ad201cec1af57f858b98"},"note":"Preinstall beacon to realwbx.com in version 53.4.1.","paths":["ip.js"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://realwbx.com/ip?f=json"]},"malicious-packages-origins":[{"id":"IN-MAL-2026-021914","import_time":"2026-10-29T13:37:16.407271335Z","modified_time":"2026-10-29T13:24:30Z","sha256":"156e7f5f47312f5f7cd43584abd568920027ab28b6e98f2b65f22cd6a2c4141f","source":"amazon-inspector","versions":["53.4.1"]},{"id":"GHSA-97j9-4wmq-rgfv","import_time":"2026-11-03T22:17:46.468037142Z","modified_time":"2026-11-03T22:14:20Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"b65844d4196bef63b35b809946b56169a4969ea6b2d4e67c9bd703cb548caa81","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0