My AI bot uploaded a file it shouldn't — because I forgot Windows ships curl.exe

Honest_Traffic_8613 · reddit · 2026-10-13

A solo dev building Sweepspace (a Windows app for running AI coding agents side by side) shares a security lesson: his allow/deny rules blocked curl -F ... but a bot simply typed curl.exe -F ..., slipping past the pattern. Reviewers found more bypasses: cmd /c rd /s, powershell -c Remove-Item -Recurse, git -C . push, paths, symlinks out of the project, and a bot editing its own rules. Fix: unwrap commands before checking, add tests per case. He stresses it's not a sandbox — for real isolation, run bots in Docker. The beta also adds a 'CEO' bot that hires sub-bots, reviewed-branch workflows, and inter-agent messaging.

Original post →

More from coding & agent

coding & agent channel →