{"answers":{"affected":"1 open source package ship an affected version, including @usemosaik/template-react-js.","exploited":"There is no known exploitation of MAL-2026-16047 in the wild and no public exploit code.","fix":"Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.","what":"MAL-2026-16047 is a malicious package in @usemosaik/template-react-js, published on 8 Sep 2026."},"fix_prompt":"MAL-2026-16047 is a malicious package: @usemosaik/template-react-js (npm). Every version was published to cause harm.\n\nTask:\n1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.\n2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.\n3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.\n4. If the package is not used anywhere, say so and change nothing.\n\nReference: https://insights.sbomify.com/MAL-2026-16047/ (Markdown: https://insights.sbomify.com/MAL-2026-16047/index.md)","id":"MAL-2026-16047","markdown":"https://insights.sbomify.com/MAL-2026-16047/index.md","name":"MAL-2026-16047","record":{"aliases":["GHSA-8rcc-9ggm-659p"],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"This template package ships files/vite.config.js which, after a benign Vite header, appends ~26KB of heavily obfuscated code (obfuscator.io-style string-array with rotation dispatcher, hex payloads XOR-decoded at runtime with key 0xA2, arithmetic-hidden numeric literals). When the scaffolded project is run via `vite` / `npm run dev`, the config executes a `run()` routine that queries Ethereum JSON-RPC endpoints (`eth_getBlockByNumber`, `eth_getTransactionCount`) against a hardcoded sender address to resolve a command-and-control IP hidden in on-chain transaction data, fetches an XOR-encrypted payload over HTTP, decrypts it, and passes it to both `eval(...)` and `spawn('node', ['-e', payload], {detached: true, stdio: 'ignore', windowsHide: true})`, yielding a hidden detached Node process on the developer's machine. The package's declared `main` (dist/index.js) is inert, so scanners inspecting only the entry point miss the payload; the obfuscation and EtherHiding indirection exist solely to conceal the remote-execution chain from static review. Execution fires the first time a developer runs the scaffolded project generated from this template, giving full RCE on the developer's host.\n\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.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"Malicious code in @usemosaik/template-react-js (npm)","id":"MAL-2026-16047","indexable":true,"kev":null,"kind":"malicious","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":1,"n_references":null,"packages":[{"ecosystem":"npm","fixed":[],"introduced":[],"last_affected":[],"package":"@usemosaik/template-react-js","purl":"pkg:npm/%40usemosaik/template-react-js","source":"MAL-2026-16047"}],"products":null,"published":"2026-09-08","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"OpenSSF Malicious Packages","prefix":"MAL"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":null,"url":"https://insights.sbomify.com/MAL-2026-16047/"}