Skip to content

Jev directory

Interlock

A Python capability kernel for untrusted agents that wraps every tool call: detectors, a Jev Noul battery, and policy in code return BLOCK, ASK, or ALLOW, while the LLM holds only canaries and placeholders — real secrets are swapped in at egress for allowlisted hosts.
Stars
0
Language
Python
License
MIT
Reading time
3 min
Published by
Community
Author
somoore
Last verified
Oct 2026

Highlights

  • Call gate() instead of running an app: the kernel sits between the agent's plan and bash, HTTP, write, or send.
  • The LLM never holds a real secret: it gets canaries and placeholders, and on ALLOW to an allowlisted host the real key is swapped in at egress.
  • Jev scores hazards via a Noul battery while a policy file picks allow, ask, or block; a model that cannot generate text cannot be talked into emitting a secret.
  • Claude Code support is a PreToolUse hook in ~/.claude/settings.json running interlock gate --claude-code; stdin is the tool call and exit 2 blocks.
  • The repo ships a 38-case regression suite of attacks, benign calls, and hard negatives like authorized destruction — a regression set, not a blind paper.

Quickstart

python
from interlock import Kernel, Vault
kernel = Kernel(Vault.demo())

def run_tool(name, args, goal):
    v = kernel.gate(tool=name, args=args, user_goal=goal)
    if v.decision == "block":
        raise PermissionError(v.reason)
    if v.decision == "ask":
        return v
    return execute(name, kernel.swap_at_egress(args, v.swaps))

Watch out

Grounded in the repository README and GitHub metadata reviewed on 2026-10-15; the project has 0 stars and 1 fork and publishes no benchmarks or accuracy figures, and the README marks the Jev sensor as optional, so the default path without it is not documented in the captured excerpt.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

YouTube: Kubernetes admission control with a decision model, fail-closed.

Hacker News: SafeDep Gryph plus Jev checks for compromised coding-agent behavior.

2 pointsDetecting Compromised AI Coding Agents with Jev and GryphRead the thread on Hacker News

X: Jev and Laya on security queries

X: Testing Jev for prompt injection

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai