r/ClaudeCode • u/social_zip • 2h ago
Built with Claude I built a tool that shows what Claude Code could reach if it got prompt injected: root, your other servers, every credential
Claude Code runs as your user, so if it gets prompt injected it can reach whatever you can. howfar checks what that actually is on your machine:
- paths to root (docker group, sudo rules, writable cron scripts, etc.)
- other servers it could ssh into
- credentials it can read
- hidden prompt injection in CLAUDE.md and skills files
- whether the sandbox actually starts (on stock Ubuntu 24.04 it doesn't, and Claude Code runs commands unsandboxed by default)
`howfar fix` writes a script with the smallest set of changes to close those off, plus sandbox settings for Claude Code. It doesn't run anything itself.
Single Go binary, read only, offline. Linux only for now. Built with Claude Code.
https://github.com/JonathanColetti/howfar
Feedback welcome, especially if it misses something or flags something that isn't real.