The Two-of-Three Agent Permission Rule
- Difficulty
- Moderate
- Time to result
- ~days to results
- Steps
- 5
- Confidence
- —
For agentic software, Huang identifies three especially sensitive powers: access to sensitive information, the ability to execute code, and the ability to communicate externally. His governance rule is that an agent may receive two of those three capabilities, but not all three at the same time. The mechanism limits the blast radius of a compromised, mistaken, or poorly governed agent. An agent that can read private information and execute code cannot independently transmit the information outside; one that can read and communicate cannot also run arbitrary code. This is a concise security design rule for reviewing agent roles, credentials, tool access, and communication channels before deployment.
Origin
Extracted from The All-In Podcast
How to run it
- 1
Inventory sensitive information access
List the private files, credentials, customer data, internal systems, and other sensitive information the agent can retrieve.
Pro tip Evaluate indirect access through connected tools as well as direct database access.
Watch out A tool may expose sensitive information even when the agent has no explicit database credential.
- 2
Inventory code-execution power
Determine whether the agent can run scripts, issue system commands, modify files, deploy software, or invoke tools that create side effects.
Pro tip Treat delegated execution through another service as execution power.
Watch out Read-only labels can be misleading when an available tool can trigger actions.
- 3
Inventory external communication
Identify every channel through which the agent can send information outside its controlled environment, including messaging, email, APIs, and web requests.
Pro tip Include autonomous communication as well as messages requiring user approval.
Watch out Outbound API access can function as a data-exfiltration channel.
- 4
Remove the third capability
If one agent possesses all three powers, redesign its role, credentials, or workflow so it retains no more than two simultaneously.
Pro tip Split responsibilities among separately governed agents when all three functions are required by the larger process.
Watch out Do not rely solely on behavioral instructions when permissions can be technically constrained.
- 5
Enforce governance and policy
Apply security controls and organizational policies to preserve the two-of-three boundary as tools and agent capabilities change.
Pro tip Repeat the review whenever a new skill, integration, or data source is added.
Watch out Permission boundaries can silently erode as an agent acquires new tools.
In the wild
An engineering agent can read a private codebase and execute tests in a controlled environment. Under the two-of-three rule, it cannot independently send messages or data to arbitrary external services. External communication instead requires a separate approved process or human action.
→ The agent remains useful for internal development while reducing the risk that private code can be autonomously transmitted outside.
Common mistakes
Granting all three powers
Combining sensitive access, code execution, and external communication creates a powerful path for mistakes or compromise.
Ignoring capabilities inherited from tools
An agent can acquire effective access or execution power through integrations even when the permission is not directly assigned.
Treating governance as a one-time review
New tools and skills can change the agent’s effective permissions, requiring the boundary to be reassessed.
From the transcript
“whenever you have agentic software, you have to make sure that an agentic software has access to sensitive information, it could execute code, it could…”
“We have to make sure that all of it has to be governed, all of it has to be secure, and that we have policies…”
From the episode
Jensen Huang LIVE: Nvidia's Future, Physical AI, Rise of the Agent, Inference Explosion, AI PR Crisis
Jensen Huang