{"id":"MAL-2026-20604","aliases":["GHSA-4wjh-p34x-f93x"],"title":"Malicious code in git-crt-creator (npm)","originalDescription":" --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (33542ef7bb719b629d51202ceddc0f0c6aee23f4342cb19b851d4a6613f45610) git-crt-creator is part of the Ghost Compiler campaign, a cluster of npm packages published by the account `jikaya497` (jikaya497@gmail.com) between October and November 2026. The weaponized packages in this campaign register themselves as `tsc`, the TypeScript compiler command, and hide their payload in a file that reads as a JavaScript comment but runs as a shell script. How it executes: from version 1.0.2, `package.json` maps `bin.tsc` to `./index.js`, so installing the package links `node_modules/.bin/tsc` to that file. Whichever package is installed last owns that link, so installing git-crt-creator after `typescript` replaces the real compiler. `index.js` has no shebang line and is marked executable (mode 0755). When a build script or CI step runs `tsc`, the kernel cannot execute the file directly and the shell falls back to interpreting it as a shell script. The command substitution inside what a reviewer reads as a JavaScript comment then runs. Payload in 1.0.3 and 10.13.0 (GitHub Actions secret theft): the script downlo","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://www.npmjs.com/package/git-crt-creator/v/1.0.2","type":"package"},{"url":"https://www.npmjs.com/package/git-crt-creator/v/1.0.3","type":"package"},{"url":"https://www.npmjs.com/package/git-crt-creator/v/10.13.0","type":"package"},{"url":"https://github.com/advisories/GHSA-4wjh-p34x-f93x","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-27T16:27:52.117Z","url":"https://osv.dev/vulnerability/MAL-2026-20604","license":"CC-BY 4.0","firstSeenAt":"2026-11-25T16:35:00.279Z"}],"firstSeenAt":"2026-11-25T16:35:00.279Z","publishedAt":"2026-11-25T15:43:40.000Z","modifiedAt":"2026-11-27T15:30:20.804Z"}