Skip to main content

What it flags

A Prisma, TypeORM, Drizzle or pg list query has no take 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() and findAll() on an EntityManager or EntityRepository from @mikro-orm/core without a limit option. 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 a limit.
  • Supabase reads built from from(...).select(...) on a SupabaseClient that are awaited or otherwise consumed and returned from a request handler. Chains that call range(), limit(), single() or maybeSingle(), and select() 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 a Client from @elastic/elasticsearch whose size or from (top-level or inside body) 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.
Wrappers and custom clients with the same method names are not recognized.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: