Skip to content

Jev directory

Jev Sec Bench

Blind security benchmarks for Jev on public corpora: 662 prompt-injection messages and 200 matched vulnerable-code pairs, with raw per-sample results and a TUI dashboard.
Stars
3
Language
Go
License
MIT
Reading time
3 min
Published by
Community
Author
Gaurav-Gosain
Last verified
Sep 2026

Blind security benchmarks for Jev, TypeSafe's System One model: prompt injection and vulnerable code detection, built on jev-go

Forks
0
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

Blind security benchmarks for Jev, TypeSafe's System One model, built on jev-go. Jev does not generate text. It reads a state and returns typed judgments with calibrated probabilities, which is the shape a guardrail actually needs: a number your code can threshold, not a paragraph you have to parse. Two benchmarks, both blind, both on public corpora: prompt injection, on all 662 labelled messages in deepset/prompt-injections. vulnerable code, on 200 matched pairs from CyberNative/CodeVulnerabilitySecurityDPO.

Quoted from the project's README. Read the full README.

Highlights

  • Prompt-injection run at a plain 0.50 cut: 96.5% accuracy, 95.1% recall, ROC-AUC 0.9927, ECE 0.0588, 22.7s for 662 messages at p50 325 ms.
  • Adding deployment context to the state raised injection recall from 74.9% to 95.1% without any threshold tuning.
  • In 200 matched code pairs the vulnerable half scored above its secure twin 178 times (89.0%), including 43/46 SQL injection pairs.
  • The audit found at least 38% of apparent false positives are corpus label errors, counting only what a regex can prove.

Quickstart

bash
export TYPESAFE_API_KEY=YOUR_API_KEY
go run ./cmd/jev-sec-bench -bench all
go run ./cmd/jev-tui

Watch out

MIT-licensed. Needs Go and a TYPESAFE_API_KEY; both corpora are public and may be in training data, results are a single run, and thresholds should be validated on your own labelled data.

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