What an agent approval prompt must show to catch prompt injection

ComprehensiveShake76 · reddit · 2026-10-29

The author describes moving from approving every agent command (and rubber-stamping them) to a container-based setup: each agent runs in its own Linux container on a Mac with no home folder and no passwords, tasks ask zero times, files only reach the host on save, and code arrives with real test output. That fixed approval fatigue but not injection.

Proposed requirements for an approval screen that could actually catch injected actions:

The author's line: an approval given without reading is a habit, not a check. Limits acknowledged: one small setup on one Mac; a container is a strong boundary but not a guarantee, limiting reach rather than detecting injection. Ends by asking what others' approval screens show and whether they ever caught anything.

Original post →

More from coding & agent

coding & agent channel →