Tool Lets Web AI Edit Local Files Directly
Inner-Combination177 · reddit · 2026-07-14
The author shares an open-source solution allowing web-based AIs (like Gemini, ChatGPT, Claude) to directly edit local files, emphasizing that it requires "manual confirmation before execution" by default.
The implementation involves:
- A browser extension monitoring JSON action blocks output by the AI.
- A local Rust daemon receiving requests, checking paths, and queuing execution.
- Files are only written to disk after the user clicks "Allow".
Key security measures highlighted:
- No bash, exec, or shell commands are used; strictly relies on Rust's file system API.
- Root jailing is implemented to prevent path traversal like ../../.
- Listens exclusively to 127.0.0.1.
The project is now on GitHub, inviting users to test, find vulnerabilities, or build upon the API.
More from coding & agent
- An MCP server signs every AI agent tool call into a verifiable Merkle chain — Funky_Chicken_22 · 2026-07-22
- Annotated transcript of a Claude Code team interview is now available — trq212 · 2026-07-22
- Claude Code skill uses 10 Markdown rules to make outputs ADHD-friendly — alex_verem · 2026-07-22
- BUZZ launches as an open-source group chat layer for teams and agents — Scobleizer · 2026-07-22
- A Firecracker-based platform says it can host 6,000 AI agents on one 256 GB server — maritime_sh · 2026-07-22
- A better path to agent autonomy is running waves, finding friction, and iterating — JnBrymn · 2026-07-22