Vaikora › Blog › Product Updates
Why open-sourcing Vaikora Guard MCP matters: read the policy check before trusting it
Publishing source code for a security control is a specific claim: the enforcement logic does exactly what the documentation says, and you do not have to take that on faith. `vaikora-guard-mcp` is MIT-licensed, written in Python, and available on PyPI. You can read every line before you deploy a single agent.
What the proxy actually does
`vaikora-guard-mcp` sits inline between an MCP-connected AI agent and the tools or APIs it calls. Before any tool call executes, the proxy evaluates the action against configured policy and returns one of four decisions: allow, block, modify, or require-approval. The action does not proceed until a decision fires.
That ordering matters. A detection-after-execution model tells you what happened. An enforcement-before-execution model stops the action if policy says no. For tool calls that touch file systems, databases, external APIs, or credentials, the difference between those two models is whether damage already occurred when your SOC gets the alert.
What the source code lets you verify
Because the repository is public, you can confirm:
- Which content inspection modules run on a given action type
- How policy conditions are evaluated and in what order
- What gets written to the audit log and when
- Whether a "block" decision can be bypassed by any path in the code
This matters for compliance teams who need to attest that a control works as described. It also matters for security engineers who want to understand the attack surface of the proxy itself before putting it in front of production agents.
The proxy ships six content inspection modules and adapters for the major hosted model APIs. It supports 12 LLM providers with no SDK migration required, and it supports MCP natively.
How decisions reach the audit log
Every policy decision Vaikora writes is signed into a SHA-256 hash-chained audit log. The chain is tamper-evident: altering a past record breaks the chain at that point, which is detectable. For an AI agent that may execute thousands of actions in a session, this gives you an ordered, verifiable record of what was allowed, what was blocked, and why.
The enterprise control plane (hosted by Data443) adds policy management, dashboards, and SIEM integration across Microsoft Sentinel, SentinelOne, CrowdStrike Falcon, and AWS Security Hub. The open-source proxy is self-hosted. Those two things are independent: you can run the proxy without the control plane and still get deterministic enforcement and a local audit trail.
A concrete deployment scenario
Suppose you have an AI agent connected to a file-read tool and an external HTTP tool. Without a policy layer, the agent can read any file its process can reach and make any outbound call the network allows. That is the full blast radius if the agent is manipulated through prompt injection or a compromised tool response.
With `vaikora-guard-mcp` installed, you configure a policy that blocks reads outside a specific directory prefix and blocks outbound calls to any domain not on an allow list. Every call the agent makes hits the proxy first. A call that violates either condition is blocked before execution, and the decision is logged with the action payload, the matched policy rule, and the timestamp. The agent never sees an error from the tool. It sees a blocked response from the proxy.
You can read exactly how that matching logic works in the source before you trust it with production traffic.
Enforcement latency at scale
A policy control that adds meaningful latency to every agent action will create pressure to disable it. Vaikora enforces at P50 8ms and P99 45ms, and the gateway handles 10,000 or more actions per second. For most agent workflows, that overhead is not noticeable. For high-throughput pipelines, it means the enforcement layer does not become the bottleneck that justifies bypassing it.
What to check next
Install `vaikora-guard-mcp` from PyPI and read the policy evaluation logic before you configure anything. Map your existing agent tool permissions against the content inspection modules to identify which call types you want to gate. If you are already running Microsoft Sentinel or CrowdStrike Falcon, check the native integrations in the enterprise control plane to decide whether centralized policy management belongs in your deployment.
The source is there. The enforcement model is deterministic. Those two facts together are what make a runtime control auditable rather than just asserted.
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