{"id":"MAL-2026-13705","summary":"Malicious code in iconova-react (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4590534a7b05eb30959d9422e2ea700fb525b66b357a62f7ba1795caba4ad799)\niconova-react is a re-hosted copy of lucide-react (every icon file carries a `@license lucide-react` header; the package name is iconova-react but its entry points are `dist/cjs/lucide-react.js` and `dist/esm/lucide-react.mjs`) with a malicious loader injected into two icon modules, `dist/esm/icons/sparkle.mjs` and `dist/esm/icons/sparkles.mjs`. Each module contains a top-level async IIFE unrelated to icon rendering that unicode-escapes the identifiers `http`, `https`, `child_process`, and `spawn`, then queries public Ethereum RPCs (including eth.blockscout.com/api) for the latest transaction from a hardcoded attacker address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, extracts two IPv4 addresses from the low bytes of the transaction recipient field, fetches XOR/base64-encoded stage-2 payloads from `http://\u003cip\u003e:443/0x/cls` and `http://\u003cip\u003e:443/0x/ls`, and executes the retrieved code via `eval(...)` and a detached `spawn('node', ['-e',...], {detached:true, stdio:'ignore'}).unref()`. Sparkles is re-exported from the package's ESM entry `dist/esm/lucide-react.mjs`, so importing the package or the Sparkle/Sparkles icon triggers the loader at import time and yields arbitrary attacker-controlled code execution on the installer's or build server's host. The on-chain dead-drop resolver, unicode-escaped strings, and lucide-react impersonation together mark this as a deliberate supply-chain attack, not an accidental issue.\n\n## Source: ghsa-malware (05abc7001600e5e7dfa93192e6c75bbce675f85d3b063b0cf0742c0fb1585dad)\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-mvp5-cv38-rqfj"],"modified":"2026-08-11T00:50:16.048646979Z","published":"2026-08-10T12:25:20Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-10T12:25:20Z","sha256":"392b2a3a1fac48d18cfd126d3b667f4f91c2992f34bdf4df313f5bd73f33241d","source":"amazon-inspector","versions":["1.30.0"],"id":"IN-MAL-2026-017258","import_time":"2026-08-10T12:51:44.643052202Z"},{"id":"IN-MAL-2026-017259","import_time":"2026-08-10T12:51:44.686330674Z","modified_time":"2026-08-10T12:25:30Z","sha256":"4590534a7b05eb30959d9422e2ea700fb525b66b357a62f7ba1795caba4ad799","source":"amazon-inspector","versions":["1.30.1"]},{"id":"GHSA-mvp5-cv38-rqfj","import_time":"2026-08-11T00:38:01.34542523Z","modified_time":"2026-08-10T16:41:09Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"sha256":"05abc7001600e5e7dfa93192e6c75bbce675f85d3b063b0cf0742c0fb1585dad","source":"ghsa-malware"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/iconova-react/v/1.30.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/iconova-react/v/1.30.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mvp5-cv38-rqfj"}],"affected":[{"package":{"name":"iconova-react","ecosystem":"npm","purl":"pkg:npm/iconova-react"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.30.0","1.30.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/iconova-react/MAL-2026-13705.json","cwes":[{"name":"Embedded Malicious Code","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","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"path":"dist/esm/icons/sparkles.mjs","sha256":"cb5203adf50d4c222e3fa5c0e1d854cbb2b4a04a10b88411cbd2bed7bdb8e81a","tlsh":"712220b1436a9dba87325904cc35be0de1b8d8b52d4be029b82f3c89cf7b1d08791658"},{"path":"package.json","sha256":"fc364464c2cb249496d03c54fdf025b322db61943d6f83f662468066f707b19c","tlsh":"3041cb31ca204ce31be9549cba645143f428451bacd9bc9837d2866c4fae79f50fb2bd"}],"package_integrity":[{"filename":"iconova-react-1.30.0.tgz","hashes":{"sha1":"8047987771bd52f175939abe82b01b25bb0d3227","sha512_sri":"sha512-5cp6hdS2yksuFO6SWtQZ2kXuP4754coa2NokZ+anqPjdJwWqKtYD5rwD0GILeWw5d9x4XsjxJypT2KqZAx1krw=="}}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}