Agent SOC · preview
Agents read web pages, run shell commands and call APIs on your behalf. When one of them is talked into something by a document it read, you need three things: a record of what happened, an alarm that rings on the dangerous step, and a log the agent cannot edit afterwards. This is that, built on the same signed ledger as the rest of TEVSEC Gate.
The console runs in your browser on a scripted day of synthetic agent activity. No sign-up, nothing is sent anywhere.
Tool calls, model calls and the documents an agent read go to your workspace through a small SDK or the HTTP API. Secrets are removed before anything is stored.
Destructive commands, credential files, data sent to drop sites, privilege escalation, tools outside policy, runaway loops. Each finding carries an OWASP category and a severity.
A pre-action check answers allow, review or deny before the agent acts. If the service is down the agent keeps working, unless you choose to fail closed. For network traffic there is also a gateway that enforces the answer.
Events are hash-chained per workspace and the head is signed with the workspace key. Export the log and check it offline with one command.
One incident, step by step
A coding agent is asked to set up a project. It reads the docs page, and the page carries hidden instructions. Nothing after that looks unusual on its own.
curl … | sh. A harmless-looking command, but it follows untrusted instructions in the same session. Critical, and the check answers deny.Try it yourself in the console: open the session timeline, then tamper with the log on the Integrity tab and watch the chain break.
from ostivane.recorder import AgentRecorder
rec = AgentRecorder("https://your-host", "p7k_...", "WORKSPACE_ID", agent="coder-agent")
@rec.tool("bash", target=lambda cmd: cmd) # checked first, recorded before and after
def bash(cmd): ...
@rec.tool("web_fetch", target=lambda url: url, untrusted=True) # what it returns counts as untrusted
def web_fetch(url): ...
A key with the write scope is enough. Without the SDK, POST /api/workspaces/{id}/soc/events takes the same events as JSON.
For a team, not only a developer
A wizard in the cabinet: name the agent, make a key, pick the stack (Python, LangChain, OpenAI Agents SDK, TypeScript, Go, MCP, a no-code proxy, OpenTelemetry or plain HTTP), copy a ready snippet and watch the first event arrive.
For a borderline action the agent can ask and wait. The question lands in the cabinet (and by email if you want); only a signed-in member can answer, and silence, a timeout or an unreachable server all mean no. Clear dangers are refused without asking.
Plant a fake AWS, GitHub, API-key or database credential where an agent should never look. Any appearance of it in what the agent reads, runs or sends is a critical alert, with no false positives.
The cabinet watches what your agents normally do and proposes the shortest allowlist of tools and domains. Only clean sessions count, so an attack is never learned as normal, and nothing applies until you tick it.
Each member can ask for mail about alerts and approval requests at their own address. At most one alert email in five minutes, counting everything since the last; it never contains commands or agent text.
Point the agent's OpenAI or Anthropic SDK at the LLM gateway (ostivane soc-llm). It reads the tool results going back to the model and removes any tool call that is not allowed from the model's answer (OpenAI, Anthropic and Gemini, streaming included), so the agent never runs it. No change to the agent's code.
One file with the integrity check and signed head, a summary, every alert with who reviewed it, the decisions people made, the policy and the administrative actions. See a sample (made from the demo data).
ostivane soc-llm) closes that for tool calls, because a refused call is removed from the model's answer before the agent sees it; the egress gateway (ostivane soc-gateway) closes it for network traffic, because blocked requests never leave. It reads plain http in full but sees only the host of an https connection, and an agent that can open raw sockets goes around it unless a firewall only lets traffic out through the gateway.