OPEN SOURCE — MIT

VAREK
————

AUTHORIZATION PROVEN AT THE KERNEL

Kernel-enforced, proof-checked authorization for every action an AI agent executes. An autonomous agent decides what it wants to do; VAREK decides whether it may.

Every agent action proven at the kernel, or refused.

READ THE v1.40.0 RELEASE NOTES → GET IT ON AWS MARKETPLACE SEE IT DECIDE
Tradewinds Solutions Marketplace Awardable badge, Chief Digital and Artificial Intelligence Office CDAO · TRADEWINDS SOLUTIONS MARKETPLACE Assessed Awardable for Department of War work Government Customers can view the VAREK solution video, Deterministic Pre-Execution Authorization for Autonomous AI Agents, at tradewindai.com (government login required). OpenSSF Best Practices: passing OPEN SOURCE SECURITY FOUNDATION OpenSSF Best Practices: passing VAREK meets the OpenSSF Best Practices criteria for open-source projects. See the full assessment at bestpractices.dev.
~55 µs
PER REFUSED CALL · MEASURED BY THE AGENT
ZERO
UNSAFE ALLOWS · HARNESS GATE
THREE
VERDICTS · FAIL-CLOSED
MIT
OPEN SOURCE
// POLICY

Refused before
the first action runs.

A policy declares what an agent may do. The Warden holds every file open, lookup, connect and launch at the kernel boundary and resolves it against that policy: allowed only when proven, refused otherwise.

● POLICY
# Rules are evaluated in order. First match wins.
# No match -> UNKNOWN -> suppressed -> DENY.

allow path /tmp/varek_allowed_
allow path /etc/ld.so.cache
deny path /etc/shadow
deny path /root/

allow host 127.0.0.1:8080
● WARDEN — LIVE DECISIONS
# one line per mediated call (condensed; timings illustrative)

file.open /tmp/varek_allowed_demo
raw=ALLOW final=ALLOW 242us

file.open /etc/shadow
raw=DENY final=DENY 20us

file.open /tmp/not_in_policy
raw=UNKNOWN final=DENY 21us

# the agent sees: Permission denied
// FEATURES

Three layers.
One guarantee.

⚖
Three-state decision
Every proposed action is discharged by an SMT decision procedure — bounded strings for the object, bitvectors for the open flags — and resolves to SATISFIED, UNSATISFIED or UNKNOWN. Only SATISFIED executes, and UNKNOWN is never coerced into a pass.
SMT DECISION PROCEDURE
✔
Every authorization checked
Each SATISFIED verdict carries a certificate, and the action runs only if a small, independently written checker accepts it. Every record is hash-chained, and checkpoints can be signed and anchored off the host, so whoever holds the log cannot quietly rewrite it.
CERTIFIED · TAMPER-EVIDENT
🛡
The Warden
Enforcement sits at the kernel boundary through seccomp-BPF and seccomp user-notify, on a default-deny allowlist. The agent runs unprivileged, and if the supervisor stops, the agent and everything it started stop too. A verdict is not advice the agent can decline to take.
KERNEL ENFORCEMENT
🔌
Decided connections
Each outbound connect is decided on the destination copied once, dialed by the Warden itself and handed to the agent as a connected socket. The agent's own network stays empty, so a second thread cannot swap the destination after the check.
v1.21
🕸
Whole-plan verification
The declared action-graph is verified before the first action runs, including data flow across actions. A secret source cannot reach a forbidden sink, even when each step looks safe alone. Steps can declare how they open a file, so read-only grants verify at the gate.
COMPOSITIONAL · v1.21.1
⏱
Progress-safety
A load-time liveness proof certifies that an agent can make safe progress unattended. A flow policy that can refuse without a bounded refusal budget is not certified, and the Warden refuses to start.
NO HUMAN IN THE LOOP (HOOTL)
// PLATFORM RISK

Others authorize the request.
VAREK proves the action.

🌐
Any agent, any platform
Agents run on many model providers, frameworks and in-house stacks. A platform's guardrail covers only its own agents. VAREK enforces one policy at the kernel boundary every agent's actions cross — beneath each platform's own guardrails, not in place of them.
VENDOR-NEUTRAL
🔍
The checker isn't the vendor
The decision is made and enforced outside the agent. The signed verdict stream and its CycloneDX 1.6 export can be verified without relying on the vendor that built the agent.
INDEPENDENT EVIDENCE
⛔
Built to refuse, not steer
Platform controls are built to keep agents working — they steer and score. VAREK refuses anything it cannot prove, including UNKNOWN.
FAIL-CLOSED
// ROADMAP

