Recent findings from a CloudBolt audit revealed that over 20% of MCP‑related access policies were broken or missing, and many agents were executing under personal tokens instead of dedicated service accounts. In response, CloudBolt showcased a technique to tie each agent action to the originating requestor, addressing the blind spot where audit logs could not reveal who actually asked the agent to act.
Audit Gaps Exposed
The audit highlighted two concrete problems. First, agents often inherited a personal developer token, which places the engineer’s name in the audit trail for every downstream operation. Second, when a shared service account is used, the audit log only shows the account name, obscuring the human behind the request. In both scenarios the identity provider records the initial request, approval, and grant, but it does not capture the emergent permissions an agent picks up during execution. Consequently, when an agent performs an unauthorized change, the trail stops at the token or service account, not the person who triggered the work.
Why Traceability Matters
For AI engineers, platform teams, DevOps/SRE staff, and security professionals, the inability to attribute actions hampers several core responsibilities:
- Compliance: Regulations that require clear accountability for changes cannot be satisfied when audit logs lack requestor identity.
- Incident response: Rapid root‑cause analysis depends on knowing who initiated a problematic action.
- Risk management: Without visibility, it is difficult to enforce least‑privilege principles or to audit policy drift.
Architectural Adjustments
CloudBolt’s demo outlined three practical steps that can be incorporated into existing environments:
- Integrate agent activity streams with the organization’s identity provider so that each action is tagged with the originating user’s identifier.
- Define explicit limits on the resources an agent may manipulate, preventing emergent access from exceeding intended scope.
- Consume the enriched audit trail to surface requestor information alongside the agent’s service account or token.
These adjustments do not require new products beyond what is already in use; they rely on linking existing identity metadata to the agent’s execution context and tightening policy definitions around agent permissions.
Related CloudNinjas coverage: DevOps.
What This Means For Practitioners
Teams should immediately audit token usage for any AI‑driven automation and replace personal tokens with service accounts that are tied to requestor metadata. Review MCP‑related policies for completeness, and configure the identity provider to emit requestor identifiers alongside agent events. Finally, incorporate the enriched audit data into monitoring and alerting pipelines to ensure that any unexpected agent activity can be traced back to a human decision point.

