Kastir

Security & privacy.

What Kastir does with your agents' data, what runs where, and how to report a vulnerability. This page describes the prototype as it is today. When that changes, we'll update this page and say so at the top.

Last updated 24 October 2026

What runs where.

Kastir's SDK is a library inside your agent's process. It checks every tool call there. It talks to a decoy service once, when a session starts.

Diagram. Inside your agent's process, every tool call goes from the agent through the Kastir check to the tool, the result comes back through the check before the agent sees it, and the check writes each call to logs/events.jsonl, a file in your environment. Once per session, at start, kastir.init sends the industry profile, a framework label and a session id to the decoy service and receives this session's decoys. In the prototype the decoy service runs on 127.0.0.1. Your agent's process kastir.init(…) industry, framework, session id this session's decoys arms agent Kastir check tool result, checked logs/events.jsonl the call log, a file in your environment Decoy service once per session, at start prototype: on 127.0.0.1 Diagram. Inside your agent's process, every tool call goes from the agent through the Kastir check to the tool, the result comes back through the check before the agent sees it, and the check writes each call to logs/events.jsonl, a file in your environment. Once per session, at start, kastir.init sends the industry profile, a framework label and a session id to the decoy service and receives this session's decoys. In the prototype the decoy service runs on 127.0.0.1. Your agent's process kastir.init(…) arms agent Kastir check result, checked tool events.jsonl the call log, a file in your environment Decoy service once per session, at start receives: industry, framework, session id returns: this session's decoys prototype: on 127.0.0.1
Solid lines: every tool call, and its result on the way back. Dotted lines: once per session, at start.

Inside your process

  • The check on every tool call you wrap: the tool's name, its arguments and its result.
  • The decision. A match stops the call and ends the session. If the match is a decoy token in a tool's result, the tool has already run; the result is held back from the agent and the session ends.
  • The call log: one line per call in logs/events.jsonl, a file in your environment.
  • Decoy files: fake contents only. The SDK doesn't write them to disk; your setup places them, and during a pilot we do that with your engineer.

Sent at session start

  • One request for this session's decoys. It carries the industry profile, a framework label (custom by default) and, if you set one, a session id. The response is the decoys themselves, fake secrets included.
  • In the prototype the decoy service runs on your own machine, on 127.0.0.1. There is no Kastir-hosted service yet.
  • If the service can't be reached, the SDK generates the decoys locally with the same engine. Protection doesn't depend on our network.

What isn't sent to us.

Tool calls, their arguments and their results.They are checked inside your process and not sent to us.

Your prompts and the model's responses.Kastir only sees the tool calls it wraps.

Usage data.The SDK has no telemetry. Its only network request is the one for decoys at session start.

What stays with you, and needs your care

The call log.Kastir writes every wrapped call to logs/events.jsonl with its full arguments and its result, including the result of a call that was stopped after the tool ran. So the file can contain whatever your tools handle, personal data included. It stays in your environment unless you send it somewhere. Treat it like your other application logs.

The decoy registry.state/decoys.json holds each session's decoys, fake secrets included. Keep it out of the agent's reach.

There is no Kastir account, no login and no hosted console.

Decoys are fake.

Every decoy secret is generated at random for one session, with at least 20 random characters. None of them grants access to any real system.

By default the formats are provider-neutral, not copies of real provider key formats, so secret scanners and push protection don't mistake them for real keys.

Decoy tools have no real function behind them. A call to one is stopped before it runs.

What we plant

Assessments and pilots.

An assessment runs in a sandbox we build, with fake data. If you want anything real tested, we agree the scope in writing first, and nothing runs without your written permission.

A Kastir Runtime pilot runs on one agent in your staging environment. In both cases, what we can see, what we keep and for how long are agreed in writing with your team before we start.

Kastir runs entirely in your environment, so we don't see your call log unless you share it with us.

What we don't have yet.

Kastir is a prototype. These are the things a security review usually asks for, and where we stand on each.

Certifications and reviews
SOC 2 reportNot yet.
ISO 27001 certificateNot yet.
External penetration testNot yet.
Source codeKastir isn't open source.During a pilot we'll walk your engineers through how the SDK works.

Report a vulnerability.

Found a vulnerability in Kastir or this site? Email bruno@kastir.eu. We'll reply within three working days.

Show security.txt
Contact: mailto:bruno@kastir.eu
Expires: 2027-10-24T00:00:00.000Z
Preferred-Languages: en, et
Canonical: https://kastir.eu/.well-known/security.txt
Policy: https://kastir.eu/security.html#disclosure

Also published at /.well-known/security.txt for security tools.