{"id":"MAL-2026-17696","summary":"Malicious code in @dransay/feature-flags (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cc545bbb96903ee25218d8cab1a7d116d2ceb1ba64a3c929c79e56a6fc8e0585)\n@dransay/feature-flags@99.0.0 publishes a scoped name on the public npm registry at an inflated version (99.0.0) designed to win semver resolution against any private internal @dransay/* copy. package.json declares a preinstall hook `node beacon.js`; beacon.js unconditionally performs a DNS lookup and HTTPS GET to the hardcoded interactsh callback host db3klhbi6i9hark1kegg174t38h33b6wt.oast.site on every `npm install`, leaking the installer's public source IP, a timestamp, and confirmation that the scoped name resolved from the public registry to a third-party out-of-band interaction collector. The README self-describes the artifact as a probe of DrAnsay build infrastructure; author self-labeling as research does not change the install-time behavior for any environment whose npm resolves @dransay/* publicly.\n","modified":"2026-10-08T17:25:24.516279838Z","published":"2026-10-08T16:54:29Z","database_specific":{"malicious-packages-origins":[{"versions":["99.0.0"],"id":"IN-MAL-2026-021215","import_time":"2026-10-08T17:17:19.429819003Z","modified_time":"2026-10-08T16:54:29Z","sha256":"cc545bbb96903ee25218d8cab1a7d116d2ceb1ba64a3c929c79e56a6fc8e0585","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@dransay/feature-flags/v/99.0.0"}],"affected":[{"package":{"name":"@dransay/feature-flags","ecosystem":"npm","purl":"pkg:npm/%40dransay/feature-flags"},"versions":["99.0.0"],"database_specific":{"indicators":{"package_integrity":[{"filename":"feature-flags-99.0.0.tgz","hashes":{"sha1":"fcebaa3f8c486545a35613aa3d4489f11ef3484a","sha512_sri":"sha512-42rlCO5zyc1wEX+A5hlFsMwnAbN0YpRFEcWGF3SSvGdZ8YZV7ucO0L7XGv/FORTAV1U1lzyzWlWNF7BkNWUD3A=="}}],"evidence_files":[{"sha256":"5ba13afc2e6d6acf3876a0d06bf8e0e81046d1174bbe4c23ca147c313da3df53","tlsh":"541165ad4ae42b00b1e9f4a8988e01e94f73d1a8844946c0f1cec3ab5e9347c17674fb","path":"beacon.js"},{"path":"package.json","sha256":"f3a916de7c5f5312d3f7f3668fc348be0594f74cb74942df7b88af81b61a9056","tlsh":"7be0f1546f402e3300cd14f11d2c919752f39c6e531c2d4851cb030f536d53553bb19c"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@dransay/feature-flags/MAL-2026-17696.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}