
Kernel-enforced authority and runtime security for Linux systems, autonomous software, and AI agents.
Kernel-enforced authority and runtime security for Linux systems, applications, autonomous software, and AI agents.
KERNHELM is a general operating-system security substrate that places a hard authority boundary at the lowest practical enforceable level of the software stack — beneath AI, applications, services, and ordinary userland.
Its purpose is simple to state:
Software may request power. It must not be able to manufacture the authority that grants that power.
KERNHELM moves the final decision about governed privileged effects into the kernel boundary.
Software above that boundary may be extraordinarily capable.
It may plan.
It may reason.
It may automate.
It may administer applications.
It may defend the machine.
It may operate continuously as an autonomous AI agent.
It may even be an advanced artificial intelligence.
But capability alone does not create permission.
The architectural separation is absolute by design:
The thing asking for an effect is not allowed to be the thing that decides whether it has authority to cause that effect.
In ordinary security language, KERNHELM is an attempt to move beyond asking:
“Do we trust this program?”
and toward asking:
“Does this exact attempted effect possess valid authority?”
That distinction is the core of the project.
For AI agent security, the same principle can be stated another way:
An AI agent may decide what it wants to do. That decision must not manufacture the authority required to make it happen.
KERNHELM is not an AI sandbox.
It is not an application container.
It is not a permission wrapper around a particular program.
It is not a prompt-injection detector.
It is not a model-behavior classifier.
It is not an AI kill switch.
It is not a conventional userland policy engine.
It is not merely another AI agent access-control layer running beside the software it constrains.
It is a general authority architecture for the operating system itself.
A sandbox primarily answers:
Where is this program allowed to operate?
KERNHELM asks a deeper question:
Where does the authority to cause this privileged effect come from at all?
A useful shorthand is:
A sandbox constrains where software can operate. KERNHELM constrains where authority can come from.
Remove AI from the machine entirely and KERNHELM still makes sense.
A browser, daemon, package manager, helper process, game, driver utility, malicious payload, remote attacker acting through compromised software, or artificial intelligence ultimately encounters the same underlying authority problem.
That is why KERNHELM is a general security substrate rather than merely an AI containment system.
AI is simply one of the clearest and potentially strongest applications of the architecture.
Modern AI agent security, agentic AI security, and AI runtime security increasingly rely on mechanisms such as:
These mechanisms can all be useful.
KERNHELM asks what happens underneath them.
If an autonomous AI agent is compromised, manipulated, prompt-injected, misconfigured, or escapes a higher-level containment mechanism, should that event automatically grant the resulting software broad machine authority?
KERNHELM's answer is no.
A sandbox escape should not automatically become an authority escape.
Crossing one containment boundary should not itself manufacture authority for protected effects at the kernel wall.
Likewise:
Prompt injection should not manufacture authority.
Compromising an agent should not manufacture authority.
AI containment failure should not automatically become machine-wide authority failure.
This is why KERNHELM approaches AI runtime security from below the ordinary agent runtime.
Higher layers may decide:
what the agent wants to do
KERNHELM asks:
whether the resulting machine effect possesses authority to happen
Most AI control systems are concerned with controlling the behavior, permissions, tools, or environment of the agent.
KERNHELM addresses another layer:
Even if the agent reaches the point of attempting the real operating-system effect, does valid independent authority exist for that exact effect?
This distinction is particularly important for autonomous and long-running agents because a failure of reasoning, containment, monitoring, or policy should not automatically become unrestricted authority over the host.
KERNHELM is therefore not an AI kill switch.
Its intended model is more granular:
Deny the unauthorized effect while allowing separately authorized work to continue.
The following public demonstration shows the distinction directly.
A malicious instruction inside an untrusted document attempts to induce deletion of a protected file.
The software receives the instruction and attempts the delete.
KERNHELM does not need to correctly classify the instruction as malicious or identify it as prompt injection.
The kernel authority boundary asks a narrower question:
Does this exact deletion, against this exact target, possess valid admitted authority?
It does not.
KERNHELM denies the operation and the file remains present.
The user then directly authorizes the deletion through the governed path.
The software does not become more trusted.
The executable does not change.
The file does not move into another sandbox.
What changes is the authority.
The deletion is attempted again with matching admitted authority.
KERNHELM allows the governed effect and the file is deleted.
The demonstrated sequence is:
untrusted document instruction
↓
software attempts DELETE
↓
no matching admitted authority
↓
KERNHELM DENY
↓
file remains
followed by:
direct user authorization
↓
bounded authority admitted
↓
software attempts DELETE
↓
authority matches effect + target
↓
KERNHELM ALLOW
↓
file is deleted
The important result is:
Same software. Same target. Same class of effect. Different admitted authority.
The software did not need to become more trusted for its authority to change.
That is KERNHELM.
Modern computers routinely give software broad standing authority.
A process may be able to:
because of the user, privilege level, container, namespace, capability set, service identity, or execution context under which it happens to be running.
This creates a familiar security chain:
authority is granted broadly
↓
software is expected to behave correctly
↓
software is compromised, confused, manipulated, or simply wrong
↓
the inherited authority is still real
Autonomous AI agents make this old security problem much more visible.
As software becomes capable of planning, using tools, operating applications, administering systems, maintaining long-running state, and acting with decreasing human supervision, broad ambient authority becomes increasingly consequential.
Traditional security systems mitigate this problem through important mechanisms including: