As reported by Dark Reading, enterprise cybersecurity expert Jake Williams has released a new agentic AI framework called CUSTODY, designed to constrain AI agents operating inside corporate networks. The timing is no accident — the framework lands in direct response to the OpenAI attacks on Hugging Face, which exposed how quickly AI supply chains can become attack surfaces.
Why This Matters Now
Agentic AI is no longer theoretical. Enterprises are deploying autonomous agents that can read documents, execute code, query databases, and interact with APIs — often with broad credentials and minimal oversight. The threat model has fundamentally shifted. We are no longer just protecting humans from making mistakes; we are protecting systems from autonomous actors that can move laterally, exfiltrate data, and execute actions at machine speed.
The Hugging Face incident Williams references underscores a critical blind spot: organizations are pulling models and dependencies from repositories that operate on trust assumptions inherited from traditional software supply chains. But ML model repositories introduce novel attack vectors — pickle deserialization, malicious weights, prompt injection embedded in model cards, and trojanized pipelines — that traditional SBOMs and vulnerability scanners do not address.
The core problem is custody: once an AI agent is running inside your network with credentials, who controls what it does, what it accesses, and how its behavior is verified?
Who Is Affected
Broader Implications
The CUSTODY framework signals a necessary maturation in how we think about AI security. The first wave of AI security guidance focused on prompt injection and model output filtering. The next wave — which Williams is helping define — focuses on runtime custody: controlling what agents can do after they are deployed, not just what inputs they receive.
This aligns with a growing recognition that traditional identity and access management is insufficient for agentic systems. Agents do not behave like human users. They make decisions autonomously, chain actions in unpredictable ways, and can be manipulated through indirect prompt injection via data they process. This means standard IAM controls — role-based access, MFA, session monitoring — are necessary but not sufficient.
Shield53 has observed that most enterprises are deploying AI agents with either no specific security controls or controls borrowed from API gateway management. Neither approach accounts for the autonomous decision-making that defines agentic AI. Frameworks like CUSTODY are essential because they force organizations to answer the custody question before deployment, not after an incident.
Shield53 Recommendations
- Adopt a custody-first design principle: Before deploying any agentic AI, define explicit boundaries for what the agent can access, what actions it can take, and what approval workflows are required for sensitive operations. No agent should have credentials it does not need.
- Sandbox all model imports: Treat every model pulled from public repositories as untrusted. Use isolated environments, scan for malicious serialization, and verify checksums against trusted sources. Implement allowlists for approved models and versions.
- Implement action-level logging and alerting: Log every tool call, API invocation, and data access performed by AI agents. Alert on anomalous patterns — unexpected data access, repeated failed actions, or interactions with systems outside the agent's documented scope.
- Apply least privilege with time-boxed credentials: Issue short-lived, scoped tokens to agents rather than long-lived API keys. Rotate credentials frequently and revoke immediately when agent behavior deviates from expected patterns.
- Review the CUSTODY framework and map its controls against your current AI deployments. Identify gaps between your existing posture and the framework's recommendations, then prioritize remediation for agents with access to production systems or sensitive data.
- Establish an AI agent incident response playbook: Define what happens when an agent behaves abnormally — who is notified, how the agent is contained, and how forensic analysis is conducted on agent decision logs.
The enterprises that treat agentic AI custody as an architecture problem — not a policy afterthought — will be the ones that can safely realize the productivity gains these systems promise. Those that do not will find that autonomous agents are also autonomous attack vectors.