{"id":"MAL-2026-18356","summary":"Malicious code in @webapp-shared/login-vmok (npm)","details":"@webapp-shared/login-vmok is a dependency-confusion package: it uses the `@webapp-shared` scope, which matches a private internal package scope, and was published on 2026-10-27 in versions 1.0.0, 1.0.1, 1.1.0, 2.0.1, 3.0.0 and 99.0.1 so that builds resolving the internal name from the public registry install it instead. Its `postinstall` script runs `node beacon.cjs`, which sends an HTTP POST over cleartext HTTP to the hardcoded IP endpoint `http://13.140.137.222:8787/_ah/dc` with the package name, the machine's hostname, the install directory, the current working directory and the Node.js version; the entry point `index.js` sends the same request again whenever the package is loaded and otherwise has no functionality. The beacon code is the same as in other dependency-confusion packages sending to `http://185.158.107.175:8787/_ah/dc` (e.g. MAL-2026-18276), with only the endpoint and package name changed. The inert `0.0.0-stage` and `0.1.0` placeholder versions carry no install script and are not affected. Any machine that installed an affected version has disclosed its hostname and filesystem layout to a third party; remove the package, pin or scope internal package names to the internal registry, and block 13.140.137.222 on build hosts.","modified":"2026-10-28T06:30:05.011100750Z","published":"2026-10-27T17:08:01Z","database_specific":{"iocs":{"files":[{"note":"postinstall: POSTs hostname, install path, cwd and Node.js version to the IP endpoint","paths":["beacon.cjs"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"8a717c81e8754a677d6e22be57d9be0a508daf456154e14234ca4ecd2dc3908a"}},{"digests":{"sha256":"a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d"},"note":"re-sends the beacon on require and exports a no-op Proxy","paths":["index.js"],"source":"PACKAGE_ARCHIVE"}],"ips":["13.140.137.222"],"urls":["http://13.140.137.222:8787/_ah/dc"]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@webapp-shared/login-vmok"}],"affected":[{"package":{"name":"@webapp-shared/login-vmok","ecosystem":"npm","purl":"pkg:npm/%40webapp-shared/login-vmok"},"versions":["1.0.0","1.0.1","1.1.0","2.0.1","3.0.0","99.0.1"],"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/@webapp-shared/login-vmok/MAL-2026-18356.json"}}],"schema_version":"1.9.2","credits":[{"name":"Robin Frehner, Protet","contact":["https://protet.io","mailto:hello@protet.io"],"type":"FINDER"}]}