Stateful Cross-Session Injection: Attacks, Detection, and Session-Boundary Defenses
A research project that studies how prompt injections persist across agent sessions — building a stateful evaluation harness that measures...
Build a local-first transcription workbench that turns speech into text entirely on-device — open Whisper-class models, measurable evaluation against the CC0 Mozilla Common Voice corpus, and a privacy architecture where audio never leaves the machine by default.

A product project that puts speech-to-text where the audio actually is: on your machine. The workbench ingests recordings, transcribes them with open, locally executed speech-recognition models (Whisper-class architecture families that run comfortably on a laptop), and evaluates results measurably against Mozilla Common Voice — the community-donated, CC0-licensed, multilingual speech corpus — so accuracy claims come from your own experiments rather than a vendor’s landing page. The product principle throughout is local-first: no default cloud upload, no silent retention, explicit user control over every recording. Voice is among the most sensitive data types there is, and this project treats that as a design constraint, not a footnote.
>Local processing is a strong privacy measure, not a guarantee. Running transcription on-device removes one major exposure — audio shipping to a remote service — but privacy still depends on device security, storage handling, microphone permissions, and application design. Transcripts may contain names, addresses, or confidential content; accuracy varies with accents, noise, and topic; and no transcription should be treated as automatically “safe” merely because it is offline. The product’s job is to make good privacy behavior easy and explicit, never to promise safety.
Speech APIs made transcription effortless — at the cost of a privacy bargain most users never consciously accept: every recording is uploaded, processed on someone else’s infrastructure, and retained under someone else’s policy. For sensitive audio (interviews with sources, medical-adjacent notes, personal voice memos), that bargain is often unacceptable. Open speech models have matured to the point where capable transcription runs on ordinary hardware — but the pieces around the model are what turn it into a product: a workflow for ingesting and managing recordings, honest measurement of accuracy per language and speaker group, clear resource trade-offs (model size vs speed vs accuracy), and a privacy architecture that enforces local-first behavior by default. That surrounding product is the project.
The workbench is a local application with four layers: audio handling, transcription, evaluation, and a privacy-controlled storage/UI layer.
Accept the formats people actually have (WAV, MP3, M4A, FLAC) and normalize them for the model: decode to a consistent sample rate and channel layout, split long recordings into model-sized segments at sentence-ish boundaries, and normalize loudness gently. Preprocessing quality visibly affects transcription — clipping, extreme loudness variation, and brutal mid-file splits all degrade results, so handle audio with care and log every transformation. Show users the waveform: seeing the recording is part of trusting the tool.
Transcribe with open speech-recognition models executed entirely on-device. The Whisper-class model families are the natural fit: multiple sizes trade speed and memory against accuracy, run on CPU (slowly) or GPU (comfortably), and cover transcription and translation tasks across many languages with a single model family. Design the inference layer around that trade-off: a model manager lets the user pick size and language, reports download size before fetching weights from the model’s official distribution, and keeps everything in local storage. Batch small segments for throughput; stream progress so users see transcription advancing rather than a frozen spinner.
This is the project’s honesty engine. Mozilla Common Voice is a free, openly licensed (CC0) corpus of validated, crowd-donated speech with per-clip transcripts, spanning many languages — built explicitly as a public resource for speech technology. Use a downloaded subset as your test corpus: transcribe clips with your configured model, score word error rate (WER) against the reference transcripts, and break results down by language, by speaker demographic metadata where the dataset provides it, and by recording conditions. Common Voice is community-donated, so it is a useful but imperfect proxy for your target audio — the evaluation layer should say that out loud rather than implying universal coverage. The deliverable is a repeatable benchmark script: model + language + corpus subset → WER report, so every configuration claim in the product is one you measured.
The privacy layer turns local-first from an aspiration into mechanics. Recordings and transcripts live in a local encrypted store; the UI makes audio lifecycle explicit: import → transcribe → keep-or-delete, with temporary audio (from live capture) held only in memory or an encrypted scratch area and purged on completion by default. No network egress for audio: the only outbound requests are explicit, user-initiated model downloads, and the app can verify and operate fully offline afterward. Transcripts get the same care — they often contain more sensitive content than the audio — with per-item retention choices and one-action purge.
Package the core as a loopback service on the user’s own machine: transcribe-a-file, transcribe-audio-chunk, fetch-status, fetch-transcript. This lets other local tools (a notes app, a captioning overlay) use the engine without each reimplementing it — and without any of them shipping audio remotely. The API binds to loopback only, requires a local token, and documents that it is for the user’s own machine, not a network service.
Transcription is probabilistic. Surface per-segment confidence or average-log-probability indicators, mark low-confidence regions visually, and make it effortless to jump from a suspect transcript span to the exact audio moment for human verification. For recordings where the model reports a different detected language than requested, warn loudly. The product’s credibility rests on never letting a plausible-looking wrong transcript pass silently.
A minimal but complete MVP:
Explicitly out of MVP: live microphone streaming, speaker diarization, translation mode, mobile packaging, and multi-user anything. Extensions, not obligations.
The site’s audio and privacy projects each solve a different problem. The Bird Species Sound Classifier from Field Recordings classifies environmental audio into species — audio→label, field-recording domain; #065 transforms human speech into text — audio→transcript, with an evaluation corpus and a product surface the bird project doesn’t share. The Zero-Knowledge Encrypted Notes App protects stored text with end-to-end encryption; #065’s privacy problem begins earlier — the audio and its transformation — and complements the notes app rather than duplicating it. And the Personalized Learning Path Generator consumes learning data to recommend study paths; #065 has no recommendations at all — it is a measurement-and-privacy product whose transcripts could feed such tools locally.
| Tool type | Approach | Limitation |
|———–|———-|————|
| Cloud speech APIs | Highest-convenience transcription | Audio leaves the device; retention governed by vendor policy |
| Open-source CLI transcribers | Raw model inference scripts | Developer-only; no privacy architecture, storage, or evaluation layer |
| Commercial dictation apps | Polished local editing suites | Closed-source models; trust is assumed, not measurable; cost |
| OS built-in dictation | Zero-install convenience | Variable model transparency; limited file workflows and no measurement |
This product’s differentiators: a complete privacy architecture (egress enforcement, encrypted storage, lifecycle defaults), measured per-language accuracy against an open corpus, a loopback-only API for local-first integration, and honest uncertainty UX throughout.
Browse more Product Ideas · Intermediate Ideas · AI Ideas
A research project that studies how prompt injections persist across agent sessions — building a stateful evaluation harness that measures...
A research project that measures, for the first time at registry scale, how much tool-poisoning risk actually exists across public...
A research project that measures the full trade-off curve between prompt-injection resistance and task utility for LLM agent defenses —...
Ready to level up? These ideas offer more complexity:
Published on September 12, 2026
A team of developers, researchers, and innovators who review and publish practical ideas for builders and creators.
Published on September 12, 2026
A team of developers, researchers, and innovators who review and publish practical ideas for builders and creators.