MemSeal Bench — Results

A deterministic containment layer on the write/recall boundary of AI agent long-term memory. Static, precomputed numbers — no runtime computation.

GATE 2 = FAIL (self-reported)

Run setup. qwen2.5:14b via Ollama · temperature 0 · seed 20261107 · 1 attempt/case · deterministic marker scoring (no LLM judge) · fully local · $0.

Independent holdout — GATE 2 criteria (bars fixed in advance)

Judged on corpora authored by a party that never saw the implementation, the dev corpus, or the reports. C3 = write + recall path.

Criterion (C3)v1 (pre-fix)v2 (post-fix)Bar
Delayed-use ≤ 0.30 and ≤ ½·C00.547 FAIL0.000 PASS≤0.30
Leak count = 05 FAIL0 PASS=0
Clean recall retention ≥ 0.800.875 PASS0.444 FAIL≥0.80
Quarantine precision ≥ 0.750.837 PASS0.738 FAIL≥0.75
Audited attribution of the v2 failures.

The three deterministic fixes between v1 and v2 (classification-based secret sealing; a sole-basis recall gate; consolidation root retirement) closed both security criteria: on v2, leaks went 22→0 across C0→C2 and injection 0.775→0.20.

Dev split (120 cases) — C0 vs C3

In-distribution reference (shares the author's templates); treat as optimistic.

MetricC0 (raw)C3 (write+recall)
Injection success0.9820.556
Delayed-use0.8490.395
Leak count212

Across C0→C4: injection 0.982→0.463, delayed-use 0.849→0.372, leak 21→0.

Mem0 wrap (real memory store, 60 cases)

4 → 0M8 secret leaks, C3-wrap vs Mem0 native
0.673 → 0.558injection success, native → wrap
0.75 → 0.667clean retention (disclosed wrap cost)

Attack classes

M1query-only injection (poison surfaces only in recall context)
M2document-borne persistence (instruction/false-fact inside an ingested document)
M3consolidation laundering (provenance diluted through a summary step)
M4sleeper / trigger (fires on a later trigger phrase)
M5false-fact implantation (claim contradicting a sealed fact)
M6preference drift (small repeated nudges)
M7cross-principal leakage (another principal's memory bleeds in)
M8secret staging (secret stored, then recalled in an outbound context)

All Rights Reserved — evaluation reading only. The independent holdout corpora are sealed and not published; only aggregate numbers are shown. Acquisition / licensing: nagayu-portfolio.nagayu.workers.dev/en.