# Lab

> Interactive security labs by Steven Foerster: prompt injection, memory corruption, threat modeling, and cryptography demos. Most tools run in your browser.

- Source: https://stevenfoerster.com/lab/

Lab

Interactive security labs by Steven Foerster: prompt injection, memory corruption, threat modeling, and cryptography demos. Most tools run in your browser.

## What this is

This is my public lab notebook in runnable form: prompt injection visualizers, memory corruption simulations, deterministic threat modeling, and cryptography demos. Most tools run fully in your browser.

Try breaking things. Seriously. If you find edge cases or bugs, open an issue or send me a note.

## AI & Machine Learning

Interactive visualizations for understanding how AI systems work.

AI & Machine Learning

### [Embedding Space Explorer](https://stevenfoerster.com/lab/embedding-explorer/)

Visualize how AI understands meaning through vector similarity and semantic clustering.

Explore

AI & Machine Learning

### [Classifier Threshold Lab](https://stevenfoerster.com/lab/classifier-threshold/)

Drag a decision threshold across score distributions and watch precision, recall, and ROC curves update in real time.

Explore

AI & Machine Learning

### [RAG Pipeline Playground](https://stevenfoerster.com/lab/rag-playground/)

Paste text, adjust chunk size and overlap, visualize how documents split into chunks, and run simulated similarity searches.

Explore

## AI Safety & Red Teaming

Interactive demos for understanding AI vulnerabilities and adversarial techniques.

AI Safety & Red Teaming

### [AI Text Watermarking Lab](https://stevenfoerster.com/lab/text-watermark/)

Generate, detect, and edit a SynthID-style AI text watermark with a visitor-selected key.

Explore

AI Safety & Red Teaming Start here

### [Prompt Injection Visualizer](https://stevenfoerster.com/lab/prompt-injection/)

Interactive demo of prompt injection attacks with visual breakdowns and defense patterns.

Explore

AI Safety & Red Teaming

### [System Prompt Architect](https://stevenfoerster.com/lab/system-prompt-architect/)

Guided step-by-step builder for LLM system prompts with security hardening and live preview.

Explore

AI Safety & Red Teaming

### [Jailbreak Sandbox](https://stevenfoerster.com/lab/jailbreak-sandbox/)

Test jailbreak techniques against progressively hardened defenses with simulated model responses and scoring.

Explore

AI Safety & Red Teaming

### [RAG Poisoning Simulator](https://stevenfoerster.com/lab/rag-poisoning/)

Inject adversarial documents into a simulated RAG pipeline and observe how poisoned context changes retrieval and generation.

Explore

AI Safety & Red Teaming

### [Agent Attack Chain Visualizer](https://stevenfoerster.com/lab/agent-attack-chain/)

Step-by-step visualization of multi-tool agentic exploits with toggleable defenses.

Explore

## Systems & Memory Safety

Visual explanations of low-level security concepts and failure modes.

Systems & Memory Safety Start here

### [Memory Corruption Playground](https://stevenfoerster.com/lab/memory-playground/)

Hands-on, in-browser simulation of buffer overflows, use-after-free, and double free.

Explore

Systems & Memory Safety

### [Exploit Chain Visualizer](https://stevenfoerster.com/lab/exploit-chain/)

Step-by-step visualization of buffer overflow exploitation with defense mechanisms.

Explore

## Risk & Threat Modeling

Deterministic analysis for early security and architecture review.

Risk & Threat Modeling Start here

### [Faultlines](https://stevenfoerster.com/lab/faultlines/)

Deterministic threat-model synthesis without machine learning.

Explore

Risk & Threat Modeling

### [Alert Triage Simulator](https://stevenfoerster.com/lab/alert-triage/)

Practice SOC alert triage under pressure. Learn to spot real threats in noise.

Explore

Risk & Threat Modeling

### [Wazuh Rule Builder](https://stevenfoerster.com/lab/wazuh-rule-builder/)

Write and test Wazuh custom rules and decoders against sample log lines in the browser.

Explore

## Quantum Computing

Interactive visualizations for learning quantum mechanics and algorithms.

Quantum Computing Start here

### [Shor vs Grover](https://stevenfoerster.com/lab/shor-grover/)

See why Shor breaks RSA but not lattices, and why Grover only forces bigger symmetric keys, with interactive period finding and a Grover calculator.

Explore

## Cryptography

Client-side cryptography demos and local-first tools.

Cryptography Start here

### [Paste](https://stevenfoerster.com/lab/paste/)

Client-side encrypted paste links with keys stored in the URL fragment.

Explore

Cryptography

### [Saf](https://stevenfoerster.com/lab/saf/)

Local file encryption bundles for secure sharing.

Explore

Cryptography

### [Paillier homomorphic addition demo](https://stevenfoerster.com/lab/fhe/)

Add numbers while encrypted to see private computation in action.

Explore

Cryptography

### [Post-quantum cryptography](https://stevenfoerster.com/lab/pqc/)

Post-quantum cryptography (PQC) demos and migration guidance.

Explore

## Explainers & Guides

Plain-language framing for how the tools work.

Explainers & Guides

### [Tools privacy](https://stevenfoerster.com/lab/privacy/)

Security model that explains what the tools store and never collect.

Explore
