macOS
brew install sqlsmithlocal Homebrew formula metadata
brew / rank 9936
Random SQL query generator. Version 1.5 via Homebrew; verified 2026-06-07. Also installable with debian: sudo apt install sqlsmith.
install
brew install sqlsmithlocal Homebrew formula metadata
sudo apt install sqlsmithDebian stable package indexes · sqlsmith · source: deb.debian.org
sudo pacman -S sqlsmithArch Linux sync databases · sqlsmith · source: geo.mirror.pkgbuild.com
overview
Random SQL query generator
history
SQLsmith is a random SQL query generator used for database fuzz testing and benchmarking.
The official README describes SQLsmith as a random SQL query generator whose paragon is Csmith, the random C program generator used for compiler quality assurance. The first GitHub release, SQLsmith 1.0, was published on May 30 after development that had already found about thirty PostgreSQL bugs.
Version 1.0 targeted PostgreSQL 9.5 or later. Later official release notes document a broader scope, including version 1.2 adding SQLite3 and MonetDB support, support for older PostgreSQL releases, automatic blacklisting of unsupported grammar, and grammar improvements.
The README states that since 2015 SQLsmith found 118 bugs in alphas, betas, and releases of supported database products, including security vulnerabilities, plus bugs in extensions and libraries. The supplied package-manager facts show distribution through Homebrew, Debian, Ubuntu, and Arch.
SQLsmith connects to a target database, reads schema information, generates random SQL, sends it to the database, and rolls statements back. The README documents PostgreSQL, SQLite, and MonetDB invocations, logging with --log-to, verbose progress output, seeds, dry runs, and large-scale testing support.
Package nerds care about SQLsmith because it turns database fuzzing into an installable CLI. It is useful to database hackers, distro maintainers, and extension authors who want randomized workload generation without building a custom fuzzer for every database target.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
sqlsmith | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:sqlsmith |
|---|---|
| Version | 1.5 |
| Package manager | Homebrew |
| Homepage | https://github.com/anse1/sqlsmith |
| Repository | https://github.com/anse1/sqlsmith |
| Last updated | 2026-06-07T21:46:28Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
sqlsmith 1.4-1+b4
random SQL query generator
https://github.com/anse1/sqlsmith
sudo apt install sqlsmithsqlsmith 1.4-1build2
random SQL query generator
https://github.com/anse1/sqlsmith
sudo apt install sqlsmithsqlsmith 1.5-1
A random SQL query generator
https://github.com/anse1/sqlsmith
sudo pacman -S sqlsmithsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.