Get GapScan Open
It runs on your own machine. Scans make no network calls, and your code is read, never run. The only download after installing is the setup step you start yourself, from pinned sources, every file checked against its checksum.
Install today
Available nowmacOS, Linux or Windows (WSL), with Python 3.11 or newer. gapscan setup downloads the scanners and the vulnerability data once; scans make no network calls.
$ pipx install gapscan $ gapscan setup # once, needs network $ gapscan scan . -o scan.json && gapscan report scan.json -t . -o report.html $ gapscan serve --open # the local web UI: projects, history, decisions
Nothing to install: every scanner and fresh vulnerability data are in the image, and it scans with the network switched off.
$ mkdir -p gapscan-out $ docker run --rm --network none --user "$(id -u):$(id -g)" -e HOME=/tmp \ -v "$PWD:/scan:ro" -v "$PWD/gapscan-out:/out" ghcr.io/shawaf/gapscan:1 scan /scan -o /out/scan.json $ docker run --rm --network none --user "$(id -u):$(id -g)" -e HOME=/tmp \ -v "$PWD:/scan:ro" -v "$PWD/gapscan-out:/out" ghcr.io/shawaf/gapscan:1 report /out/scan.json -t /scan -o /out/report.html
Details in docs/offline.md.
For Apple silicon. Download GapScan.dmg from the latest release. The app's Setup page installs the scanners and data.
The app is not signed yet, so the first time, right-click it and choose Open. Each release lists a SHA-256 checksum for every file.
Scans only what a pull request changed, comments with the top findings, uploads SARIF to the Security tab and blocks only if your policy says so. Nothing to install.
# .github/workflows/gapscan.yml, inside a job on ubuntu-latest
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
- uses: shawaf/gapscan@v1
with:
base: ${{ github.base_ref }}
The full workflow, with permissions: docs/github-action.md.
Let your AI coding assistant check the code it writes. Read-only, offline and confined to the project folder. Listed in the MCP Registry as io.github.shawaf/gapscan.
$ claude mcp add gapscan -- uvx gapscan mcp --root . # Claude Code
Cursor, VS Code and other clients: docs/mcp.md.
For contributors. You need uv.
$ git clone https://github.com/shawaf/gapscan.git && cd gapscan $ make setup # Python dependencies via uv $ uv run gapscan setup # scanners and data $ uv run gapscan serve --open
System requirements
Scanning
macOS, Linux or Windows (WSL), Python 3.11 or newer (or just Docker), several GB of free disk for the vulnerability databases. Any recent laptop is enough.
Local AI review (optional)
A local model through Ollama. Smaller models run in 16 GB of memory; the default coding model wants 32 GB. Without a model, scanning and the report still work.
Air-gapped machines
Move vulnerability data and rules with a verified offline bundle: gapscan update --from bundle.tar.gz. Nothing else needs a network.