{"id":"MAL-2026-18290","summary":"Malicious code in react-native-bright-sdk (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4208eebeabe05114e68e0b4abf11c9ff176594200c28400fe5c82deb3a5c8f55)\nThe package declares a preinstall lifecycle hook that executes canary.js on `npm install`. The script collects os.hostname() and an install timestamp, base64-encodes the JSON payload, and transmits it via HTTPS GET to the hardcoded endpoint https://estimator-nemeses-unwatched.ngrok-free.dev/canary. The destination is an anonymous, ephemeral ngrok tunnel unrelated to any legitimate publisher infrastructure, and the beacon fires automatically without user opt-in. The package ships no functional code justifying this network activity; it exists only to send the install signal. The version number (9000.0.0) and name resemble a dependency-confusion / namespace-reservation shape targeting internal package resolution.\n","modified":"2026-10-25T15:30:06.559385681Z","published":"2026-10-25T15:11:43Z","database_specific":{"malicious-packages-origins":[{"sha256":"4208eebeabe05114e68e0b4abf11c9ff176594200c28400fe5c82deb3a5c8f55","source":"amazon-inspector","versions":["9000.0.0"],"id":"IN-MAL-2026-021709","import_time":"2026-10-25T15:15:15.819951759Z","modified_time":"2026-10-25T15:11:43Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/react-native-bright-sdk/v/9000.0.0"}],"affected":[{"package":{"name":"react-native-bright-sdk","ecosystem":"npm","purl":"pkg:npm/react-native-bright-sdk"},"versions":["9000.0.0"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"package_integrity":[{"filename":"react-native-bright-sdk-9000.0.0.tgz","hashes":{"sha1":"3d00a777a24e53bee371f569197615c09f74be68","sha512_sri":"sha512-qm54YMFEioEUV/7nfIWpSAF2yTbzb5Vyzvkugu2SPQIiDFqY9jYN12hXRkcnIKBMRoO2z/P02VuehM/BzHF9IA=="}}],"evidence_files":[{"tlsh":"1f01f4b0a2e891741210b4c3d915fc0da17bd0fd3ede23a557851969f9d1438c67774d","path":"canary.js","sha256":"6074ad37a144690f73db03af51dcb13de9a191488b877e3f619e1ae07db055b4"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-native-bright-sdk/MAL-2026-18290.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}