{"id":"MAL-2026-10451","summary":"Malicious code in gifuct (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (965f65127a6b6d2a6865e91efe6a878ae1e076b9ef4de23152aef4ee6080038b)\nPackage name typosquats the legitimate `gifuct-js` GIF parser and re-exports it as cover. On module load, code reconstructs the host `filament-zap.vercel.app` and paths `/service/assets/fetchBinary` / `/service/assets/fetchLinuxBinary` from String.fromCharCode numeric arrays, downloads a platform-specific executable, writes it to a `WinMetrics`/`WinService.exe` path under the user data directory, chmods it 0755 on Linux, and spawns it detached with stdio ignored and unref'd. The payload is fetched over an obfuscated, unpinned URL with no hash or signature verification, and the download-and-execute path is unrelated to the advertised GIF-parsing purpose.\n\n## Source: ghsa-malware (479e3353662ebc85c7fb710cc0422e1dcf131a5274b310eaba9ca76c0e7a1430)\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-829c-v26f-5g9m"],"modified":"2026-07-27T10:08:31.599358694Z","published":"2026-07-13T14:22:14Z","database_specific":{"malicious-packages-origins":[{"sha256":"965f65127a6b6d2a6865e91efe6a878ae1e076b9ef4de23152aef4ee6080038b","import_time":"2026-07-13T15:30:31.080511888Z","id":"IN-MAL-2026-010259","modified_time":"2026-07-13T14:22:14Z","versions":["2.1.2"],"source":"amazon-inspector"},{"id":"GHSA-829c-v26f-5g9m","modified_time":"2026-07-27T00:51:14Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"source":"ghsa-malware","sha256":"479e3353662ebc85c7fb710cc0422e1dcf131a5274b310eaba9ca76c0e7a1430","import_time":"2026-07-27T09:43:03.773499067Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/gifuct/v/2.1.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-829c-v26f-5g9m"}],"affected":[{"package":{"name":"gifuct","ecosystem":"npm","purl":"pkg:npm/gifuct"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.1.2"],"database_specific":{"indicators":{"package_integrity":[{"hashes":{"sha512_sri":"sha512-hNdx8pTvyhFHGrJyVKYaBbnnAuA+N/lCSgf5y7wMRBk9BnSYc1onHW8w3qtf4rNF6hGHJYX+6bC+pAJMW4qqXA==","sha1":"50ade8804743a53450ac38e4932eb989a279b0a1"},"filename":"gifuct-2.1.2.tgz"}],"evidence_files":[{"sha256":"def3709faaad3e407f3023f48fdf2952c926c82a8c42b86336554e1f4839352d","tlsh":"7851229331e1606c4b3bd0ee190b9526a55a8a02335de4d0fb9c8e586fc2674b5f16cc","path":"index.js"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/gifuct/MAL-2026-10451.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}