Subscribe to the Non-Human & AI Identity Journal

Notifications
Clear all

Coding agents and action-time authorization: are your controls keeping up?


(@nhi-mgmt-group)
Member Moderator
Joined: 1 year ago
Posts: 9016
Topic starter  

TL;DR: Coding agents can refuse harmful requests in chat while still issuing risky tool calls, so text safety alone does not prevent data leakage or state-changing side effects, according to PermitIO. The control gap is structural: authorization must happen at execution time, not after the model has already planned the action.

NHIMG editorial — based on content published by PermitIO: Tool-Call Safety Is Not Text Safety: Why Coding Agents Need Action-Time Authorization

Questions worth separating out

Q: How should security teams implement action-time authorization for coding agents?

A: Security teams should authorize every tool call at runtime using identity, delegation, resource, and context data.

Q: Why do coding agents need more than text safety controls?

A: Because text safety only evaluates what the model says, while tool safety governs what the system does.

Q: What breaks when agent tool access is governed only by guardrails?

A: Guardrails can shape model behaviour, but they do not reliably deny execution.

Practitioner guidance

  • Move authorization to the tool boundary Require every agent tool invocation to pass a centralized allow or deny decision before execution.
  • Scope exposed tools to the minimum viable workflow Expose only the tools a task genuinely requires, and keep destructive or high-impact actions behind explicit approval or stronger policy checks.
  • Separate attempted calls from executed calls in audit logs Record blocked attempts, approved calls, and executed side effects as distinct events.

What's in the full article

PermitIO's full blog post covers the operational detail this post intentionally leaves for the source:

  • PreToolUse hook examples and permission-mode configuration patterns for coding agents
  • MCP tool scoping and allowlist design details for limiting exposed actions
  • Central policy enforcement flows for allow, deny, and allow-with-approval decisions
  • Audit design guidance for captured attempted calls, executed calls, and side-effect metadata

👉 Read PermitIO's analysis of action-time authorization for coding agents →

Coding agents and action-time authorization: are your controls keeping up?

Explore further

View Full Forum →  |  NHI Foundation Course →



   
Quote
Share: