Insights

    AI Security

    Agent permissions are not team permissions. They need their own deployment boundary.

    Devence Lab

    · 2 min read

    Share
    Agent permissions are not team permissions. They need their own deployment boundary.
    Photograph · Brecht Corbeel / Unsplash

    Cloudflare can now scope Workers access to individual services and narrower platform roles. The important change for agent deployments is that machine identities no longer need to inherit the same broad account authority as the humans operating them.

    On 15 September, Cloudflare added per-Worker access controls and narrower Developer Platform roles for Workers. The company says administrators can now grant access to individual Workers rather than exposing every Worker in an account, with separate permissions for reading configuration, editing code and observing deployments.

    That sounds like an ordinary IAM improvement. For teams putting agents into deployment and operations workflows, it changes a more important assumption: an agent does not need the authority of the team that owns the service.

    Shared platform roles become dangerous when the caller is autonomous

    Human engineering teams have historically tolerated coarse roles because people operate through review processes, tickets and social controls that sit outside IAM. An autonomous caller has none of those constraints unless they are encoded into the execution path.

    Cloudflare's new model separates account-level roles from resource scope. A principal can receive a role such as Workers Developer or Workers Observability while being limited to selected Workers. Cloudflare explicitly includes agents and CI tokens among the identities that can receive this narrower access.

    The useful unit of least privilege for an agent is the workload it may change, not the team whose credentials it inherited.

    That distinction matters because permission breadth becomes blast radius. An agent intended to troubleshoot one Worker should not gain modification rights over unrelated production services simply because both sit in the same Cloudflare account.

    Agent identity and resource scope should be designed together

    The common control pattern is to create a service identity and then ask which existing role it should receive. That sequence is backwards for autonomous systems. Start with the permitted action and resource boundary, then issue an identity whose authority cannot exceed it.

    Cloudflare's change makes that pattern practical on Workers: separate identities can be constrained to specific services and narrower operational functions. The same design principle applies beyond Cloudflare wherever an agent can deploy, configure, debug or observe production infrastructure.

    This also improves incident handling. Revoking one agent identity or removing its access to one workload is materially safer than rotating a shared token whose permissions span an engineering estate.

    The deployment review now needs an authority map

    Teams introducing infrastructure agents should add an authority map to deployment review: identity, allowed resources, allowed actions, credential lifetime and revocation path. Broad inherited roles should be treated as an exception requiring justification, not as the default integration method.

    Cloudflare has supplied a finer enforcement primitive. The practitioner change is to use it before granting an agent production access. Agent governance becomes enforceable when the workload boundary exists in IAM rather than only in a policy document.

    Sources

    1. Give every teammate and agent the right level of access to your WorkersCloudflare

    Written by the Devence Lab research team.

    Share