{"id":"MAL-2026-6530","summary":"Malicious code in xrblocks-remote-control (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6e20199ccf4c5557bf9d6bd0f17f0f74b47aa54389f22247523fb9145ef29def)\nPackage `xrblocks-remote-control` ships a `bin` script that, when invoked (including via `npx` or unintended resolution against the `xrblocks` name), POSTs the basename of `process.env.INIT_CWD` (the installer's project directory name) plus a timestamp to a hardcoded external callback at `https://deepbounty.dd06-dev.fr/cb/46b252ec-a089-4f22-8b5e-5cee945106dc`. The package provides no advertised functionality — `package.json` self-describes as a 'Security PoC for Bug Bounty' and no `main` module is shipped; the bin's sole effect is the outbound beacon. The package name targets Google's `xrblocks` namespace as a dependency-confusion / typosquat probe. Regardless of whether the operator is a bug-bounty researcher, installers and build systems that resolve this package have a project identifier transmitted to a third-party host without consent.\n\n## Source: ghsa-malware (de2e8b166cf80d83908ce089f14e154200213428f88c8949a64e946aa8c69185)\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","aliases":["GHSA-24xr-qqmw-jvvf"],"modified":"2026-07-23T08:04:59.416356542Z","published":"2026-06-26T16:56:03Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-06-26T17:38:00.233993426Z","id":"IN-MAL-2026-007642","modified_time":"2026-06-26T16:56:03Z","versions":["22.0.0"],"source":"amazon-inspector","sha256":"6e20199ccf4c5557bf9d6bd0f17f0f74b47aa54389f22247523fb9145ef29def"},{"sha256":"de2e8b166cf80d83908ce089f14e154200213428f88c8949a64e946aa8c69185","import_time":"2026-07-23T07:45:08.049156211Z","id":"GHSA-24xr-qqmw-jvvf","modified_time":"2026-07-23T01:07:33Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"source":"ghsa-malware"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/xrblocks-remote-control/v/22.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-24xr-qqmw-jvvf"}],"affected":[{"package":{"name":"xrblocks-remote-control","ecosystem":"npm","purl":"pkg:npm/xrblocks-remote-control"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["22.0.0"],"database_specific":{"indicators":{"evidence_files":[{"path":"bin/run.js","sha256":"0a4ce8942c7c75aac05e10711b0851a73d1748922f3900c9477bd069c31d1e48","tlsh":"5e2162815ad25b3422ea1bc0999b9c0b7327a10b3e41e598b95c018c2fc813c9573bce"},{"tlsh":"36d0220f043b2af32ec58dec2c3eb284402c526838618b8d4c043420c8ddbf5b13b74a","path":"package.json","sha256":"f623b0aa55181fc464fd3f13b50b55499c134522dc78c660125ac1c340380429"}],"package_integrity":[{"filename":"xrblocks-remote-control-22.0.0.tgz","hashes":{"sha1":"7863ad2b7b0ce69d66f8b08902c2ae8f9e1a667b","sha512_sri":"sha512-GQS/l4rCKAYO2hzRxT3ycqwtoQ/KHS+oGDhb6gs6yAl1Extkh9PW7phBGVMa+qBzyZY4JsRxnNsz57ObpxY5yA=="}}]},"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"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/xrblocks-remote-control/MAL-2026-6530.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}