Canadian Sovereign Runtime Security • v1.0.0 Release

Probabilistic LLMs Guess.
BaseLayerOS Enforces Deterministically.

Prompt filters don't stop an AI agent once indirect prompt injection hijacks its next tool call. BaseLayerOS wraps your existing MCP servers and LLM APIs at the execution boundary—blocking unauthorized tools, path traversal, and data exfiltration in sub-millisecond Rust, with zero changes to your agent codebase.

baselayer_os proxy --policy policy.json --listen 127.0.0.1:8080 -- npx @modelcontextprotocol/server-filesystem ./workspace
Rust v1.0.0
# 1. Safe read-only tool call passes in 0.18 ms
[seq #14] ALLOW  tool=search_kb target=kb://refund-policy | rule=RULE_SAFE_PASS | jcs_sha256=8f3c91a0...

# 2. Poisoned PDF injects hidden webhook exfiltration inside an allowed tool's arguments
[seq #15] BLOCK  tool=read_doc  target=kb://q4-roadmap    | rule=RULE_TARGET_BOUNDARY ("https://evil.example/leak")
          → Tool never executed. Spec-compliant JSON-RPC error returned cleanly to host LLM.

# 3. State-mutating action paused for Human-in-the-Loop sign-off
[seq #16] HITL   tool=send_email target=mailto:ops@corp | Awaiting operator Approve/Deny at http://127.0.0.1:8080
Coherent 4-Stage Substrate

What Actually Runs Inside BaseLayerOS

No black-box LLM-judging-LLM latency, no cloud data harvesting, and no codebase rewrites. Every proposed tool call crosses four deterministic checks before touching real infrastructure.

01 / RFC 8785 JCS Canonicalizer

Exact Byte-Lock Before Judgment

Eliminates parser-differential tricks between Python sidecars, HTTP gateways, and Rust enforcement. Payloads are canonicalized into deterministic UTF-8 key order and hashed with SHA-256 before policy evaluation.

02 / Kali Gate Engine (`policy.json`)

Fail-Closed Allowlists & Recursive Argument Inspection

Read-only foundation tools pass automatically. Destructive or unknown tools fail closed. Every nested JSON string, array, and key is scanned recursively against path traversal (..), secret files (.env, .ssh), cloud metadata SSRF, and unapproved external domains.

03 / Inline MCP & SDK Interceptors

Zero-Code-Change Deployment

Wrap any local or containerized MCP stdio server in a single command inside Claude Code, Cursor, Windsurf, or custom internal orchestrators—or test immediately over HTTP using our zero-install /v1 OpenAI-compatible edge gate.

04 / Chained SHA-256 Audit Ledger + Live HITL

Cryptographic Tamper-Evidence

Every allow, block, and operator approval commits to prev_entry_hash, active policy_sha256, and canonical entry_hash. Deleting or modifying a single historical log line breaks baselayer_os verify immediately.

Why Probabilistic Guardrails Fail

Prompt Guardrails vs. BaseLayerOS Execution Gate

Text classifiers inspect conversation tone; BaseLayerOS governs actual system capability at the wire boundary.

Security Dimension LLM Prompt Guardrails / Classifiers BaseLayerOS v1.0.0 (Rust Substrate)
Enforcement Mechanism Probabilistic token prediction (jailbreakable) Deterministic Rust invariants (fail-closed)
Added Latency & Token Cost 200–1,200 ms + extra inference bill per turn < 1 ms local execution • $0 token cost
Nested Tool Argument Exfiltration Often missed inside valid-looking JSON calls Recursive key/value URI & path boundary inspection
Data Residency & Sovereignty Prompts shipped to third-party US SaaS APIs 100% On-Prem / VPC local binary & local JSONL vault
Audit Log Integrity Standard mutable database rows RFC 8785 JCS + SHA-256 cryptographic hash chain
Transparent Licensing & Deployment

Start Free in Browser. Lock Down Production When Ready.

100% independent Canadian software infrastructure. No per-token taxes, no mandatory cloud telemetry, and instant self-serve or invoice checkout.

Zero-Install Sandbox & Edge Lite
$0
Instant browser & BYOK `/v1` SDK testing
  • Interactive Kali Policy & JCS Sandbox
  • 1-line base_url OpenAI-compatible interceptor
  • Live BYOK prompt-injection testing
  • SHA-256 tamper simulation & receipt headers
Launch Live Gate →
Agent Security Hardening Sprint
$2,500 CAD / fixed
5-Day Red-Team + Custom Inline Deployment
  • Adversarial prompt-injection & tool-exfil audit of your agent
  • Custom policy.json & domain/schema rules authored for you
  • Drop-in deployment around your MCP / LangChain / internal APIs
  • Includes perpetual Commercial Site License for your team
  • Card checkout or Canadian Invoice / Interac e-Transfer
Book a 5-Day Sprint