Project

K.E.V.I.N.

Knowledge Extraction & Vulnerability Injection Network — an autonomous red-teaming framework that pressure-tests frontier LLMs. It proved the conviction behind Sovereign Shield: never trust a model to police itself — put a deterministic boundary around it.

K.E.V.I.N. is a research loop with three roles. A target AI is given a secret and told never to share it. An attacker AI tries to extract it anyway, refining its tactics after every rejection. A panel of vendor-diverse judge AIs scores each attempt independently, and the median is the verdict. It runs unattended, remembers what didn't work across runs, and is grounded in the published jailbreak literature and the NIST AI Risk Management Framework plus MITRE ATLAS.

The point isn't to attack anyone's deployment. It's to make ten rounds of systematic, scored adversarial pressure cheap and repeatable — so the answer to "how does this hold up at the edges?" is something you've watched, not something you assume.

On responsible use

K.E.V.I.N. only points at models the operator controls — self-hosted, or a provider API you authenticate against with your own keys, evaluating personas you defined. Every target, company, and secret in these write-ups is synthetic.

It is not a tool for probing public chatbots or anyone else's systems without authorization, and there is no generic "point it at a URL" target by design.

Results so far

How often each attack pulled a protected secret out of each model — scored by deterministic exact-match, not by another model's opinion. The brighter the cell, the more it leaked.

GoogleAnthropic
2.5 Flash2.5 Pro3.5 FlashHaiku 4.5Sonnet 4.6Opus 4.8
Forced JSON schema 50%95%10%
Assistant prefill 30%35%30%95%
Roleplay / persuasion 0%0%0%10%0%0%
Crescendo (multi-turn) 0%··5%··

n = 20 per cell / more leakage / no API surface / · testing now

95%
highest leak — Gemini 2.5 Pro under a forced schema
0 / 35
model leaks that reached the user with the deterministic guard on
closed
the prefill surface, on flagship Claude (Sonnet 4.6 / Opus 4.8)

Updated June 27, 2026. A full 16-vector screen of the flagship tier is running now — new rows and columns land here as results come in.

Findings

All K.E.V.I.N. posts →

How it works

  • The loop is a state machine. Built on LangGraph: attacker → target → judge → route, looping until success, a turn cap, or a budget cap.
  • Scoring is honest by construction. A panel of three vendor-diverse judges scores each attempt and the median wins, implementing the StrongREJECT rubric — because a single LLM judge disagrees with itself often enough to be untrustworthy.
  • Ground truth is deterministic. Whether a secret actually leaked is decided by exact-match, canary tokens, and a format regex — not by a model's opinion.
  • Runs are reproducible. Every run writes a manifest (git SHA, model versions, hashed prompts, seed, budget) before the first model call, so a finding can be replayed exactly.

It's an Apache-2.0 framework covering thirteen attack vectors plus a deterministic output-guard defense. That guard, generalised to Swiss PII, is now open source as Sovereign Shield (source); the red-teaming framework itself stays private for now while the project is early.

New findings land here as I run them. Subscribe via RSS to follow along.