52 production readiness checks. Built to minimize false positives.
Every check flags a real production issue, not a style nit. Built for the patterns commonly found in code from tools like Claude Code, Cursor, v0, Bolt, and Copilot.
Security
27 rules · 40% of the scoreSecrets, auth, injection, and access control
secretsHardcoded API keys, tokens, private keys and database URLs with credentials (Stripe, AWS, OpenAI, Anthropic, GitHub, Supabase and more)criticalauth-checksAPI routes with no authentication check (middleware-aware)criticalenv-exposureServer env vars in client components, .env not in .gitignorecriticalinput-validationRequest body used without validation in an API routewarningcors-configAccess-Control-Allow-Origin: *, cors() with no config, origin: truewarningunsafe-htmldangerouslySetInnerHTML, direct innerHTML assignmentcriticalsql-injectionSQL queries built with template literals or string concat (ORM-aware)criticalopen-redirectUser input passed directly to redirect()warningrate-limitingAPI routes with no rate limiterinfophantom-dependencyDependencies with commonly hallucinated or suspicious package names (slopsquatting)warninginsecure-cookieSession cookies set without httpOnly, secure or sameSitewarningleaked-env-in-logsprocess.env.* leaked inside console.log() callswarninginsecure-randomMath.random() used for tokens, secrets, or session IDswarningnext-server-action-validationServer actions using formData without Zod/schema validationcriticalenv-fallback-secretSecret env vars with hardcoded fallback valuescriticalverbose-error-responseError stack traces and messages sent back in API responseswarningmissing-webhook-verificationWebhook routes without signature verificationcriticalserver-action-authServer actions that write data, send something out or call an AI model, with no auth checkwarningeval-injectioneval(), new Function(), and strings passed to setTimeout or setIntervalcriticalnext-public-sensitiveNEXT_PUBLIC_ prefix on secret env varscriticalssrf-riskUser-controlled URLs passed to fetch in server codewarningpath-traversalFile system operations with unsanitized user inputcriticalunsafe-file-uploadFile uploads without type or size validationwarningsupabase-missing-rlsCREATE TABLE in migrations without enabling RLScriticaldeprecated-oauth-flowOAuth Implicit Grant (response_type=token)warningjwt-no-expiryJWT tokens signed without an expirationwarningclient-side-auth-onlyPassword comparisons, or auth tokens kept in localStorage, in client componentscritical
Reliability
11 rules · 30% of the scoreError handling, promises, and data consistency
hallucinated-importsImports of packages that aren't in package.jsoncriticalerror-handlingAPI route handlers with no try/catchwarningunhandled-promisefetch and database calls with no await, return or assignmentwarningshallow-catchCatch blocks that are empty, ignore the error, or log without itwarningmissing-loading-stateClient components that fetch without a loading stateinfomissing-error-boundaryRoute layouts with no error.tsx beside theminfomissing-transactionMultiple Prisma writes without $transactionwarningredirect-in-try-catchredirect() inside try/catch — Next.js redirect throws, catch swallows itcriticalmissing-revalidationServer actions that change data with no revalidatePath or revalidateTagwarningmissing-useeffect-cleanupuseEffect with timers, listeners or subscriptions and no cleanup, in client componentswarninghydration-mismatchwindow/Date.now()/Math.random() in server component render pathwarning
Performance
6 rules · 15% of the scoreBlocking I/O, N+1 queries, and unbounded data
no-sync-fsreadFileSync and other synchronous fs calls in server codewarningno-n-plus-oneDatabase or fetch calls inside loopswarningno-unbounded-query.findMany() / .select('*') with no limitwarningno-dynamic-import-loopimport() inside loopswarningserver-component-fetch-selfServer components fetching their own API routesinfomissing-abort-controllerfetch or axios calls with no timeout, in API routes, server actions and background jobsinfo
AI Quality
8 rules · 15% of the scoreHallucinations, placeholders, and code smells
ai-smellsTODO and FIXME comments, piles of console.log and any, commented-out code, "not implemented" stubsinfoplaceholder-contentLorem ipsum, example emails, "John Doe" and "your-api-key-here" left in shipped codeinfohallucinated-api.flatten(), .contains(), .substr() and other methods that don't exist or are deprecatedwarningstale-fallbackHardcoded localhost URLs, including as the fallback for an env varwarningcomprehension-debtFunctions over 80 lines, nested more than 5 levels deep, or with more than 5 parametersinfocodebase-consistencyConflicting conventions across files: export naming, import style, HTTP client, async style, quotesinfodead-exportsExported functions, constants and types that nothing importsinfouse-client-overuse"use client" on files that don't use any client-side APIsinfo