← VULNERABILITIES

MAL-2026-20604

Malicious code in git-crt-creator (npm)

Unscored
CVSS
—
EPSS
—
Published
2026-11-25
Age
3d old
Modified
2026-11-27
Product
git-crt-creator
Aliases
GHSA-4wjh-p34x-f93x

Description

--- _-= 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

Sources

  • OSV · first seen 3d ago · CC-BY 4.0

References

JSON