Retrieved article excerpt
Open article · Retrieved 2026-11-05T17:22:01.653409+00:00
# OCAP Bounded Authority: Edera’s Managed Approach to Object Capabilities
November 5, 2026 -
[Ariadne Conill](https://edera.dev/authors/ariadne-conill)
[Nigel Douglas](https://edera.dev/authors/nigel-douglas)
AI agents have made an old security problem urgent.
Give a program access to a credential, and you have given it everything that credential can do. Give an agent access to a filesystem, and you have potentially given it access to every secret, source tree, configuration file, and credential reachable through that filesystem. Give an MCP server a cloud credential, and a compromise of that server can turn a narrowly intended integration into a much broader security incident.
The conventional response is to put more policy around the environment: firewalls, sandboxing, identity, secrets managers, admission controls, network policy, prompt inspection, and increasingly elaborate allowlists. These controls are useful. But they often start from the assumption that a workload already has authority and then attempt to constrain its use.
**Object-capability security starts from the opposite direction.**
A workload has no authority until it possesses a capability granting that authority. Authority is represented by the capability itself, and access can be made as narrow as the operation requires. Edera is applying this model to AI agents and Kubernetes workloads through what we call **bounded authorities**. These are narrowly-scoped, composable capabilities that let a workload perform a specific action without receiving the underlying credential or broad ambient access needed to perform everything else.
The result is a different security primitive for agent infrastructure:
**Don't give the agent a credential and ask it to behave.
Give the agent a capability that can only do what it needs to do.**
## **From Ambient Authority to Explicit Authority**
The easiest way to understand the difference is to contrast ambient authority with object capabilities. Ambient authority is authority a program can exercise simply because of where or how it is running. In this case, a process may be able to read a directory because it is running as a particular Unix user. A pod may be able to call an API because a cloud identity is attached to it. An agent may be able to access a GitHub repository because a token is present in its environment. The program does not necessarily need to be explicitly handed permission to perform the operation. The environment has already endowed it with authority.
This creates a dangerous relationship whereby if the workload is compromised, the authority comes along with it. The object-capability model reverses the relationship somewhat since the authority is conveyed by an unforgeable reference to a particular object or service. An object can exercise only the authority represented by the references it holds. Authority is therefore explicit, transferable, and composable rather than being implicitly inherited from the surrounding environment.
An LLM is not a conventional trusted application. Its behaviour is generated dynamically, it may consume untrusted context, and prompt injection can influence the actions it attempts to perform. So, **what happens if this agent does exactly the wrong thing?"** If the agent only possesses a capability to modify one repository, compromise of the agent does not automatically grant access to every repository the developer can access. If the agent possesses a capability to make one class of API request, compromise does not automatically expose the API credential behind that request. If an MCP server can invoke 3 explicitly-granted commands, compromising the server does not inherently grant it arbitrary command execution.
The boundary is not the model's behaviour, but rather the **authority itself.**
## **What Exactly Is an Object Capability (OCAP)?**
The terminology can sound more exotic than the underlying idea. An object capability (or OCAP for short) combines 2 things that are normally separated in conventional security systems:
1. **Designation**: which particular object or service you are talking to.
2. **Authority**: what you are allowed to do with it.
This is one reason capability systems are powerful. Possessing the capability is itself evidence that the holder has been granted authority to interact with the designated resource. In a traditional access-control system, you might have the below scenario. The agent authenticates as some principal, and an external policy system determines whether that principal can perform the requested action.
| | |
| --- | --- |
| principal | agent |
| resource | github.com/acme/project-a |
| policy | allow write |
| credential | GitHub token |
A capability-oriented system instead aims for something closer to:
`capability = write(project-a)`
The capability itself represents the authority. The holder does not need a general-purpose GitHub credential. Likewise, it does not need to know what other repositories the credential can access. It does not even need to carry a reusable secret. It simply has the authority to perform the operation represented by that capability. This is the fundamental idea behind object capabilities that an authority simply follows references rather than identities or ambient environment.
## **Bounded Authority is Our Product-Level Expression of OCAP**
**Object capabilities** describe the underlying security model used by Edera. The Bounded authority describes what we want the developer to experience. Bounded authority is an object capability whose authority has been deliberately constrained around a specific resource, operation, identity, or combination of the three. To make sense of this we need to use the Github scenario. The below command is materially different from just using Github normally:
`github.write(repository="acme/payments")`
Likewise, running `command.execute("git diff")` is also different from `shell.execute(anything)`. In both scenarios, the object capability is explicit.
The permission is bound to that agent, and there’s nothing else it could do.
The first versions describe **bounded authorities**. They answer a much more useful question than just asking whether the workload has network access, or does the pod have the correctly-associated GitHub role. For any CISO who’s super security-cautious, and cares about the broad attack surface of agents with elevated credentials, OCAP bounded authority simply answers their concerns about **what exactly this agent is allowed to do in our production environment?** That was the central design principle for this feature.
## **The Capability is Basically a Credential-Free Handle**
Consider a Codex or Claude Code agent that needs to modify your GitHub repository. The conventional implementation looks something like the below waterfall diagram. The token may be scoped, rotated, and stored in a secret manager. Those are all valuable controls. But eventually the credential reaches the workload. Once the agent can read the credential, the agent possesses whatever authority that credential represents. A prompt injection, dependency compromise, RCE vulnerability, or malicious tool invocation may be able to exercise it.
Side-by-side comparison titled “Normal Way of Sharing vs. OCAP Model.” The left column, Normal Sharing, flows GitHub Token to Env. Var / Secret to AI Agent to GitHub API, so the agent holds the credential. The right column, OCAP Model, flows Credential Store to Capability Broker to AI Agent to GitHub API, where the broker holds the credential and passes the agent only a bounded authority.
The capability architecture changes that topology somewhat. The agent really never needs the GitHub token. Instead, the broker holds the credential and exposes a capability representing the limited operation the agent is allowed to perform. This is the model behind Edera's `capcurl` concept. It offers credentialed API access without placing the credential inside the workload.
## **capcurl is http as a Bounded Authority**
HTTP APIs are an obvious place where this model becomes useful. Suppose an agent needs to create GitHub pull requests. Giving it a GitHub token creates an authority boundary around the token, not necessarily around the intended operation. A capability can instead express something like POST API action on `github.com/acme/payments` for the `/pulls` Github API endpoint specifically for pull requests in the repository. Potentially with additional constraints around:
- rate
- paths
- identity
- headers
- destination
- HTTP method
- or request shape
The capability broker can hold the credential and translate the agent's request into the authenticated API call. From the agent's perspective, it simply needs to call the capability. However, from the infrastructure's perspective, it needs to verify the capability, enforce bounds, attach credentials, execute requests, audit those actions, all done automagically under the hood. The credential becomes an implementation detail of the capability rather than part of the workload's security boundary. This is really game-changing for agentic workloads because the agents no longer have to be trusted with the thing that gives it authority.
## **capsudo Provides the Commands as Capabilities**
The same pattern applies to local operations. Consider an agent that needs to restart a service. The conventional approach might grant the workload `sudo` access and then attempt to constrain what it can execute. That creates a privileged principal with a policy layered on top. The capability-oriented approach instead exposes a specific command. The agent does not receive general root access. It receives an authority to invoke one particular privileged operation. This is the idea behind `capsudo`. There is no requirement that those authorities collapse into a single broad identity. The agent's effective power is the composition of the capabilities it has actually been given.
Tree diagram titled “AI Agent” branching to four individual capabilities: cap: git.diff, cap: git.status, cap: restart.payment, and cap: github.create\_pull\_request, illustrating an agent that holds only the specific bounded authorities it needs.
## **Capabilities Compose**
This composability is one of the most interesting properties of the model. A capability does not have to mean "**access to an entire service**", in case you were worried about that potential downside. It can instead represent a facet of a service. Imagine an MCP server exposing 20 tools. Instead of giving the MCP server a credential capable of accessing all 20, the platform can construct a set of capabilities:
```
tenant-a:
tickets.read
tickets.create
deploy.staging
tenant-b:
tickets.read
logs.read
tenant-c:
deploy.production
```
The server becomes a broker of explicitly granted authorities rather than a privileged bridge between an LLM and the entire infrastructure. Security teams should care about this because those MCP servers occupy a particularly sensitive position. They connect the LLM to any sort of tool invocation that ends-up having real-world actions. That makes them a natural place for authority to accumulate. A compromised MCP server may possess credentials or permissions that exceed what the caller should actually be allowed to exercise. OCAP solves this by providing a way to make the authority relationship explicit. The MCP server receives the particular capabilities required for the operation rather than a general-purpose credential that happens to work.
## **Identity and Authority are Different Things**
We do not want to create confusion here. Object capabilities were not designed to eliminate identity. In fact, identity and capability complement one another. [Edera can use SPIFFE/SPIRE](https://edera.dev/stories/open-standards-and-zero-trust-on-commodity-hardware) to establish *who or what is making the request*, while capabilities establish *what t