#Why Venya Is Different
Zero-Knowledge Secret Injection
The agent never touches plaintext credentials - not
in its context window, not in transit, not in output. Even a command
that deliberately prints the secret comes back [REDACTED:<id>]. No other product does this.
FIDO2 Hardware Key Binding
Every session begins with a physical security key press. An AI agent cannot self-authorize. Sessions hard-cap at 4 hours.
Mutual TLS
Server and executors verify each other's certificates. Revoked executors are refused; spoofed executors fail the handshake before any secret moves.
Egress Control
Commands run in a sandbox with deny-by-default networking and an operator-defined allowlist. A compromised command cannot phone home.
Complete Audit Trail
Who authorized, what ran, where, when, which secret IDs (never values). Queryable by humans via CLI and by agents via MCP.
MCP Protocol Native
Speaks the Model Context Protocol - the open standard for AI tool integration. Works with Claude Code, Cursor, and any MCP client. No lock-in.
#Security Guarantees
| Guarantee | How It's Enforced |
|---|---|
| AI never sees plaintext credentials | Server-side wrapping + executor-side unwrapping + Rust output filter |
| Sessions require human authorization | FIDO2 hardware key binding (WebAuthn) |
| Sessions are time-limited | 4-hour hard cap, 15-minute idle window |
| Auth endpoints are rate-limited | 429 beyond 20 requests/min/IP; counters persist in the database |
| Executor identity is verified | Mutual TLS with certificate chain validation |
| Executor enrollment is token-gated | Admin-minted enrollment token required by default; tokenless rotation only for verified certificate incumbents |
| Compromised executors are blocked | Revoked certs rejected at the next revocation poll |
| Data exfiltration is prevented | sbx sandbox with deny-by-default egress allowlisting |
| Every action is traceable | Append-only audit log: user, executor, command, timestamp |
| Secrets are encrypted at rest | Envelope encryption - per-secret DEK wrapped with AES-256-KW; payload ChaCha20-Poly1305 |
#The Auditor Role
Compliance reviewers need to see what happened without being able to change anything - and without ever holding a credential. Venya ships a dedicated permission tier for exactly that: three tiers - read, read-write, and auditor - plus the seeded admin role.
| Tier | What it can do |
|---|---|
| read | Metadata listings and masked secret reads |
| read-write | Reads plus writes: create/delete secrets, create sessions, execute commands |
| auditor | Read visibility across secrets, roles, and executors (metadata) plus the full audit log - with an affirmative deny on secret values |
The value-deny is not a convention - it is enforced at the plaintext chokepoint. An auditor-only caller requesting a secret value gets a 403 even with a valid elevation token, refused before the single-use token is consumed, and every refusal is written to the append-only audit log. Elevation is never issued to auditor-only callers at all, so an auditor cannot self-register a FIDO2 security key - an administrator provisions their credential.
The auditor tier is exclusive by design - separation of duties. Any role grant or tier change that would combine auditor with another tier for one user is refused with a 409 and written to the audit log, so audit independence is enforced by construction, not by convention. The design addresses five NIST SP 800-53 Rev 5 control families: separation of duties (AC-5), audit-record content and failed-access logging (AU-3, PCI DSS 10.2.1), and audit review with attempted-bypass visibility (AU-6), on top of the existing append-only audit log (AU-9/AU-10). Alignment is a design statement, not an attestation - certification requires an assessor.
#Control mapping - SOC 2 and NIST, row by row
Shipped mechanisms mapped to the controls prospects ask about, each
re-cited to product code at a named commit (the full table with every
file:line cite is sales/control-mapping.md in this repo).
This is alignment, not certification: an attestation
needs an independent assessor, and nothing on this page says one
happened.
| Control | Venya mechanism | What it does NOT claim |
|---|---|---|
| SOC 2 CC6 - logical access | Passwordless FIDO2 login (no human password pathway); per-request session validation; admin plane additionally requires a client certificate; server-enforced role scope with an affirmative deny on secret values; deny-by-default command policy and egress allowlist on the executor side. | Not assessed or certified; the listener revocation door is captured across both populations (path specimen 7a19e4c6b3d82f57, width specimen 0D3A4D4EF914DC3F81546B106C46B3224E280102), the dial-out door is code-present and unit-asserted with physical capture pending (see beta-known-limitations, GitLab #676/#597, open at the time of this writing); says nothing about customer-side physical or environmental controls. |
| SOC 2 CC7 - monitoring | Every execution, refusal, denial, failed login, and policy change emits an audit event; rate-limit tiers count hits; executor liveness is heartbeat-derived; local spool protects refusals at mode 0600 when the core is unreachable; v0.1.0beta4 forwards the ledger to an external collector as RFC 5424 syslog over TLS 6514, mutual-authenticated, at-least-once, with a reconcile command against the collector's own report. | Forwarding is not alerting: no alerting or paging ships, and the stream carries copies, not proofs - correlation and response are the SIEM's job; these are Venya's own signals, not an independent monitoring service. |
| NIST AC-5 - separation of duties | Admin / operator / auditor tiers with uniqueness guards; the auditor tier is exclusive by construction - mixed grants are refused and logged, secret values stay denied even with a valid elevation token, and elevation is never issued to auditor-only callers. | Covers duties inside Venya's API, not a customer's procedural separation; no two-person rule ships for destructive operations - the Shamir CA-key split is custody, not dual-control authorization. |
| NIST AU-3 - record content | Audit events carry type, actor, structured fields (command, executor, secret ids, outcome), and a timezone-aware timestamp - never secret values. | Not evidence-grade (no per-record signatures or authority timestamps); the command string itself is recorded unmasked, disclosed not fixed. |
| NIST AU-6 - review and analysis | A dedicated auditor tier reads the full trail - including its own denials - through the API, the venya audit CLI, and the MCP get_audit tool; everyone else is self-filtered server-side. | Query and eyeball only: no analytics or exception reporting ships; revocation-refusal review evidence is captured at the listener door across both populations (path specimen 7a19e4c6b3d82f57, width specimen 0D3A4D4EF914DC3F81546B106C46B3224E280102), and rests on unit assertions at the dial-out door until its physical capture lands (see beta-known-limitations, GitLab #676/#597, open at the time of this writing). |
| NIST AU-9 - audit protection | Database-enforced append-only: the application role keeps broad grants, then UPDATE and DELETE on the audit table are revoked last so the revoke wins - the app path cannot rewrite or drop audit rows at the SQL door. | Guards the application path, not a PostgreSQL superuser with host root; no hash-chain or per-record cryptographic sealing exists - alignment here is access-control-based. |
| NIST AU-10 - non-repudiation | Each record chains to a user_id whose session required a FIDO2 hardware-key assertion and re-validates per request - attribution runs from record to key-touch to named human; machine credentials live in separate tables and never masquerade as people. | Not cryptographic non-repudiation: records are unsigned, so the same superuser-plus-host boundary as AU-9 could in principle forge history; the claim is attribution design, not evidence-grade repudiation resistance. |
#Verified - and you can verify it yourself
The full A-Z lifecycle is one documented chain: clean hypervisor
→ VM provision → hash-verified installs → FIDO2 identity bootstrap (with
wrong-key and replay negatives) → secret creation → an MCP
run_command that consumes the secret with the value redacted from all
output → driven end-to-end by a real LLM client, and live runs are re-verified
against each release's bytes. Anyone can reproduce the redaction proof by hand
with the shipped
interactive
MCP driver: it speaks the protocol over stdio exactly like an LLM client would,
so every tool call - and the redaction - can be made yourself. The
alpha demo
shows the same proof end to end.
Verified MCP clients: opencode and local LLMs via omlx.ai. FIDO2 ceremonies verified with Yubico Security Keys. Unit suites across all six packages are green (Python 3.14) - absolute counts live in the per-release records.
#Making Venya Easier to Use
Venya ships locked, and every lock above is why you installed it. But
not every deployment is a regulated enterprise - wanting less friction
is a legitimate choice, and the product supports it deliberately: every
relaxation is a documented door with a named tradeoff, never a hidden
one, and there is no "turn everything off" mode. The full guide - with
exact config locations and worked examples - is in the product
documentation as docs/ease-of-use.md.
The worked example, "allow scp": a sandboxed scp
is stopped by exactly two enforceable layers - the command policy's
dangerous-pattern list (which applies under every preset, including
permissive) and the sandbox's deny-by-default egress allowlist. Opening
it means two intentional edits: replace the pattern list server-side
minus the names you want (propagates to executors in ~30 seconds,
audit-logged), and add your transfer target to
/etc/venya/egress-allowlist.txt on the executor (read at every
sandbox creation - applies on the next command, no restart). What you
give up, stated plainly: file movement - for anything running in the
sandbox, including a misled agent - toward exactly the hosts you
allowed. Unrelaxed, the default stays fail-closed: the run is refused
before it starts, and the refusal lands in the audit log.
| Door | You gain | You give up |
|---|---|---|
| Command policy: preset + pattern list (admin API / CLI) | more commands run without per-command allowlisting - or one exact binary, via the strict allowlist | each guardrail you drop, for every command under that policy |
| Egress allowlist entries (/etc/venya/egress-allowlist.txt) | sandboxed commands reach the hosts you list | exfiltration prevention toward those hosts |
| Session windows (idle, token TTL, hard cap - core env) | longer working blocks, fewer re-authentications | a live session stays usable longer |
| Rate limits (per-endpoint counts, or the whole tier off) | no accidental lockouts, more headroom | brute-force defense, in proportion |
| Executor enrollment without tokens | simplest possible batch enrollment | the gate that stops strangers claiming executor identity |
| Comfort: clock-skew tolerance, timeouts, CORS, log level, body size | typical small-deployment friction removed | named per knob in the guide - most cost little, none are free |
Three things are never ease-of-use knobs: TLS verification, certificate validation, and default credentials. They are load-bearing walls, not furniture - there is no supported production door to turn them off, and this guide's door catalog does not reach them. The sandbox's deny-by-default egress works the same way in spirit: relax it by adding the hosts you need, never by removing the default.