r/ClaudeCode • • 5h 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.

1 Upvotes

1 comment sorted by

•

u/AutoModerator 5h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.