Your agent has 5 approved tools — what stops it using a 6th? Least privilege in 4 steps

BastionShield · reddit · 2026-12-03

Most teams set agent tool lists once and never revisit them, yet agents pick tools at runtime—a confusing prompt, a retrieved document, or improvisation can push them toward tools they were never granted.

The author's four-step control: enumerate each agent's exact allowed tools; deny by default and flag anything outside the list; log every denied attempt (agent, tool, time) as your earliest warning; review monthly since tools only accumulate. Least privilege for agents is a control that runs on every action, not a document.

Original post →

More from coding & agent

coding & agent channel →