The Custody Envelope Threshold: Authority-Scaled Admission of External Artifacts in Institutional Infrastructure
This paper proposes the "Custody Envelope Threshold," an authority-scaled framework for admitting external infrastructure artifacts that argues institutions should only directly accept objects when their identity, ingress, and revocation capabilities are sufficiently closed relative to their delegated execution authority, otherwise resorting to mediation or rejection to mitigate risk.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine your company's digital infrastructure as a massive, high-security castle. Inside this castle, developers are constantly bringing in new tools, furniture, and supplies (called "artifacts") to build and maintain their work. These supplies come from the outside world: open-source libraries, pre-made containers, AI models, and code snippets.
The problem is that while it's easy for a developer to grab a tool from the internet, it's incredibly hard for the "castle guards" (the institution) to know if that tool is safe, where it came from, or how to get rid of it if it turns out to be a Trojan horse.
This paper introduces a new rulebook called the Custody Envelope Threshold. It explains why some tools get a "green light" to enter the castle, while others get stopped at the gate, put in a cage, or only allowed in if they are escorted by a guard.
Here is the breakdown using simple analogies:
1. The Core Idea: The "Custody Envelope"
Think of every tool you want to bring into the castle as a package. To let it in, you need to wrap it in a Custody Envelope. This envelope isn't made of paper; it's made of three specific locks:
- Identity Lock: Do we know exactly what this is? (Is it the real thing, or a fake?)
- Ingress Lock: How did it get here? (Did it walk through the front door with a badge, or did it sneak in through a window?)
- Revocation Lock: If we find out it's dangerous later, can we instantly grab it and throw it out?
The Golden Rule: The strength of this envelope must match the power the tool has inside the castle.
- Low Power: If the tool is just a decorative sticker (low authority), a flimsy envelope is fine.
- High Power: If the tool is a master key that can open every door in the castle (high authority), the envelope must be made of unbreakable steel. If the envelope is weak, the tool cannot enter.
2. Why Some Tools Get Stopped (The "Governance Modes")
The paper argues that institutions don't just say "Yes" or "No." They choose different ways to handle tools that don't have a perfect envelope yet. Think of these as different security checkpoints:
Proxied (The "Buffer Zone"):
- Scenario: You want a popular tool, but it comes from a sketchy public street.
- Solution: You don't let it walk in directly. Instead, you have a trusted courier (an internal feed or mirror) pick it up, check it, and bring it in. The tool is still the same, but the path it took is controlled.
- Example: Downloading a software package through a company's private server instead of the public internet.
Policy-Mediated (The "Strict Contract"):
- Scenario: The tool is from a known place, but it might change its name or version later.
- Solution: You let it in, but only if it signs a strict contract: "You must stay exactly this version, and you must be signed by this specific person." If it changes, it's kicked out.
- Example: Allowing a GitHub Action only if it is pinned to a specific, unchangeable code version.
Vendor-Mediated (The "Escorted Tour"):
- Scenario: The tool is too complex or risky for you to check yourself.
- Solution: You hire a specialized security firm (a cloud provider or marketplace) to check it for you. You trust their envelope.
- Example: Using an AI model only through a managed cloud service that scans it for viruses before letting it run.
Internalized (The "Copy and Paste"):
- Scenario: The tool is so specific to your castle's layout that no outside vendor can understand it.
- Solution: You take the tool, copy it, wrap it in your own packaging, and make it an "internal" product. You own it now.
- Example: Taking a public code module and rewriting it to fit your company's specific security rules.
Quarantined/Rejected (The "No Entry" Sign):
- Scenario: The tool is too dangerous, and no amount of wrapping can make it safe enough.
- Solution: It stays outside. It can be looked at in a sandbox (a playpen), but it never touches the real castle.
3. The "Scrutiny" Factor
The paper notes that not all castles are the same.
- Low Scrutiny: A small startup or a hobby project might let almost anything in because no one is watching. They might accept a weak envelope.
- High Scrutiny: A bank, a hospital, or a government agency is watched by auditors, regulators, and customers. They must have strong envelopes. If they let a high-power tool in with a weak envelope, they will get in trouble.
The paper predicts that as an organization gets more "scrutinized" (more audited, more regulated), they will naturally start using stricter methods (like Proxies or Vendor Mediation) for powerful tools.
4. Real-World Examples from the Paper
The authors tested their rulebook on six types of tools:
- Software Packages: Usually allowed, but only if they come through a company "proxy" (internal feed).
- GitHub Actions (Automation Scripts): These are very powerful (they can change your code). They are often blocked unless they are "Policy-Mediated" (strictly pinned to one version).
- Container Images (Pre-built software boxes): If they are random public boxes, they are risky. They are usually "Proxied" through a curated list of trusted images.
- Terraform Providers (Infrastructure tools): These are powerful but have good "Identity Locks" (signatures), so they are often allowed directly.
- Terraform Modules (Design templates): These are often "Internalized" because they need to be customized to fit your specific company layout.
- AI Models: These are tricky. If they run code, they are high power. They are often "Vendor-Mediated" (run through a safe cloud service) or "Quarantined" until better safety tools exist.
5. The "Curl | Bash" Test
The paper mentions a common developer habit: curl | bash (downloading a script from the internet and running it immediately).
- The Verdict: This is the ultimate "weak envelope." It has no identity check, no controlled path, and no way to revoke it.
- The Prediction: In a serious, high-scrutiny company, this should be banned or heavily modified. If a bank is letting developers run random scripts from the internet on their production servers, the paper says that institution is failing its "Custody Envelope" test.
Summary
The paper isn't just saying "be careful." It provides a math-like formula for decision-making:
If the Tool's Power > The Envelope's Strength, then you must change the Envelope (Proxy, Mediate, or Internalize) or Ban the Tool.
It explains why different tools get treated differently: it's not about whether they are "open source" or "popular," but about how much power they have inside your system and how well you can control them.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.