otto-git-cli@4.0.4
Malicious code in otto-git-cli (npm)
Analysis
otto-git-cli@4.0.4 is a trojanized AI-powered Git CLI. The main index.js executes legitimate CLI code via run(), then immediately evaluates a hidden payload encoded as Unicode variation selectors (U+FE00–U+FE0F and U+E0100–U+E01EF) which are decoded to bytes by the s() function and passed to eval(). This steganographic technique evades static analysis by encoding the malicious payload in otherwise-invisible variation selector codepoints. No lifecycle hooks exist, but the payload triggers when the CLI binary is invoked via the npm bin entry point. The legitimate CLI facade (OpenAI integration, git automation, Google Sheets logging) is a convincing cover for the hidden dropper.
- analyzed by
- Leitwacht
- first seen
- Jun 11, 2026, 11:14 PM
- analyzed
- Jun 11, 2026, 11:16 PM
Related advisories
- bubblestring@1.1.4
- express-initial@12.1.7
- node-env-resolver-nextjs@7.4.2
- node-env-resolver-vite@2.4.2
- node-env-resolver@6.5.1
- node-denv@1.3.5
- reading-cookies@6.13.2
- tailwind-typography-plus@2.1.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.