From spec to verified.

v0.1 - v1.0
Core Language
Compiler backend, LLVM compilation, Hindley-Milner type inference, standard library (261 functions), package manager. Stable at v1.0.
COMPLETE ✓
v1.1 - v1.5
The Warden
Kernel-enforced containment with fail-closed semantics: seccomp user-notify binding the policy evaluator to the Linux syscall boundary, a production supervisor in C (cross-process argument extraction, in-kernel verdict injection, latency measurement), and a fast-path matcher for the common case.
COMPLETE ✓
v1.6 - v1.8.2
Plans, Data Flow & the Refusal Breaker
The agent's planned action-graph is verified before execution begins; verification reasons across sequences of actions — where data originates and where it may go; and a non-bypassable loop bound stops a planner from resubmitting a refused plan forever.
COMPLETE ✓
v1.9 - v1.9.3
Progress-Safety & a Complete Boundary
A load-time liveness proof certifies human-out-of-the-loop operation per policy. The boundary is hardened and completed: io_uring refused, TOCTOU-safe file mediation, a default-deny syscall allowlist with the x32 bypass closed and a hard-deny set, and the agent's lifetime coupled to the supervisor's.
COMPLETE ✓
v1.12
Mediation Correctness
The verifier decides on the object it actually delivers: resolve-then-decide closes path-traversal, symlink and /proc/self escapes; a denied open has no side effect; the verdict stream is authenticated; inbound networking is refused. Threads, child processes and dynamically linked agents are supported. Adds CycloneDX 1.6 evidence export.
COMPLETE ✓
v1.13 - v1.15
The Verification Program, Shipped
An SMT decision procedure in the enforcement path over bounded strings and bitvectors, with read-only flag clauses and load-time rule reachability; suffix, contains and glob matchers; a verdict-distribution harness gated on zero unsafe authorizations; and a certificate for every authorization, checked by an independent checker before the action runs.
COMPLETE ✓
v1.16 - v1.17
Tamper-Evident Record & an Unprivileged Agent
A hash-chained, Ed25519-signed verdict stream anchored off the host; a bound on the work of every decision; a deployment preflight. The Warden's own key, anchor and log are refused by identity through any path; stat, access and readlink are decided like opens; the agent runs with no privileges.
COMPLETE ✓
v1.18 - v1.20
The Plan Gate in the Warden
The claims and the code agree: the Warden's --plan gate runs the data-flow check, the refusal breaker and the progress-safety proof. A refusal limit per session stops a planner that changes one step each time, and plan steps can carry fields the flow policy can match.
COMPLETE ✓
v1.21.0
Decided Connections
The Warden decides each outbound connect on the destination it copied once, dials it itself from outside the agent's empty network namespace, and hands the agent the connected socket. TCP, connected UDP and Unix sockets; tested with curl, Python and Node.js; 0 of 2,000 destination-swap attempts reached the denied side.
COMPLETE ✓
v1.21.1
Plan Steps Say How They Open
A file_open step may declare its open flags (open=read, or an access mode and flags), and the plan gate decides and certifies it with exactly those flags — so a plan that declares reading a read-only grant is authorized, as the runtime would allow. Anything malformed is UNKNOWN, never SATISFIED.
COMPLETE ✓
v1.22.0
The varek Command and varek bench
One command runs and checks the Warden: doctor, init, run, refusals, audit, signed CycloneDX export. varek bench measures what mediation costs per call on your own host, natively and under the Warden, and checks every verdict while it does.
COMPLETE ✓
v1.23.0
VAREK Enterprise on AWS Marketplace
A hardened Amazon Linux image with the runtime installed, the Enterprise policy packs (HIPAA, SOC 2), and the license checked through AWS License Manager. The open-source runtime never depends on it. AWS Marketplace listing · deployment guide
COMPLETE ✓
v1.23.1
Enterprise License Check Fix
The license check works with AWS Marketplace contract entitlements, found by an end-to-end test before any customer was affected. The VAREK Core packs read /usr/share/ (time zones, locale). The Warden's decisions are unchanged.
COMPLETE ✓
v1.24.0
Host Names Without Agent DNS
Policies name hosts (allow host api.example.com:443). The Warden resolves the allowed names itself and shows the agent only those, so the agent never sends a DNS query and DNS cannot carry data out.
COMPLETE ✓
v1.25.0
Wildcard Host Names, Opt-In
A policy can allow every name under a domain (allow host *.example.com:443 acknowledge=dns-channel). The Warden answers the agent's lookups itself, refuses wildcards over shared domains, and holds each wildcard to a budget of new names.
COMPLETE ✓
v1.26.0–v1.26.1
The Egress Proxy
Connects on ports 80 and 443 are decided on the name the client asks for, not the address, closing the shared-CDN gap (SNI mode). Inspecting mode decides each request by method, host and path, without storing bodies.
COMPLETE ✓
v1.27.0–v1.27.2
Decided Program Launches
allow exec rules take effect: the agent can run git, python3 or a compiler where the policy names them, enforced by Landlock, and nothing written during the run can be launched or mapped executable.
COMPLETE ✓
v1.28.0–v1.28.1
Credential Release and On-Behalf-Of
A separate helper fetches each credential and puts it on the wire for the agent, which holds only placeholders. Each decision can record the user it was made for, from a verified token.
COMPLETE ✓
v1.29.0
Run It With Nothing Set Up
varek run writes a policy for the run when none is given, with profiles for common coding agents; a dry run records what a policy would refuse without enforcing it; varek policy suggest drafts exact rules from a run's refusals.
COMPLETE ✓
v1.31.0–v1.31.1
MCP Decided, and an OCSF Export
MCP servers the agent launches are confined to their own rules, and each call to a remote MCP server is decided on its method and the tool it names. The verdict stream exports as OCSF authorization events for a SIEM.
COMPLETE ✓
v1.32.0–v1.32.1
Containers
An official signed image, ghcr.io/kwdoug63/varek, runs the Warden in Docker and Podman, rootless included, and never with --privileged.
COMPLETE ✓
v1.34.0
VAREK on Kubernetes
One Warden on each node (a DaemonSet) supervises annotated pods from outside them, so the agent's pod passes Pod Security "restricted". VarekPolicy resources, an admission webhook, an OCSF exporter and a signed Helm chart. 24-hour runs passed on Amazon EKS and OpenShift.
COMPLETE ✓
v1.35.0
Agent Frameworks: Plans from the Framework
varek plan generate writes an agent's plan from its framework (Amazon Bedrock AgentCore, IBM watsonx Orchestrate, LangGraph, the OpenAI Agents SDK, the Claude Agent SDK and Claude Code), and --hold-to-plan holds the run to it: a call the policy allows and the plan does not name is refused. 24 hours with an OpenAI Agents SDK agent held to its generated plan.
COMPLETE ✓
v1.36.0–v1.36.3
Kubernetes at Parity
Credentials, sub-agents, confined MCP servers, plans and the dry run work in pods as on a host; amd64 and arm64 (Graviton) nodes; 24-hour runs passed on Amazon EKS and OpenShift. v1.36.1 packages the images and Helm charts for Red Hat certification; v1.36.3 is a security patch: the node agent confirms the container each runtime connection names.
COMPLETE ✓
v1.37.0
macOS, Through a Linux VM
The agent and the Warden run in a RHEL 9 VM on a Mac with Apple silicon, with the same policies, decisions, records and audit as on Linux. The Mac shares only the project with the VM. 24 hours passed on an EC2 Mac.
COMPLETE ✓
v1.38.0
Hardening: Git and the VM
The baseline never writes a project’s git settings and hooks. On a Mac, the agent runs as its own user in the VM, without sudo, and a packet filter keeps the VM from the Mac and its networks.
COMPLETE ✓
v1.39.0
Security Operations: OpenTelemetry and Splunk
A run’s OCSF events, audited first, sent to an OpenTelemetry collector and to Splunk, finished runs or live ones.
COMPLETE ✓
v1.40.0
Security Operations: Microsoft Sentinel
A run’s audited events in Microsoft Sentinel: a refusal raises an incident naming the policy line that decided it, and a tampered verdict stream raises a High one. A failed export resumes where it stopped, and the sector packs decide which programs an agent may launch. 24-hour soak passed on the tagged code.
current
v1.41.0
Cryptography: FIPS 140-3
VAREK implements no cryptography of its own: every hash and signature goes through the host’s OpenSSL 3 (SHA-384, ECDSA P-384). A Defense build runs only with RHEL 9’s FIPS 140-3 validated module, in FIPS mode.
PLANNED
v1.42.0
Security Operations: CrowdStrike Falcon and Wiz
Verdicts into CrowdStrike Falcon Foundry and Wiz, each waiting on its partner program’s tenant.
PLANNED
v1.11
Bounded Sequence Fragment
Element-level reasoning for the cross-action data-flow subsystem — collections modeled as a fixed N slots plus a length, composed on the string and bitvector fragments so its soundness inherits theirs.
CANDIDATE