Skip to content

Queries without a limit

Scan rule · RSC-SCL-001

  • Scaling & cost
  • Severity: Medium

Finds database queries loading entire tables without `limit`/`range` — fine at 10 rows, fatal at 10,000.

Scan tier

  • Source code from source maps
  • Repo access (deep scan)

How to fix it

Paginate every list query and set a hard limit.

Scan your own app for free