SQLite databases of security advisories extracted from the GitHub Advisory Database to run on SCA Tool Scout.
| Database | Description | Download |
|---|---|---|
scout.db |
All vulnerabilities (reviewed + unreviewed) | Latest |
scout-reviewed.db |
GitHub-reviewed vulnerabilities only | Latest |
# Download all vulnerabilities
curl -LO https://github.com/mlw157/scout-db/releases/latest/download/scout.db
# Download reviewed only
curl -LO https://github.com/mlw157/scout-db/releases/latest/download/scout-reviewed.dbmake download # Download both databases
make download-reviewed # Download reviewed only
make download-all # Download all vulnerabilities only- Python 3.11+
- Git
- Make
# Clone this repo
git clone https://github.com/DioCGomes/scout-db.git
cd scout-db
# Clone the GitHub Advisory Database
make clone
# Build both databases
make build
# Or do everything in one step
make all| Command | Description |
|---|---|
make clone |
Clone the GitHub Advisory Database |
make build |
Build both SQLite databases |
make all |
Clone and build (full setup) |
make download |
Download latest databases from releases |
make download-reviewed |
Download only reviewed database |
make download-all |
Download only all-vulns database |
make clean |
Remove generated databases |
make clean-all |
Remove databases and cloned advisory repo |
CREATE TABLE advisories (
id TEXT PRIMARY KEY,
package TEXT,
version_range TEXT,
first_patched_version TEXT,
ecosystem TEXT,
severity TEXT,
summary TEXT,
details TEXT,
cve TEXT,
"references" TEXT
);npm- Node.jspip- Python (PyPI)maven- Javagem- Ruby (RubyGems)composer- PHP (Packagist)go- Go modulescargo- Rust (crates.io)
# Count advisories by ecosystem
sqlite3 scout.db "SELECT ecosystem, COUNT(*) FROM advisories GROUP BY ecosystem ORDER BY COUNT(*) DESC;"
# Find vulnerabilities for a specific package
sqlite3 scout.db "SELECT id, severity, version_range FROM advisories WHERE package = 'lodash';"
# List critical vulnerabilities
sqlite3 scout.db "SELECT id, package, ecosystem FROM advisories WHERE severity LIKE '%CRITICAL%';"The databases are automatically rebuilt weekly (Sundays at midnight UTC) via GitHub Actions and published as releases. Only the last 5 releases are retained.