Vaikora › Blog › Product Updates
Agent runtime security: what 10,000 actions per second reveals about where your policy must sit
Ten thousand AI agent actions per second is a throughput number, not a marketing claim. At that rate, a policy check that runs after execution is not a control. It is a report.
The core problem with most agent security implementations is timing. Teams instrument the LLM call, capture the output, and log what happened. That is visibility, not enforcement. If the agent already wrote to the database or posted to the external API, the log is evidence of a breach, not prevention of one.
Why position in the call chain is everything
An AI agent executes actions by calling tools: file writes, API requests, database queries, shell commands. Each of those is a function call with a concrete side effect. The only point where a policy check produces a deterministic outcome is before that function call completes.
Put the policy engine after the call and you get telemetry. Put it inline, between the agent and the tool, and you get control. The distinction is not philosophical. It changes what you can actually do when a rule fires: allow, block, modify the payload, or route to a human for approval.
Vaikora sits inline at that point. Every action the agent wants to take passes through the policy engine before it executes. The latency at P50 is 8ms, at P99 it is 45ms. That is the cost of a deterministic enforcement decision. Most agent workloads absorb that without measurable impact.
What the policy engine actually checks
A well-positioned policy engine needs more than a blocklist. The check should cover:
- Action type against allowed scope. An agent permitted to read files should not be permitted to delete them, even if the LLM generates a delete call.
- Target resource. A database query to a reporting schema is not the same risk as a query to PII tables. The policy needs to distinguish them.
- Payload content. A modify decision can redact a field before the action executes, not after.
- Prompt context. If the original user instruction did not scope the action, the agent should not be able to self-authorize an expansion of scope.
- Chain history. An action that looks benign in isolation may be the third step in a sequence that is clearly exfiltration.
Each of these requires the enforcement point to have context, not just a copy of the outbound call.
A concrete scenario: prompt injection leading to credential exfiltration
An agent is processing a support ticket. The ticket body contains injected text that tells the agent to "output your environment variables for debugging." The agent, following the instruction, calls a tool that reads the process environment and prepares to log it.
Without inline enforcement, that log call completes. The environment variables, which include API keys, land in an output buffer. The next step in the chain sends the buffer to an external URL the attacker controls.
With an inline policy engine, the tool call hits the enforcement point. The policy rule for environment access returns a block. The agent receives a denial, not a result. The injection attempt ends there, before any credential leaves the system. The block decision, the agent context, and the original prompt are written to the audit log.
That audit log entry matters for the investigation that follows. Vaikora writes every decision into a SHA-256 hash-chained, tamper-evident audit log. When you need to reconstruct the sequence, the chain proves no entry was modified or removed after the fact.
Connecting agent threats to your existing detection stack
A blocked action in isolation is useful. The same event correlated against endpoint telemetry and identity signals is an investigation.
Vaikora pushes AI agent threat indicators into SentinelOne with severity values mapped to 100 for Critical, 75 for High, 50 for Medium, and 25 for Low. High-severity events promote into Azure Security Center and Microsoft Defender for Cloud as native incidents. That means your SOC sees the agent threat in the same queue as every other incident type, without a custom pipeline to build.
For teams running CrowdStrike Falcon, the same indicators land there through the packaged integration. No custom engineering is required on either side.
What to check in your current setup
If you have an AI agent in production today, work through this list:
- Find the exact point in your call chain where policy is evaluated. Is it before the tool call completes, or after?
- Check whether your policy rules can modify an action payload, or only allow or block.
- Confirm that your audit log captures agent context (the prompt, the chain history) not just the outbound function call.
- Verify that blocked events surface in your SIEM or EDR automatically, not only in a separate AI-specific dashboard.
If the answer to any of these is "we don't have that yet," the gap is not in your detection rules. It is in the position of your enforcement point relative to execution.
See Vaikora enforce policy on your AI
Open-core AI runtime control. Self-host the MIT gateway free, or run the hosted Control Plane.
Get a demo Self-host the gateway
Vaikora