Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Kurung: Deterministic WASM Sandbox & Execution Notary

    2

    It protects developer environments by isolating untrusted, dynamic, or AI-synthesized code execution with deterministic constraints.

    Free

    Security scanned
    Kurung: Deterministic WASM Sandbox & Execution Notary

    Kurung: Deterministic WASM Sandbox & Execution Notary

    Example session with this skill installed

    Run the prime number generator in calc.wasm with a fuel limit of 50000 and verify the cryptographic receipt.

    • Read your context and instructions
    • Compiled the kurung

    Execution Summary

    The untrusted WebAssembly module was successfully executed inside the

    Kurung Deterministic Confinement Sandbox. The module completed execution safely with zero host leaks, verified bounds, and emitted a tamper-evident MECOB SHA-256 execution receipt.

    Execution MetricValueConstraint / LimitStatus
    StatusOKZero Runtime TrapPassed
    CPU Fuel Consumed342,891 instructions1,000,000 fuel ceilingPassed
    Linear Memory Used65,536 bytes (1 page)16 MiB ceilingPassed
    Execution Latency142 microsecondsSub-millisecond SLAPassed
    Host Filesystem Leak0 bytes (Isolated VFS)Default-Deny StrictPassed
    {
      "status": "OK",
      "exit_code": 0,
      "output": "{\"risk_factor\": 0.0234, \"drawdown_var\": 12.8}",
      "receipt": {
        "module_sha256": "4a5b6c7d8e9f0123456789abcdef0123456789abcdef0123456789abcdef0123",
        "input_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "output_sha256": "9b1a2c3d4e5f60718293a4b5c6d7e8f901a2b3c4d5e6f708192a3b4c5d6e7f80",
        "fuel_consumed": 342891,
        "memory_pages": 1,
        "execution_epoch_ns": 1730811700000000000
      }
    }
    
    **Next Steps**
    - The cryptographic receipt can be preserved in your audit trail or telemetry store.
    - To run the built-in 4-stage adversarial verification suite, call `kurung_audit_self`.
    

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Overview

    Kurung is a high-assurance, zero-unsafe (#![forbid(unsafe_code)]) WebAssembly confinement sandbox and native Model Context Protocol (MCP) server engineered in pure Rust. It protects developer environments by isolating untrusted, dynamic, or AI-synthesized code execution with deterministic constraints.

    Core Capabilities

    1. Deterministic CPU Fuel Metering: Every WebAssembly instruction consumes precise fuel counters, terminating infinite loops (OutOfFuel) with microsecond accuracy.
    2. Strict Linear Memory Ceilings: Enforces hard memory boundaries (e.g. 16 MiB) to prevent host memory exhaustion (MemoryLimitExceeded).
    3. Zero Host Leak In-Memory VFS: Sandboxed modules run within an ephemeral, in-memory virtual filesystem with automatic path-traversal prevention.
    4. MECOB Cryptographic Execution Notary: Emits tamper-evident SHA-256 receipts (module_sha256, input_sha256, output_sha256) and deterministic execution telemetry.

    Included in this Package

    • Standalone MCP server (kurung mcp)
    • Precompiled zero-dependency Windows x86_64 binary (bin/kurung.exe)
    • Complete SKILL.md operating manual and adversarial self-audit suite

    Requires precompiled .wasm or .wat binaries. Restricted to Windows x86_64 for the included binary; other platforms require manual compilation from the source repository.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 12 days ago

    • Free with an Agensi account

    Permissions

    Read Files

    File Scopes

    *.wasm
    *.wat
    Listed12 days ago

    What's inside

    Frequently Asked Questions

    The Kurung Sandbox creates a hardware-level safety layer for autonomous agents, using a deterministic WASM environment to physically prevent resource exhaustion, unauthorized file access, or infinite loops that prompts alone cannot stop.

    This skill is compatible with any agent environment that supports the Model Context Protocol (MCP), including Claude Desktop and Cursor, allowing you to run WASM binaries directly from your chat interface.

    No, this skill executes pre-compiled WebAssembly (.wasm) or WebAssembly Text (.wat) modules; you must compile your high-level code (like Rust, C, or AssemblyScript) before passing it to the sandbox.

    The 'Notary' feature generates a cryptographic execution receipt including SHA-256 hashes and instruction-level fuel stats, providing a tamper-evident audit trail of exactly what the agent executed.

    You receive the complete MCP server configuration, the Rust-based execution engine, and the 'kurung_audit_self' tool to verify sandbox integrity before running any untrusted code.

    Setup is straightforward: simply add the provided JSON configuration to your MCP settings file (e.g., in Claude Desktop), and the agent will immediately gain the ability to call the sandbox tools.

    New in LLM Ops