Enforce-mode tool policies: blocking agent install commands before execution

HowDevelop · x · 2026-10-04

A follow-up on constraining coding agents: when an agent runs npm install bad-package, that's a supply-chain decision inside an autonomous workflow. Agent Guard's ToolPolicy with CEL rules in Enforce mode blocks the command before execution. Key caveat: match all wrapper forms like python -m pip and uv pip to avoid bypasses.

Related event: Agent Guard Uses CEL Policies to Block Risky Dependency Installs by Coding Agents(3 posts)→

Original post →

More from coding & agent

coding & agent channel →