Claude Code leaked features and hidden commands
11 hours ago
- #AI Development
- #Claude Code
- #Source Leak
- Claude Code's TypeScript source was leaked via an npm sourcemap, revealing 1,884 files.
- The leak uncovered 8 unreleased features, 26 hidden slash commands, 32 build flags, and 120+ secret environment variables.
- Unreleased features include BUDDY (AI companion pet), KAIROS (persistent assistant), ULTRAPLAN (30-minute remote planning), and Coordinator Mode (multi-agent).
- Undocumented launch flags include --bare (no hooks/plugins/memory), --dump-system-prompt, and --daemon-worker for daemon subprocesses.
- 32 feature flags compiled into the binary control features like persistent assistant, voice mode, and multi-agent capabilities.
- Gradual rollout gates (tengu_* namespace) manage feature access, such as tengu_malort_pedway for computer use and tengu_kairos for assistant mode.
- Runtime overrides and safety bypass environment variables allow configuration changes, including disabling safety features, which is dangerous.
- Anthropic internal tools include undercover mode to strip AI evidence from public commits and hardcoded SDK API keys for development environments.
- Pricing details reveal Opus 4.6 fast mode costs 6× more than normal, and web search is billed at $0.01 per query.
- References to next models like 'opus-4-7' and 'sonnet-4-8' were found, along with 22 secret Anthropic repos exposed in the code.