# SecurePass Bench

Source: https://docs.autessa.com/docs/benchmarks/securepass-bench

> An open benchmark for PCI and PHI redaction in phone audio: Spanish-first, hard spoken cases, degraded telephone audio, comparing SecurePass, Deepgram and AssemblyAI.

# SecurePass Bench

SecurePass Bench measures how often card numbers and health data survive redaction in recorded phone calls. It is Spanish-first, built from hard cases, and scored on the audio itself.

## What it measures

- **Leak rate per entity type.** The headline number. A partial leak counts, for example more than 4 card digits left audible.
- **Broken down by audio condition and language.** Clean vs. degraded audio, Spanish vs. English, and accent.
- **Over-redaction.** Seconds of audio silenced that held nothing sensitive, and false entities.
- **Timing error.** How far a redacted span is from the spoken value.
- **Audio vs. transcript mismatch.** The value is masked in the text but still audible, or the other way around.
- **Cost and latency** per call minute.

## Focus and composition

We state the focus openly, so you can judge whether it matches your calls.

| | |
| --- | --- |
| **Languages** | Spanish first: Mexican, Caribbean, Central American, Andean, Rioplatense, Castilian and US Spanish. English is a control set. |
| **Data types** | PCI: card numbers, expiry, CVV, cardholder name, billing ZIP, bank routing and account numbers, PINs. PHI: names, dates, contact details, SSN, MRN, member and group IDs, Medicare and Medicaid IDs, Rx and claim numbers, diagnoses, medications. Latin American IDs: CURP, RFC, NSS, DNI, cédula. |
| **How it is spoken** | Digits in singles, pairs and triples, "oh" vs. zero, Spanish number words, spelled letters, self-corrections, fillers, read-backs, values split across turns, and Spanish-English switching inside a number. |
| **Audio** | 8 kHz phone codecs, packet loss, clipping, muffled and far-field speech, background noise and babble, speakerphone, mono-mixed and stereo calls. |
| **Systems compared** | SecurePass, Deepgram and AssemblyAI, each at its best documented redaction settings for each language. |

## Methodology

1. **Generate the grid:** entity × phrasing × conversation pattern × audio condition × language and accent.
2. **Pilot** the grid against every system.
3. **Expand** the case families where any system leaks.
4. **Publish two splits.** Full is the whole grid, with no cherry-picking. Hard keeps the cases that defeat at least one system, including SecurePass.

## Data

- **All values are synthetic.** Card numbers are Luhn-valid test numbers. SSNs come from ranges that are never issued. Other IDs have the right format but are invented. No real cardholder data or health data is used.
- **Speech** comes from commercially licensed text-to-speech voices and from consented, paid human recordings made on real phones and lines.
- **Synthetic with human review.** Cases are generated, then checked by people.
- **Human-reviewed share:** to be published with the first results.

## Results

| System | Overall leak rate | Spanish | English | PHI | Degraded audio |
| --- | --- | --- | --- | --- | --- |
| SecurePass | Pending | Pending | Pending | Pending | Pending |
| Deepgram | Pending | Pending | Pending | Pending | Pending |
| AssemblyAI | Pending | Pending | Pending | Pending | Pending |

Full results and leaderboard: published with the first release.

## Run it yourself

```bash
pip install securepass-bench

export AUTESSA_API_KEY=...
export DEEPGRAM_API_KEY=...
export ASSEMBLYAI_API_KEY=...

securepass-bench --help
```

Each run writes one results file per system, a report with leak rates per entity type, condition and language, and a leaderboard file. Generating audio and running vendors is heavy, so run full jobs on a cloud machine.

## What it does not measure

- Live (real-time) redaction latency.
- Throughput at scale.
- Languages beyond Spanish and the English control set.
- Compliance certification.
- Speaker variety at the scale of real call-center corpora.

## Related

- [Benchmarks](/docs/benchmarks.md)
- [Landscape](/docs/benchmarks/landscape.md)
- [SecurePass call redaction](/docs/features/securepass.md)
- [SecurePass API](/docs/reference/securepass.md)

