Skip to content

Guides

How to run security scans without slowing CI

Vulnerability scanning adds minutes to every pull request.

5 min read

Vulnerability scanning adds minutes to every pull request.

Why it happens

Scanners re-download large vulnerability databases and often run on the critical path.

How to fix it

  1. Cache the vulnerability database keyed by day
  2. Run scans in parallel with tests rather than after them
  3. Fail only on severities you will act on today; report the rest
  4. Run the full deep scan nightly and a fast scan on pull requests

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.