Changelog
Release notes for TEVSEC Gate.
v0.24.7
v0.24.6
ostivane gateways; a local MCP server is linked with ostivane soc-mcp --desktop.ostivane in Terminal with no Python or pip.migrate-to-postgres moves every table of a current cabinet, and Docker Compose accepts the master key from a file or a command as well as from a variable.v0.24.5
v0.24.4
v0.24.3
v0.24.2
ostivane protect CLIENT --check with --project DIR for a project. The checks use synthetic inputs and the local default policy.v0.24.1
ostivane, so pip install ostivane and every existing integration keep working."amount": 6750): above the first a person confirms, above the second it is refused.ostivane protect claude-code (or TEVSEC Gate → Protect Claude Code… in the desktop app) adds hooks that check every tool call before it runs and read every result for instructions aimed at the model. Dangerous calls are refused with the reason, doubtful ones are put to the person at the keyboard, and after a poisoned page anything that reaches out is refused. The checks run locally; linked to the desktop app or a cabinet, the events appear under Agents.method argument (an http_request with "method": "POST") is now judged as sending data, so spending limits, the allowlist and the stricter checks after untrusted instructions apply to it; before, such a call counted as a read.ostivane fleet package, and let Jamf, Kandji or Intune run its install.sh as root. Each Mac gets managed hooks for Claude Code (a managed-settings.d drop-in that user and project settings cannot remove) and Codex (/etc/codex/requirements.toml with hooks pinned on: no /hooks review, no way to turn them off), the OpenCode plugin per account, its own revocable keys and a heartbeat every 30 minutes. --lock also allows only managed hooks, disables bypass modes and keeps Codex sandboxed. The new Fleet page shows every Mac: protected, needs attention (a client in use but unprotected, a changed managed file, failed checks), offline or waiting. Events from an enrolled Mac carry its name. Also: ostivane audit now reads Codex profiles and project configs and OpenCode agents' own permissions, reaches nested instruction files at any depth in a monorepo (and says when it stopped early), and groups .env files by whether git would commit them.uvx ostivane audit) checks Claude Code, Codex and OpenCode settings (tools allowed without asking, the sandbox off, hooks off, unpinned or plain-http MCP servers, whether Gate protects the client), the files a project's agents read as instructions (paragraph by paragraph, the same scanner as Gate, plus characters that hide text from people), and the secrets within reach (a committed .env, key files, secret-like environment variables). Names and places only, never values; a score, a fix per finding, exit 1 on a high one for CI. The scanner's verdict sets the level: its "high" (0.6% false alarms on the labelled sets) is reported high, a one-signal "medium" only as worth a look.ostivane protect codex adds the same three hooks to Codex (~/.codex/hooks.json; trust them once in /hooks); ostivane protect opencode installs a plugin that hands every OpenCode tool call to the same check. Same rules, same data-flow memory, same one-time codes; neither agent lets a hook ask a question, so what Claude Code would ask is refused there with a code. Codex's apply_patch is judged by the files it touches, OpenCode's code mode as a whole before it runs. Tested against the installed Codex 0.155.1 and OpenCode 2.0.28 with a model that proposes the calls: ordinary commands run, secret reads and a code-mode leak are refused and never run, and a typed code lets exactly that call through once. Found on the way and fixed for every agent: a secret read from the environment inside code (process.env.API_KEY, os.environ['TOKEN'], a serialised environment) is now held like echo $API_KEY.unchecked with the action's classes. New option onError (TypeScript) / OnError (Go): by-risk (default), open, closed; failOpen, FailOpen and FailClosed keep their meaning, and OSTIVANE_ON_ERROR applies as in Python. Both are ports of the Python rule, tested against the same 248 cases that the Python rule generates, so the three stay in step.tevsec allow CODE is read, always take the full path. Also closed: the agent calling the hook itself with a forged message to approve its own held action (any call naming the hook or carrying an approval code is refused). Run ostivane protect claude-code again to switch to the new client.tevsec allow CODE in your next message allows that exact call once, within 15 minutes, in that session; a third hook (UserPromptSubmit) reads it, so the agent cannot approve itself, and a subagent prompt carrying a code is refused. Without a person (bypassPermissions), what would be asked is refused with a code too. On the end-to-end set, a person who clicks yes on every question now lets 10 of 42 core attacks through instead of 21; one who also types every code, 21 (the worst case, measured too). Run ostivane protect claude-code again to add the new hook.printenv > /tmp/x, a config written with a token in it); and fingerprints of secret values it read (a credential file, the environment, gh auth token, aws configure get). Only short hashes are kept, never the values. A later call that sends such a file or value is refused, a git push after one was staged too; sending to, pushing to or installing from a host that outside content named needs a person (without one it is refused), and following a link to it is only noted. On the end-to-end set this takes the 42 core attacks to 42 prevented with no ordinary task refused; a fresh batch of 16 flow scenarios, run once, went from 3 to 6 of 8 attacks prevented, at the price of 2 refused ordinary tasks, and to 7 and 7 after fixes. An e-mail to an address another e-mail named still goes through: a reply and a payment-redirect scam look alike to a rule.tools/actions_bench.py runs 42 attack chains and 28 ordinary tasks (eval/actions-e2e.json) through the real Claude Code hook: an instruction hidden in a page, a README, an issue or test output, then the calls that would do the harm, each with the other ways an attacker tries when refused. It scores three levels: noticed, the harmful call stopped, and the harm prevented by the end. Without a person (bypassPermissions): 38 of 42 prevented and all 28 ordinary tasks done (first run: 36 and 26); with the check itself broken: 42 of 42 and 17 of 28. It found and fixed: rm -rf with the home folder later in the list or on "$VAR"/ (the root when the variable is empty), wiping a database through its framework (manage.py flush, rails db:drop, prisma migrate reset), and two refusals of ordinary work (a .gitignore or config loader that mentions .env, and ls ~/.ssh). While the check is broken, calls to this computer's own services go on and hidden or downloaded code is refused. What still gets through is listed in the threat model.OSTIVANE_ON_ERROR=open or closed changes it for the machine, on_error= for one SDK recorder; OSTIVANE_FAIL_CLOSED=1 still means closed. The TypeScript and Go SDKs keep failing open by default.disableAllHooks or editing Claude Code's settings, deleting or rewriting ~/.ostivane, a malformed policy file (which failed open), pkill or protect --undo. Now disableAllHooks, the guard's files, stopping it and removing the installed app are refused, and edits to Claude Code's settings are put to the person. Also closed: Grep on ~/.ssh or ~/.aws, shell globs that name a key (~/.s*/id_*, find -name 'id_*'), copying ~/.aws, secret environment variables, Keychain export, commands decoded on the spot, and files, folders or archives sent to another computer (one file as a request body is recorded; with allowed domains it is stopped). In a Claude Code mode that asks nobody, what would be asked is refused..env.example, .sample, .template, .dist, .defaults) are not secret files; ls, stat or test -f on one is not a read; printing only the names in it (cut -d= -f1, awk -F= '{print $1}', sed 's/=.*//') is a medium finding that does not hold the work; anything else in the same command, a redirect, or a credentials file is judged as before. Past twice a plan's monthly events only what the server rates critical is still recorded, so labels set by an agent cannot make an unlimited log.tools/desktop_release.py signs the feed.agent_instruction, AGENT_NEXT_STEP); a sentence that only talks about such moves (awareness training, an incident report, advice) does not count. Measured on texts written by Claude Code, Codex and OpenCode: on the 180 attacks it was built on, 19% before and 93% after; on a second set written afterwards and never seen by it, 17% before and 27% after, with fewer false alarms. Patterns alone do not reach further. With a reviewing model (policy → model review) the same unseen set is caught 98% of the time with 3.3% false alarms (gpt-6-sol through Codex; see Models). A model's "suspicious" is now a finding for a person and only "malicious" marks the session, as already for a model's reading of a plan: 1% against 9% false alarms for 2 points of recall.v0.24.0
ostivane try. A scripted agent reads a documentation page that hides instructions for AI agents, then does what the page asked. Its credential read and its upload are refused, its file write waits for a person. It runs on your machine with nothing to sign up for, or against your cabinet with --cloud, where the steps appear under Agents and Approvals. The connection wizard opens on it.v0.23.0
ostivane: from ostivane.recorder import AgentRecorder, ostivane.integrations.soc_langchain and so on. The docs, the site, the connection wizard, the Docker image and the MCP examples all use it, and OSTIVANE_HOME joins PRESENT_DAY_HOME.import present_day still works and gives the very same modules (not copies), and the present-day command is still installed. Signatures and stored data are unchanged.v0.22.0
pip install ostivane and run the ostivane command; the Go client moved to clients/go/ostivane. The import name ostivane and the present-day command keep working.v0.21.0
pip install agent-warden. The import name (ostivane) and the present-day command keep working; the docs, site and connection wizard now use agent-warden and the warden command.P7_LEGAL_* when the site is built. Sign-up records the accepted terms version and confirms business use.v0.20.0
present-day command keep their names, and a warden command is added.github.com/WaiperOK/present-day/clients/go/warden: events, checks, Guard that refuses and records the attempt, a person decides, fail open or closed. Standard library only, tested with the race detector and against a real cabinet. It is also a stack in the connection wizard.v0.19.0
P7_ADMIN_EMAIL) or with ostivane cloud make-admin, never just whoever signed up first.v0.18.0
ostivane soc-llm sits between an agent's SDK and the model provider. Point base_url at it (OpenAI-compatible, or Anthropic) and every tool call the model proposes is checked by the same detectors and workspace policy before the agent sees it; a call that is not allowed is removed from the answer, and the model's reply says it was blocked. It works for any framework and any language, because it needs no change to the agent.$P7_GATEWAY_SECRET the agent's name comes only from a signed X-P7-Login header (ostivane soc-login --header).ostivane soc-mcp-http --upstream https://…/mcp does for a remote MCP server (Streamable HTTP) what soc-mcp does for a local one: calls are checked, results scanned, poisoned tools dropped. It answers only to local addresses (a web page cannot reach it through DNS rebinding) and passes your token to the server untouched. Tested with the official MCP client and server.v0.17.0
tools/bench_soc_scale.py).v0.16.2
tools/eval_labelled.py scores the scanner on them. It is the way to see where the detectors are wrong on your own traffic.v0.16.1
review, the workspace always puts it to a person; before, it could answer "allowed" on its own if it knew less than the gateway. One agent can no longer fill every approval slot.v0.16.0
ostivane soc-suggest) learns which tools and domains your agents normally use and proposes the shortest allowlist. Only clean sessions count, so an attack is never learned as normal; nothing applies until you tick it, and with little history the allowlist stays unticked.v0.15.0
ostivane soc-mcp -- <server command> sits in front of any stdio MCP server. Every tools/call is checked before it reaches the server, results are scanned for orders aimed at the model, and tool descriptions that give orders (tool poisoning) are removed from the list./soc/otlp/v1/traces and its model, tool and retrieval spans become events, with no change to the agent.GET /soc/siem and ostivane soc-export give CEF or ECS JSON lines with a cursor, for Splunk, Elastic, Sentinel or a syslog pipe.ostivane.integrations.soc_langchain.guard_tools and soc_openai_agents.guard_tools check every tool before it runs and record it; a blocked call answers the model with a refusal. The Python recorder also works in async code (aguard, acheck, async tools), and there is a TypeScript recorder (present-day/recorder).$P7_GATEWAY_SECRET proxy logins are signed (ostivane soc-login), so an agent cannot rename itself to shed a taint, and tainted sessions survive a restart (--state-file).v0.14.0
tainted_action: a dangerous action that follows untrusted content which contained instructions is flagged even if the command itself looks harmless. What cannot be taken back (a shell, a delete, a payment, an email, data sent outside the allowed domains) is denied; a file write or a database change is put to a person, who can let it through. The cabinet shows the whole chain on a session timeline.ostivane verify-agent-log checks an exported log offline. Triage (acknowledge, resolve, false positive), blocking an agent, and webhook alerts through the retrying queue.POST /soc/check answers allow, review or deny, and the Python SDK (ostivane.recorder) wraps tools with it. A SOC outage never stops an agent unless you ask it to.ostivane soc-gateway is a proxy that agents send their traffic through. Blocked requests never leave, hosts that resolve to internal addresses are refused, a plain-http response that tries to give the agent orders taints the session, and every decision shows up in the cabinet. https is checked by host and port only.v0.13.1
P7_BILLING=test (paid plans without payment) is refused while secure cookies are on; webhook URLs with credentials are refused when added; restoring an S3 backup larger than 16 MiB now works (downloads are streamed).P7_RATE_LIMIT): a leaked key or a runaway agent gets 429 with Retry-After instead of flooding a ledger. 2FA recovery codes are now 80 bits and stored under a server key; codes issued earlier keep working.P7_DATABASE_POOL_SIZE, default 5): each thread holds one pooled connection per transaction.ostivane verify-export); export everything held about an account; delete an account from the cabinet (cloud delete-user for operators), with its keys revoked; remove a waitlist entry on request. The audit log now keeps keyed pseudonyms instead of IP addresses and attempted emails.deploy/monitoring; new gauges for late and failing source checks; with several workers every counter carries a worker label so rates add up correctly.tools/loadtest.py) starts the server as its own process, supports PostgreSQL, pool sizes, workers and several workspaces, and can test a running server over HTTPS.v0.13.0
P7_DATABASE_URL, pip install "ostivane[postgres]"): accounts and every workspace ledger live in one database, so several instances can serve the same data without a shared disk. Ledger writes take a per-ledger advisory lock, account transactions a global one (the hash-chained audit log stays a single chain), and the database refuses UPDATE and DELETE on ledger rows with a trigger. The ledger code now sits on a small storage interface with SQLite and PostgreSQL implementations.ostivane cloud migrate-to-postgres copies a file-based deployment verbatim and verifies every ledger (count, head, Merkle root, checkpoints) in PostgreSQL before declaring success; the source files are not touched. Backups on PostgreSQL are pg_dump; the built-in file backups refuse to run there.v0.12.0
source>=0.8 to a typed rule: a fact then needs a cited source of that weight before it can be accepted. Claims report their source_trust. Python and JavaScript agree on it, so evidence bundles recompute it too.pip install "ostivane[saml]"): SP-initiated, signed assertions required, single-use request ids bound to the browser, IdP-initiated responses refused, replays and wrong audience, recipient, issuer or signer rejected. Signature verification is delegated to python3-saml and tested against a test IdP that signs real assertions.P7_SSO_GROUP_MAP=eng=WORKSPACE:member): groups grant viewer, member or admin roles at sign-in, only ever raise a role and never create an owner.v0.11.0
cloud serve --workers N runs N processes on one data directory. Startup is race-safe (master key, migrations), sessions and rate limits live in the database, and the source scheduler claims each due check in the database so it runs once. A test hammers two workers with concurrent writes and verifies the ledger afterwards.limit/offset, a total and counts by severity; claims accept offset. The cabinet says when it shows only part of the alerts.eval/cases-hard.json): 20 attacks that avoid trigger phrases (paraphrase, multi-step, obfuscation, authority spoofing, hidden markup, structured data, sleeper instructions, buried footnotes) against 15 benign texts, plus 8 extraction cases. The Models page now shows how little the pattern scanner alone catches on it.v0.10.0
ostivane answer, p7_answer_receipt, CloudClient.answer_receipt, signReceipt). The receipt travels inside the evidence bundle and the proof checker shows who answered, with what trust weight, and whether anything was altered or swapped.p7_recall until independent trusted voters accept it; recall reports how many were withheld. The ledger is never touched.v0.9.0
P7_BILLING): Free, Team ($49) and Business ($249) at planned launch prices, plus operator-assigned Enterprise (cloud set-plan), with limits on workspaces, members, ledger entries, watched sources, webhooks and model review. Self-hosted installs stay unlimited. A downgrade never deletes or hides data.GET /api/workspaces/{id}/consistency?old=N proves that the ledger only appended since a checkpoint you hold.v0.8.0
ostivane evidence exports the signed entries behind an answer with Merkle proofs and a root-signed checkpoint; verify-evidence, a dependency-free JavaScript verifier and the in-browser checker recompute the verdict from the signatures instead of trusting the server.pip-audit, SBOM and secret scanning in CI, and a release workflow with trusted publishing, build provenance and a signed container image (configured; the first signed release is still to be cut).v0.7.0
as_of_seq/as_of_ts in the API, query --as-of in the CLI and an "as of" field in the cabinet; entry numbers are authoritative, author-signed timestamps cannot rewrite the past.v0.6.0
ostivane eval: one fixed test set (22 injection-review cases, 7 extraction cases) scored the same way for every model.--accept-flagged to override).v0.5.0
ostivane cloud backup | verify-backup | restore: consistent snapshots, sha256 manifest, ledger re-verification on restore, rotation; daily backup container in the compose stack./metrics (token-protected, bounded labels) with request, login, webhook, model, ledger, audit-chain and last-backup series, plus /readyz.v0.4.0
ostivane extract --dry-run, scan --llm, P7_LLM_URL/P7_LLM_MODEL; tested against a real Qwen model.v0.3.0
v0.2.0
agent and policy CLI commands, hosted-workspace Python client and MCP cloud mode.v0.1.0