OU
test: cover allowlist query checks
outerbase/starbasedb#157

/claim #71

Summary

  • Add focused Vitest coverage for isQueryAllowed in the allowlist module.
  • Cover disabled enforcement and admin bypass paths that should avoid loading the allowlist.
  • Cover normalized SQL matching with a trailing semicolon, rejected query logging, and missing SQL error handling.

Verification

  • ./node_modules/.bin/vitest.cmd run src/allowlist/index.test.ts
  • ./node_modules/.bin/vitest.cmd run currently has unrelated pre-existing failures in src/rls/index.test.ts.

Claim

Total prize pool $250
Total paid $0
Status Pending
Submitted May 12, 2026
Last updated May 12, 2026

Contributors

HI

hieunt170746

@hieunt170746

100%

Sponsors

OU

Outerbase (YC W23)

@outerbase

$250