
Differential Fuzzer
Turso-vs-SQLite differential fuzzer that generates SQL, reproduces failures by seed, and minimizes them for probing.
- skills.sh installs
- 1.2K
- GitHub stars
- 25.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers running the fuzzer with fixed seeds or looped random runs, and reproducing failures by replaying seed and profile together
- Writes
test.sql,schema.json, and optional.dbfiles tosimulator-output/, plusminimized.sqlfor failure reproduction - Provides
differential_probe, which runs a script on Turso and SQLite side by side and flags divergences - Designed for engineers chasing correctness bugs in Turso who need to minimize a failure into a
*.sqltestregression
Install
$ npx -y skills add tursodatabase/turso --skill differential-fuzzer -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Differential Fuzzer
The differential fuzzer compares Turso results against SQLite for generated SQL statements to find correctness bugs.
Location
testing/differential-oracle/fuzzer/
Running the Fuzzer
cargo run --bin differential_fuzzer -- --seed 12345 --keep-files # reproducible run, keep .db files
cargo run --bin differential_fuzzer -- loop 50 # 50 runs with random seeds; omit the count to run forever
Run with --help for all options (statement count, tables, columns, --profile, --verbose).
Output Files
All output goes to simulator-output/ directory:
| File | Description |
|---|---|
test.sql | All executed SQL statements. Failed statements prefixed with -- FAILED:, errors with -- ERROR: |
schema.json | Database schema at end of run (or at failure) |
test.db | Turso database file (only with --keep-files) |
test-sqlite.db | SQLite database file (only with --keep-files) |
Reproducing Errors
- Find the seed and profile in the error output:
INFO: Starting differential_fuzzer with config: SimConfig { seed: 12345, ..., weight_profile: Writes }
Details
- Repository
- github.com/tursodatabase/turso
- Categories
- Testing & QA, Databases
- First seen
- May 16, 2026
More from tursodatabase/turso
All 7Similar to Differential Fuzzer
More Testing & QA
debuggingSkilltursodatabase/turso1.3K installsDebugging guide for tursodb covering bytecode diffs, tracing logs, ThreadSanitizer, seeded simulation, stack measurement, and corruption analysis.
testingSkilltursodatabase/turso1.3K installsA reference guide for writing and running SQL, TCL, and Rust tests in the database project.
security-fuzzingPluginEyadkelleh/awesome-claude-skills-security134 starsEssential fuzzing payloads for SQL injection, command injection, and vulnerability testing
debugging-wizardSkilljeffallan/claude-skills5.5K installsSystematic, hypothesis-driven debugger that reproduces, isolates, and verifies fixes for bugs and crashes.
debuggerSkillzhaono1/agent-playbook678 installsSystematic debugging workflow that reproduces, isolates, and verifies fixes across JavaScript, Python, and Go.
sqli-sql-injectionSkillyaklang/hack-skills4.3K installsPlaybook for advanced SQL injection, covering per-database exploitation, out-of-band exfiltration, and filter evasion for authorized testing.