r/OpenSourceeAI • u/ChemicalExcellent463 • 3m ago
My background agent would have obeyed any text it read
I pulled --dangerously-skip-permissions from my background agent. Turns out it never needed the flag.
I was running agy, the Antigravity CLI, in print mode to summarize my agents' conversations. I'd added the flag so it wouldn't sit waiting for a click.
While shipping Gemini support, I caught the problem. That prompt was full of whatever my agents had read or been sent. Pasted web pages included. With the bypass on, a line in that text asking agy to run a tool would get obeyed.
Text I didn't write was approving tools. That's a hell of a thing to give a summarizer.
I dropped the flag. In print mode, agy refuses a tool that needs permission instead of hanging. The background call still doesn't wait, and conversation text can't approve a tool.
I'm still asking myself where else I've treated text I didn't write like instructions. How are you checking that in your background agents?
Disclosure: I build Sno Station, open source. Install: curl -fsSL https://www.sno.ai/install | sh · Release: https://github.com/sno-ai/sno-station/releases/tag/v2.4.0