{"id":"MAL-2026-11140","summary":"Malicious code in korvica (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (065729796ad9ceb2c9939587ce1f61b78bdf36fc13807ace7e2383c22f5e61ba)\nOn import, a top-level async IIFE in index.mjs gates on process.platform === 'linux' and NODE_ENV!== 'production', checks for a WSL host mount at /mnt/c, locates the Windows user profile, fetches an opaque binary from https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/vite-dep.dat, and writes it to the Windows Startup folder as %APPDATA%/Microsoft/Windows/Start Menu/Programs/Startup/vite-native-helper.exe so that the binary executes on the next Windows login. The URL host, bucket, filename, and dropped executable name are assembled from single-letter variables and template literals rather than appearing as string literals, and the dropped file uses a vite-adjacent name to blend in with legitimate tooling. The fetched payload is not pinned, not verified, and unrelated to any documented package purpose.\n","modified":"2026-07-28T14:37:02.118956600Z","published":"2026-07-28T13:42:51Z","database_specific":{"malicious-packages-origins":[{"versions":["1.0.0"],"id":"IN-MAL-2026-010965","import_time":"2026-07-28T14:20:01.732085582Z","modified_time":"2026-07-28T13:42:51Z","sha256":"065729796ad9ceb2c9939587ce1f61b78bdf36fc13807ace7e2383c22f5e61ba","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/korvica/v/1.0.0"}],"affected":[{"package":{"name":"korvica","ecosystem":"npm","purl":"pkg:npm/korvica"},"versions":["1.0.0"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"path":"index.mjs","sha256":"c560a362e88cabaeb15c4009afaa0b3b9fa9b1adf1c8dae8c8d2ac97d4505b79","tlsh":"80817796ceba23384ab1d1b16f8bc65bf319e1323a45d4a4705c96142f47825c23ef8e"}],"package_integrity":[{"filename":"korvica-1.0.0.tgz","hashes":{"sha1":"ce0788d634eaa656d94bb10a034770ce43eaef59","sha512_sri":"sha512-Roe0Mz9hkqWp02WTGyIQqUpt3/weMXRP0kilGzQUrGpcJQo0XkbRsFDqJmg3whijGJ3qmZDbjriivEvf1Fwj0Q=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/korvica/MAL-2026-11140.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}