What it flags
A Prisma, TypeORM, Drizzle or pg list query has notake or limit and its rows are returned from a request handler. Unique-key lookups are skipped; one-hop service findings require contextual mode. A page size taken straight from request input with no upper cap is reported too.
The list check also covers these JavaScript and TypeScript clients, recognized from their package types:
- MikroORM
find()andfindAll()on anEntityManagerorEntityRepositoryfrom@mikro-orm/corewithout alimitoption. A filter that is an array of literal keys, or one that pins a unique column, is skipped. - Drizzle relational queries (
db.query.<table>.findMany()) without alimit. - Supabase reads built from
from(...).select(...)on aSupabaseClientthat are awaited or otherwise consumed and returned from a request handler. Chains that callrange(),limit(),single()ormaybeSingle(), andselect()calls with{ head: true }, are skipped. The server-side row cap depends on your deployment settings, so set a bounded range or limit and return pagination metadata. - Elasticsearch
search()calls on aClientfrom@elastic/elasticsearchwhosesizeorfrom(top-level or insidebody) traces to request input with no local upper bound. Cap the size, and cap the offset or switch to cursor pagination. This window check does not apply to OpenSearch clients.
Configuration
Set the rule to"off" in loadwise.config.json to drop its findings: