# Becoming Incorruptible

A system is corruptible when one person, one secret or one decision can change its result. Most systems today are corruptible. Attackers, insiders and mistakes can all change them. To become incorruptible, you must remove these points of failure. You cannot only guard them better.

## 1. Why promises fail

Most security depends on promises. A company promises to protect your data. An administrator promises not to look at it. A policy promises that only the right people have access.

A promise holds only while every condition behind it stays true, every day. A stolen password, a flaw in the software or a change in company ownership breaks it. A defense that needs perfect behavior from people will fail. The fault is in the design, not in the people.

## 2. The vault problem

A vault holds many secrets in one place. This is easy to manage, but it creates a single target. An attacker needs to succeed only once. The defender must succeed every time.

Stored hashes, master keys and central databases are all vaults. When an attacker opens one, the damage reaches every user at once.

## 3. Remove the material

The strongest defense is to keep nothing that an attacker can use. A secret that does not exist cannot be stolen, leaked or forced out of someone. We call this **Zero Material**: keep the signal, not the material.

In practice:

- Do not store passwords or hashes. Verify a proof instead.
- Do not hold master keys. Let each user hold their own key.
- Do not collect data that you do not need.
- Do not keep data longer than a task needs it.

When a breach happens in such a system, the attacker finds nothing of value.

## 4. Replace trust with proof

Trust asks you to believe a party. Proof lets you check a fact. Cryptography gives proof that does not depend on who makes the claim.

Two tools make this possible:

- **VOPRF** (verifiable oblivious pseudorandom function). It lets a server help check a secret without learning the secret.
- **Zero-knowledge proofs.** They let a user show that a statement is true without showing the data behind it.

With these tools, a user can prove "I am the owner of this account" or "I am over 18" and reveal nothing else.

## 5. Disclose the minimum

Most login systems reveal information to an attacker. An error message can show that an account exists. A failed check can show which part was wrong.

A better design shows nothing by default. It gives the same answer to every request that fails. It reveals more only after the user proves more. This is **progressive disclosure**. The user shows only what each step needs.

## 6. Keep power at the edge

Data on the user's device is not in a central database. Compliance is easier because the provider does not hold the data. The cost of a breach is smaller because no large store exists. Energy use is lower because the system moves and keeps less data.

## 7. Design for the human: engineered kindness

The human is not the weak point of a security system. The human is its strongest part. People have judgment, intent, creativity and a sense of right and wrong that no machine matches. A system can break and stay broken. A person who is hurt heals and learns. The weak point is the machine store that holds the secrets.

People and machines have different strengths and different weaknesses:

| | Strong at | Weak at |
|---|---|---|
| Human | Judgment, context, intent, learning, healing | Remembering high-entropy secrets, repeating a task without error |
| Machine | Exact memory, fast computation, repeatable checks | Understanding intent, adapting to new situations |

A good design uses each side for what it does well. We call this **engineered kindness**:

- Do not ask a person to remember a long random password. The machine holds the entropy. The person supplies intent and consent.
- Do not ask a person to detect every attack. The system checks each action with proof, so the person does not carry that load.
- Do not blame a person for a failure of the design. If a normal person cannot use the system safely, change the system.
- Give the person control. The person decides what to disclose, and the machine enforces the decision.

When people and machines work together, each one covers the weak points of the other.

## 8. Expect failure: resilience after a breach

No design removes all risk. An incorruptible system assumes that a breach will happen. It then limits the damage and recovers fast. Three patterns help.

### Small blast radius

Split the system so that one failure reaches only a small part of it. Give each user their own keys. Give each task its own short-lived credential. When an attacker takes one key, the attacker gets one user and one task, not everyone.

### Fail loud

A failure that nobody sees is more dangerous than a failure that stops the system. Follow these rules:

- **Fail closed.** If a check cannot finish, deny access. Do not fall back to a weaker check.
- **Do not hide errors from the operator.** Log every failed check, every unusual request and every change of state. Send an alert to a person who can act.
- **Show the attacker nothing.** The reply to the requester stays generic (see section 5). Only the defender sees the detail.
- **Use canaries.** Place decoy data or decoy accounts that no real user touches. Any access to them is a certain sign of an attack.

The system is loud for the defender and quiet for the attacker.

### Recover without a central reset

After a breach, the user must be able to recover without waiting for a central party. Design these steps in advance:

1. **Revoke.** The user or the system cancels the affected keys at once.
2. **Re-derive.** The user creates new keys from their own root of trust. Old keys stay useless.
3. **Verify.** The system proves which actions the old keys made, so the user can see the extent of the breach.
4. **Resume.** The user continues to work. Data that was never stored cannot be exposed again.

### Antifragile design

Three types of system react in different ways to a shock:

| Type | Goal | Reaction to an attack | Example |
|---|---|---|---|
| Fragile | Prevent all failure | Fails completely. One failure causes others. | One server with no backup and no rate limit |
| Robust or resilient | Absorb the shock and recover | Returns to its first state. It does not change. | Auto-scaling, fixed firewall rules, cold backups |
| Antifragile | Learn from the shock | Becomes stronger. It closes the gap in all parts at once. | Chaos tests, decoy systems, automatic isolation |

A robust system keeps its walls high, but the walls do not change while the attacker does. An antifragile system uses each attack to improve. Four patterns build this property.

**1. Cause small failures on purpose.** Do not wait for a rare large failure. Cause small failures in a controlled way: stop a node, add delay, simulate a leaked credential. The team and the automatic tools learn to handle failure, and hidden dependencies become visible. Practice the recovery steps before an incident, so they work under pressure.

**2. Use decoys to learn.** Send suspicious requests to an isolated decoy environment. Each action of the attacker gives data about the method. Use this data to update detection rules in the real system. The attacker spends effort and the defender gains knowledge.

**3. Respond to an attack automatically.** When a component acts in an abnormal way, the system does these steps:
1. Isolate the component.
2. Save a forensic copy.
3. Update the policy.
4. Replace the component with a hardened one.

An attack on one component then protects all the other components.

**4. Keep failures small.** Use small, separate components with zero-trust segmentation and immutable infrastructure. A failure stays local, costs little and gives information.

One rule limits these patterns: **learn from attack signals, not from user data.** The system records the method of the attack. It does not collect more data about users to do this. This keeps the Zero Material principle intact.

Keep people in the loop. They see patterns that rules do not see, and they decide what the system must change (see section 7).

### The barbell strategy

Many security programs choose a middle path: moderate risk everywhere. This is the most fragile choice, because hidden risks stay in the middle and nobody tests them. The barbell strategy splits resources between two extremes.

| | Share of effort | Goal | Risk |
|---|---|---|---|
| Safe side | About 90% | Survive any event. Prevent ruin. | Very low |
| Experimental side | About 10% | Find new weaknesses and new defenses. | Small and limited. The loss is the cost of the test. |

If a severe shock occurs, the safe side keeps the system alive. In normal times, the cost is only the small share spent on experiments. If an experiment succeeds, the gain can be large.

Apply it to a security program in this way:

| | Safe side (about 90%) | Experimental side (about 10%) |
|---|---|---|
| Architecture | Proven and simple core. Zero Material design. Strict zero-trust identity. Offline, immutable backups. | New tools in canary deployments. Experimental threat-hunting agents. |
| Operations | Automatic patching. Multi-factor authentication. Least privilege. Tested recovery. | Active threat hunting. Controlled failure tests. |
| Testing | Regular audits and standard checks. | Bug bounty. Red-team and purple-team exercises. Decoy systems. |

Two rules keep the barbell safe:

- **Do not mix the two sides.** An experiment must not touch the core. If it fails, the core stays unchanged.
- **Cap the loss.** Before you start an experiment, define the most that you can lose. If you cannot define it, the experiment belongs on the safe side or does not start.

### Agentic AI on the experimental side

In the BlockSmith design, agentic AI belongs on the experimental side. It can bring large gains, but its behavior is not fully predictable. It must never be part of the safe core, and it must never hold authority that a person has not given.

BlockSmith uses a **70/30 hybrid model** for the relation between people and machines. Humans keep the majority role (70%). The machine supplies the smaller part (30%). The human is the **pilot** and the AI is the **engine**:

| | Human (the pilot) | AI agent (the engine) |
|---|---|---|
| Role | Sets the goal. Decides on high-stakes actions. Takes responsibility. | Explores options. Prepares and executes the steps that the human approved. |
| Authority | Final | Limited to the declared intent |

These rules cap the loss from the AI side:

1. **Declare the intent.** Each agent declares what it will do before it runs. This declaration is a signed manifest, not a comment in the code.
2. **Enforce the manifest.** The execution environment compares what the agent does with what it declared. If the agent reads a resource or opens a connection that is not in the manifest, the environment stops the process at once (this is the IRP principle, Intent Revealed Programming).
3. **Keep the agent away from the core.** An agent has no access to keys, stored secrets or the Zero Material core. It works on copies and short-lived credentials.
4. **Add a pause for high-impact actions.** For an action that is hard to undo, the system applies an **integrity buffer**: a cool-down of 60 seconds. This breaks urgency tricks, where an agent or attacker pushes the human to decide fast.
5. **Watch the human, too.** The system estimates stress and fatigue of the person. Engineered kindness means that a tired person gets more protection, not more blame.
6. **Review and promote.** If an agent task runs well over time, move it toward the safe side step by step. If it fails, stop it. The maximum loss is the declared scope of the agent.

The AI does not replace the human judgment described in section 7. It adds speed, and the human keeps control.

After each stress, the system has fewer weak points than before.

## 9. A test for your own system

Ask these questions:

1. If an attacker copies our whole database, what can they use?
2. If an administrator becomes hostile, what can they do?
3. If a user is deceived, what is the worst result?
4. If we are ordered to hand over data, what do we have to give?
5. If we disappear, does the user keep control of their identity?
6. If a check fails, does the system deny access and alert a person?
7. After a breach, can the user recover without our help?
8. After an attack, what did the system learn and change?
9. Does an experiment have a defined maximum loss, and is it separate from the core?
10. Does each AI agent have a declared intent, and does the system stop it when it goes outside that intent?

If the answers are "nothing", "very little", "a small and recoverable loss", "nothing", "yes", "yes", "yes", "a named change", "yes" and "yes", the system is close to incorruptible. Every other answer shows a point that you must remove.

## 10. A path to follow

1. **Find the vaults.** List every place that holds secrets or personal data.
2. **Remove what you can.** Delete data that has no clear use.
3. **Replace what remains.** Use proofs, local keys and short-lived data in place of stored secrets.
4. **Reduce what each answer shows.** Give generic replies to failed requests.
5. **Make failure visible.** Fail closed, log every failure and alert a person.
6. **Plan the recovery.** Write and practice the revoke, re-derive, verify and resume steps.
7. **Split the effort.** Put about 90% in a simple, proven core. Put about 10% in capped experiments: failure tests, decoys, bug bounty and red-team work.
8. **Test the result.** Run the ten questions again, and repeat after each change.

## 11. Beyond software

The same rules apply to people and groups. A person is harder to corrupt when they depend on fewer intermediaries for health, money and identity. A community is stronger when no single member controls what the others need.

A person who has been hurt can heal and become stronger. A good system does the same. To become incorruptible means to depend less on promises and more on structure, and to build that structure around people. The system carries the load that people carry badly. The people supply the intent and judgment that the system lacks. Doing the wrong thing is hard, and doing the right thing needs no one's permission.
