{"schema_version":"1.9.0","id":"MAL-2026-18318","published":"2026-10-23T21:33:58Z","modified":"2026-10-26T03:30:05.184939858Z","summary":"Malicious code in @greenlake/mfe-login-url (npm)","details":"@greenlake/mfe-login-url is a dependency-confusion package: it is described as a \"Compatibility shim\", uses inflated version numbers, and its README calls it an \"authorized dependency-confusion test\". Each listed version (2.0.0, 1.0.0, 3.0.0) has a postinstall script that runs `node beacon.cjs` on npm install, and index.js calls the same code when the package is imported; it POSTs the hostname, install path and current working directory over plain HTTP to `http://185.158.107.175:8787/_ah/dc`, and index.js exports a Proxy that returns no-op functions so builds importing the real package keep running. The npm account wiseke published 14 such packages under the @greenlake, @sxm-web, @drone-js-ext and @ppa-web-components scopes between 2026-10-23 21:23 and 2026-10-25 14:28 UTC; index.js is byte-identical to that of ph-common (MAL-2026-1809), which sends to the same endpoint.","affected":[{"package":{"name":"@greenlake/mfe-login-url","ecosystem":"npm","purl":"pkg:npm/%40greenlake/mfe-login-url"},"versions":["2.0.0","1.0.0","3.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@greenlake/mfe-login-url/MAL-2026-18318.json"}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@greenlake/mfe-login-url"}],"database_specific":{"iocs":{"files":[{"digests":{"sha256":"a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d"},"note":"Main entry point; calls beacon.cjs fire() on import and exports a no-op Proxy. Identical in all listed versions and in ph-common (MAL-2026-1809).","paths":["index.js"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"7702040cc46bba7b68455d8c28dcde546da84b9865e43dbf3aa2133c857c080b"},"note":"postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@greenlake/mfe-login-url@2.0.0).","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"0525465b55c4b5b7f12cc5c4e5321e8f21114ec96533c95ebb52edcfacfcb2b5"},"note":"Executed by the postinstall script of @greenlake/mfe-login-url@2.0.0.","paths":["beacon.cjs"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"c72406caf8b83ef90067918b0a58d012474cd9ed7fb8bdb9e0762ac0667a34b3"},"note":"postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@greenlake/mfe-login-url@1.0.0).","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"0525465b55c4b5b7f12cc5c4e5321e8f21114ec96533c95ebb52edcfacfcb2b5"},"note":"Executed by the postinstall script of @greenlake/mfe-login-url@1.0.0.","paths":["beacon.cjs"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"e25158aa482b59089ec46adb1f317bc617c59cfaf2e88e8d97fd8a1cc30a5d8d"},"note":"postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@greenlake/mfe-login-url@3.0.0).","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"0525465b55c4b5b7f12cc5c4e5321e8f21114ec96533c95ebb52edcfacfcb2b5"},"note":"Executed by the postinstall script of @greenlake/mfe-login-url@3.0.0.","paths":["beacon.cjs"],"source":"PACKAGE_ARCHIVE"}],"ips":["185.158.107.175"],"urls":["http://185.158.107.175:8787/_ah/dc"]}},"credits":[{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}