macOS
brew install sqlsmithlocal Homebrew formula metadata
brew
Random SQL query generator. Version 1.5 via Homebrew; verified 2026-06-07.
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 | cli | global executable |
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.
https://github.com/anse1/sqlsmith
install metadata
| Package key | brew:sqlsmith |
|---|---|
| Version | 1.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/sqlsmith |
| Homepage | https://github.com/anse1/sqlsmith |
| Repository | https://github.com/anse1/sqlsmith |
| Upstream docs | https://github.com/anse1/sqlsmith#readme |
| License | GPL-3.0-only |
| Source archive | https://github.com/anse1/sqlsmith/archive/refs/tags/v1.5.tar.gz |
| Last updated | 2026-06-07T21:46:28Z |
| Pulse | updated |
| Dependencies | libpq, libpqxx |
| Build dependencies | autoconf, autoconf-archive, automake, pkgconf |
| Uses from macOS | sqlite |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sqlsmith |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
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.