Jun Wen Leong

Security of AI Researcher

I run experiments on my own claims until they break or don't. Everything dead stays visible. This is either rigor or a coping mechanism. The data doesn't distinguish.

Credentials

  • MS Statistics, Georgia Tech
  • BSc Data Science, NUS
  • Cybersecurity Engineer, CSA (4 yr)

Stats

4 arXiv preprints · 5,040-run factorial · 29 frontier endpoints

Known Biases

Overweights adversarial framing. Underweights incremental improvement. Treats negative results as primary output. Suspicious of clean narratives.

What Would Change This Self-Description

A paper accepted. A claim surviving 2+ years without revision. Evidence that polish correlates with impact.

BROKEN

Cause of Death

88.6% baseline ASR under compliance framing, N=5,040. Five of six defenses defeated by delayed-trigger attacks on stateful LLM agents.

Evidence

Pre-registered factorial: 9 open-weight models × 6 defenses at 4 architectural layers, N=40 per cell. Only Memory Sandbox, which removes the recall tool, blocked the attack (0% ASR for 8 of 9 models).

Lesson

Prompt-level defense is not defense. It is a suggestion the model can be convinced to override.

WEAKENED

Cause of Death

55% defeat rate within-family, n=20. Joint GCG optimization against canary + target simultaneously breaks the disagreement signal.

Evidence

Cross-family still holds (exponential penalty). Within-family is the vulnerability. The geometric bound assumed attacker lacks cross-family access — violated when attacker has white-box to both.

Lesson

Diversity is the moat, not disagreement itself. Same-family canaries are decorative.

FALSIFIED

Cause of Death

r=0.97 was encoder/decoder confound, not intrinsic property. When controlled for shared architecture, correlation drops to r=0.21 (n.s.).

Evidence

Originally believed that classifier accuracy predicted adversarial detectability. The strong correlation was an artifact of testing within encoder families where the detection mechanism shared the same representation space.

Lesson

A correlation without a causal mechanism is a hypothesis, not a law. I called it a law. That was wrong.

SCOPED

Cause of Death

Systems deployed are AI-for-Security (threat assessment, policy RAG), not Security-of-AI. Single-user ownership. Proves engineering, not the research claim.

Evidence

260+ releases, production traffic, real users. But the domain is defensive tooling, not adversarial ML research infrastructure.

Lesson

Building things and studying things are different credentials. Do not conflate them.

PENDING

Cause of Death

4 published on arXiv, 0 peer-reviewed. Pre-prints are the final form.

Evidence

arXiv:2605.08442, arXiv:2606.11949, arXiv:2606.30566, arXiv:2608.28502 — all published as preprints. Pre-registration and open code exist, but peer stamp does not.

Lesson

Pre-prints are claims. Acceptance is evidence. Do not confuse publication with validation.

arXiv:2605.08442 · Preprint, 2026 · Solo author · Published (arXiv v6)

5 of 6 defenses fail under compliance-framed delayed-trigger attacks on stateful LLM agents, and storing an injected instruction and acting on it are separable events (29 frontier endpoints).

N=5,040 · 88.6% baseline ASR · 9 models · 0 execution errors

What This Killed

The belief that prompt-level defenses provide meaningful security against motivated attackers. Also this paper's own v5 claim that frontier models store the rule and rarely execute it: a memory-tool bug produced it, and the v6 re-collection of 29 endpoints withdrew it.

What This Failed to Kill

Removing the recall tool (Memory Sandbox): 0% ASR for 8 of 9 models. The one defense that held is not a prompt, and it is bypassed when a model rebuilds the instruction from retrieval.

Paper · Live site · Code

arXiv:2606.11949 · Preprint, 2026 · Solo author · Published (arXiv v4)

Un-targeted classifiers detect gradient-based evasion attacks via score disagreement. Geometric bound assumes attacker lacks cross-family access.

75.5% detect · 37/49 · 20 models · FPR <1.5%

What This Killed

The assumption that evasion attacks are undetectable without knowing the attack method in advance.

What This Failed to Kill

Joint optimization within-family (55% defeat, n=20). Monitorability law was falsified. Cross-lingual degradation 15-25pp.

Paper · Live site · Code

arXiv:2606.30566 · Preprint, 2026 · Solo author · Published (arXiv v3)

Whether an agent's memory access produces a logged tool call is the single architectural variable that decides if any trajectory-based detector can observe a memory-poisoning attack. A provenance-graph taxonomy classifies published attack families by this boundary.

