{ "schema_version": "1.7.4", "id": "MAL-2026-17879", "published": "2026-10-13T20:15:56Z", "modified": "2026-10-16T06:59:40.923575943Z", "summary": "Malicious code in @flexmr/ui (npm)", "details": "`@flexmr/ui@99.99.99` runs `node beacon.js preinstall`, `node beacon.js install`, and `node beacon.js postinstall` during installation. These lifecycle scripts send the package name, lifecycle event, a fixed token, and host identity details to `177.7.60.239:48080` and encode the hostname in a DNS query under `oob.recon.dev`, probing whether a build resolves the package from the public npm registry; it was published on 2026-10-13.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7ecabe1286807a163b250140c9973d326849393789d1e1bcdc4ba4422dc39532)\n@flexmr/ui@99.99.99 is a scope-squatting placeholder on public npm with package.json declaring preinstall, install, and postinstall all invoking `node beacon.js`, so the payload fires automatically on `npm install`. beacon.js collects os.hostname(), os.userInfo().username, process.cwd(), platform, node version, package name, and the lifecycle event, then transmits them via HTTP GET to the hardcoded bare-IP endpoint http://177.7.60.239:48080 and via a DNS lookup against the hardcoded callback domain oob.recon.dev. The 99.99.99 version is the standard dependency-confusion overshoot used to win resolution against an internal `@flexmr/ui`; any build that references that name will resolve this public package and execute the beacon. Publisher control of this scope slot additionally enables arbitrary future payloads to replace the current identity beacon.\n", "affected": [ { "package": { "name": "@flexmr/ui", "ecosystem": "npm" }, "versions": [ "99.99.99" ], "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": "beacon.js", "sha256": "bdee8d65c1c5b40df70e851eda298aa0729f0a618e11d702a6e9a35285c4e2c3", "tlsh": "f351956ac6f5d17a25a730a143af00ac41b3e1a30b58cb80f88cc2551f55534133eef9" }, { "path": "package.json", "sha256": "1f2f8a19a112cf6e024d832449377f596b5cbebb6fe548cfc2cc8f0cdab0e775", "tlsh": "baf0c0385415ed3728d657d50c3b044a75b24e9f4754a90542db409c96ce72b06bf32f" } ], "package_integrity": [ { "filename": "ui-99.99.99.tgz", "hashes": { "sha1": "4a3663fdfe01b9667f6f1070661fc6756a9fd0dc", "sha512_sri": "sha512-IDOGuCVI7cigjtdE1C6MfKIRAkmWwemo6E/CDRTa+H1VtrmXecJ4FYObmgw5jl//0ui47T6Heuom0w7JnytTMQ==" } } ] } } } ], "references": [ { "type": "PACKAGE", "url": "https://www.npmjs.com/package/@flexmr/ui" }, { "type": "PACKAGE", "url": "https://www.npmjs.com/package/@flexmr/ui/v/99.99.99" } ], "database_specific": { "iocs": { "domains": [ "oob.recon.dev" ], "files": [ { "digests": { "sha256": "1f2f8a19a112cf6e024d832449377f596b5cbebb6fe548cfc2cc8f0cdab0e775" }, "note": "preinstall script: node beacon.js preinstall; install script: node beacon.js install; postinstall script: node beacon.js postinstall", "paths": [ "package.json" ], "source": "PACKAGE_ARCHIVE" }, { "digests": { "sha256": "bdee8d65c1c5b40df70e851eda298aa0729f0a618e11d702a6e9a35285c4e2c3" }, "note": "Executed by the preinstall, install and postinstall scripts of @flexmr/ui@99.99.99.", "paths": [ "beacon.js" ], "source": "PACKAGE_ARCHIVE" } ], "ips": [ "177.7.60.239" ], "urls": [ "http://177.7.60.239:48080" ] }, "malicious-packages-origins": [ { "id": "IN-MAL-2026-021489", "import_time": "2026-10-16T06:57:51.185101264Z", "modified_time": "2026-10-16T06:56:04Z", "sha256": "7ecabe1286807a163b250140c9973d326849393789d1e1bcdc4ba4422dc39532", "source": "amazon-inspector", "versions": [ "99.99.99" ] } ] }, "credits": [ { "name": "Amazon Inspector", "contact": [ "inspector-research@amazon.com" ], "type": "FINDER" }, { "name": "InvisiRisk, Inc.", "contact": [ "https://www.invisirisk.com", "mailto:research@invisirisk.com" ], "type": "FINDER" } ] }