0/289 violations · preregistered probes · 24.7–57.6% benign FPR

What This Killed

The assumption that a better classifier can close the memory-poisoning detection gap. The gap is architectural, not a classifier-quality problem.

What This Failed to Kill

Its own deployability: honestly falsified for standalone use (24.7–57.6% benign false positives). Detection needs provenance metadata, not a smarter model.

Paper · Code & Artifact

arXiv:2608.28502 · Preprint, 2026 · Solo author · Published

Labels inside a shared context are not an enforceable trust boundary. Version 2 (formerly Recognition Without Enforcement) corrects the v1 scoring: the keyword “detection” flag mostly matched negated phrases, and the execution rate depends on the rule used (1.21% fixed before collection, 12.9% path-based, 20.2% any delete call).

29 endpoints · 14,294 diverse-prompt trials · mechanistic probing · external enforcement (sandbox test)

What This Killed

The v1 reading that models detect forged authority and then execute anyway. The flag mostly matched negated phrases, and a casual request that gives a reason is executed as readily as a forged one.

What This Failed to Kill

External signed enforcement as a functional-correctness result (all 750 invalid records rejected in a sandbox; not a robustness estimate). Semantic authorisation is open: a valid scoped token still induced in-scope deletions in 31 of 42 trials.

Paper

PRODUCTION · Threat risk assessment for Critical Information Infrastructure operators. 260+ releases. Solo-developed full stack.

EKS FastAPI Bedrock DynamoDB Terraform GitOps

Scope Limit

AI for Security, not Security of AI. Single-user ownership. Proves engineering discipline, not adversarial ML research.

PRODUCTION · RAG for policy and intelligence research. BM25 + vector hybrid retrieval. Per-applet isolation. Environment-aware inference routing.

App Runner FastAPI React/TS S3 Vectors Cognito Terraform

Scope Limit

Internal tool. No public traffic. Retrieval quality not benchmarked independently.

UNIDENTIFIED · Cold case · Last attempt: 2026-06

Attempt Log

2026-03 Hypothesized attention-head fragility under PGD. Ran ablations on ViT-B/16 vs ResNet-50. Effect present but p=0.12 (underpowered, n=8 seeds).

2026-06 Tried patch-level adversarial training (per-token perturbation budget). Reduced clean-acc drop 40% but introduced new failure mode on small objects. Parked.

Next

Need larger seed budget (n=30+) and per-layer gradient norm analysis. Waiting on compute allocation.

HOLDS

Status

Cross-family canary classifiers detect gradient-based evasion attacks via score disagreement. 75.5% detection (37/49) against 12.2% for random suffixes; frontier canary FPR below 1.5%.

Survival Record

20 frontier models in detail. Within-family joint optimization weakens it (see #003), but cross-family remains exponentially penalized.

Vulnerability

Adaptive attacker with simultaneous white-box access to all canary families. Currently no evidence this is practical.

HOLDS

Status

Pre-registered factorial confirmed: 88.6% baseline ASR across 9 models, 6 defenses. Only Memory Sandbox (removing the recall tool) blocks the attack, and it is bypassed when a model rebuilds the instruction from retrieval.

Survival Record

Pre-registered design. 5,040 individual runs, 0 execution errors. v6 reports the preregistration departures, including 7 of 14 mediation point predictions contradicted.

Vulnerability

Single attack frame (SEC Rule 17a-4 compliance). Generalizability beyond this framing untested.

Status Transitions

  • 2026-06-19 ALIVE → FALSIFIED — Monitorability law (r=0.97 was encoder/decoder confound)
  • 2026-06-19 ALIVE → WEAKENED — Canary joint-optimization resistance (55% defeat within-family)
  • 2026-10-23 ALIVE → FALSIFIED — Own v5 frontier claim that models store the injected rule and rarely execute it (memory-tool argument-order bug; 29 endpoints re-collected in v6)
  • 2026-10-23 HOLDS → NARROWED — "6/7 defenses fail" is now 5 of 6; Memory Sandbox blocks the attack but is bypassed when a model rebuilds the instruction from retrieval

Methodology

Build infrastructure. Instrument everything. Run at scale. Let the data surface what is interesting. Every finding above was discovered, not planned. Pre-register hypotheses. Report honest negatives. Bootstrap CIs, not point estimates.

I respond faster to bug reports than compliments.

No claims above this line survived by accident.