How to Check If Your Web App Is Production Ready: Running DeployReady and What to Fix
Learn how to run DeployReady to get a 0–100 security readiness score for your web app, catch auth gaps, exposed secrets, and missing headers before launch.
Most web apps launch with at least one critical security vulnerability. Research published in early 2026 found that over 90% of AI-assisted and vibe-coded apps contained a high or critical vulnerability at the time of first deployment — but the same pattern holds for traditionally built apps that skip a production ready checklist. The gap is not intent; developers care about security. The gap is tooling: there is no fast, authoritative way to check whether an app is production ready before it goes live with real users and real data.
DeployReady closes that gap. Run npx deployready against any web application and you receive a 0–100 readiness score backed by over 30 static and dynamic security checks — OWASP Top 10 coverage, authentication gaps, exposed secrets, missing security headers, Supabase and Firebase RLS validation, and more. It runs entirely locally (no data sent to external servers), completes in under two minutes, and is free and MIT-licensed. This guide walks through exactly how to run it, how to read the output, and what to do when your score is too low to ship.
Before you run DeployReady for the first time, it helps to understand what a 0–100 readiness score is actually measuring. This post is the companion to our SaaS pre-launch security checklist, which covers the full manual review process. DeployReady is the automated baseline; the checklist and a full security audit layer on top of it.
What a 0–100 Readiness Score Actually Measures
DeployReady's score is a weighted aggregate across six security dimensions. Each dimension contributes a maximum number of points to the total. A score above 80 is generally acceptable to ship to beta. A score above 90 is the bar for production with real payments or sensitive data. A score below 70 means there are findings a motivated attacker could exploit within the first 24 hours.
- →Authentication security (25 points). Checks whether sessions use secure, HttpOnly, SameSite=Strict cookies; whether JWT tokens use RS256 or ES256 rather than HS256 with a weak secret; whether password reset flows are resistant to enumeration; and whether admin-only endpoints are protected at the route level, not just the UI.
- →HTTP security headers (20 points). Validates the presence and correct configuration of Content-Security-Policy, Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, and Permissions-Policy. Each missing or misconfigured header costs points and surfaces the specific fix.
- →Secrets and configuration hygiene (20 points). Runs static analysis on the codebase looking for hardcoded API keys, database URLs, service account credentials, and exposed .env values. Flags public S3 buckets, misconfigured CORS that allows wildcard origins, and .git directories served over HTTP.
- →Data access and authorization (15 points). For Supabase projects, validates whether RLS policies are enabled on user-data tables and tests for IDOR vulnerabilities on common API endpoints. For Firebase projects, checks security rules for overly permissive read and write access.
- →API and input validation (10 points). Checks for missing rate limiting on authentication endpoints, absent input validation on mutation endpoints, and common injection vectors in query parameters.
- →Dependency and supply chain (10 points). Runs npm audit and checks for packages with known CVEs rated high or critical. Flags outdated lockfile patterns and packages with unresolved advisories.
How to Run npx deployready in Under 2 Minutes
DeployReady requires Node.js 18 or later. Run it from the root of your project directory. No installation step, no account creation, no telemetry — the first run downloads the CLI from npm's registry and executes locally.
- →Step 1: Run npx deployready@latest from your project root. The CLI scans your project directory for configuration files, .env patterns, lockfiles, and framework-specific security configuration. The initial static scan completes in 10–30 seconds depending on project size.
- →Step 2: Provide your staging or development URL when prompted. DeployReady performs dynamic checks against a live URL — testing headers, checking CORS behavior, and probing auth endpoints. Use a staging environment, not production, for the first run.
- →Step 3: Confirm the framework detection prompt if it fires. DeployReady auto-detects Next.js, Remix, SvelteKit, and several other frameworks and applies framework-specific checks. If detection is wrong, override it at the prompt.
- →Step 4: Review the output. The CLI prints findings grouped by severity (critical, high, medium, low, informational) and a final score. Each finding includes the file, line number for static findings, and a recommended fix. The full report is written to deployready-report.json in your project root.
- →Step 5: Run npx deployready@latest --ci for CI/CD pipelines. In CI mode, the CLI exits with code 1 if the score falls below the configured threshold (default 80). Pass --min-score 90 to enforce a higher bar before a deployment proceeds.
Reading the Output: What Critical, High, and Medium Findings Mean
DeployReady findings are grouped into four severity levels. Critical and high findings should block shipping. Medium findings are real risks worth fixing before launch if time allows. Low and informational findings are hygiene improvements that do not block launch but belong on a backlog.
- →Critical: Exploitable within minutes by an unauthenticated attacker. Examples: exposed .env file containing database credentials, Supabase RLS disabled on a table that stores user records, hardcoded service account key in a committed file. Fix these before anything else.
- →High: Exploitable by a motivated attacker with moderate effort. Examples: missing CSRF protection on a state-changing POST endpoint, JWT signed with HS256 and a short secret, admin routes that check authorization only in the UI layer. Fix before launch.
- →Medium: Real vulnerability requiring specific conditions or user interaction. Examples: missing HttpOnly flag on a session cookie, Content-Security-Policy present but set to unsafe-inline for the entire application, rate limiting absent on the password-reset endpoint.
- →Low and Informational: Configuration improvements and defense-in-depth measures. Examples: Referrer-Policy not set, lockfile out of date by several minor versions, X-Frame-Options set to SAMEORIGIN instead of the more restrictive DENY.
The Most Common Failures Developers Fix After Their First Run
In aggregate, the five findings that appear most often in DeployReady reports are also the five most fixable. Each can be resolved in under an hour once you know what to look for.
- →Missing Strict-Transport-Security header. The fix is a single line in your Next.js next.config.js headers array or your nginx or Cloudflare configuration. The header forces all future requests over HTTPS even if the user types http:// and prevents SSL stripping attacks.
- →Content-Security-Policy set to unsafe-inline. The CSP is present but undermined by allowing inline scripts. The correct fix is migrating inline scripts to external files and using a nonce-based CSP for dynamic content. DeployReady reports the specific inline script locations.
- →Supabase RLS not enabled on one or more tables. This is the most critical finding in Supabase projects. Without RLS, every authenticated user can query every row in the table with a direct API call — the application-level filtering is bypassed entirely at the database layer. Enable RLS and write row-level policies before launch.
- →API keys present in committed files. Even keys that have been rotated leave exposure in git history. Fix both by rotating the key and running git-filter-repo to scrub the history if the repository is or will be public. DeployReady flags the specific files and line numbers.
- →No rate limiting on authentication endpoints. The /login, /register, and /forgot-password routes are the primary surface for credential stuffing and account enumeration. Add rate limiting at the edge — Vercel edge config or Cloudflare rate rules — or at the middleware layer with a library like Upstash Ratelimit.
What Automated Scanning Cannot Catch — and Why Manual Review Matters
DeployReady is a static and dynamic analysis tool. It catches what can be found by examining code, configuration, and observable HTTP behavior. It cannot replicate the judgment of a human testing an application the way an attacker would.
- →Business logic vulnerabilities. An automated scanner cannot understand that your pricing tier logic allows a free-tier user to call a paid-tier endpoint if they know the URL. It cannot test whether your subscription downgrade workflow correctly removes permissions, or whether your trial expiry check fires correctly when a user is on a workspace created by a different tenant.
- →Chained vulnerabilities. Many serious exploits require combining two individually low-severity findings. A scanner reports findings in isolation. A manual tester connects them: a medium CORS misconfiguration plus a low session fixation issue can combine into a critical account takeover that static analysis misses entirely.
- →AI feature attack surfaces. If your application has an LLM-powered assistant, search, or agent-driven actions, those surfaces require prompt injection testing, output validation testing, and indirect injection via user-supplied data. DeployReady has basic LLM surface detection but adversarial prompt testing requires human testers.
- →Mobile and thick-client interfaces. DeployReady tests web endpoints. If your SaaS also ships a mobile app or Electron client, the API authorization model needs to be tested from the perspective of a client that can be decompiled and modified.
Adding DeployReady as a Gate in Your CI/CD Pipeline
Automated security gates prevent regressions from reaching production. Once your initial score is above 80, add DeployReady to your GitHub Actions workflow so that any commit dropping the score below your threshold blocks the deployment. The CI/CD security gate implementation guide covers the full workflow, including how to handle score drift over time and how to alert on new critical findings.
The simplest integration adds a single step that runs npx deployready@latest --ci --url $STAGING_URL --min-score 85. The step exits non-zero if the threshold is not met, blocking the merge. The report artifact is uploaded to the Actions run so the team can review findings without re-running locally. Pairing DeployReady with a solid cloud infrastructure setup — staging environments, environment variable management, and deployment gates — makes this pattern reliable across environments.
Frequently Asked Questions
Is npx deployready free to use?
Yes. DeployReady is MIT-licensed and free to run. There is no account, no subscription, and no telemetry — analysis runs entirely on your machine. The npm package is maintained by Belsoft and published at deployready.dev.
What frameworks and databases does DeployReady support?
DeployReady auto-detects Next.js, Remix, SvelteKit, Nuxt, and Express for framework-specific checks. Database checks target Supabase (RLS policies, JWT secret strength) and Firebase (security rules). It also runs framework-agnostic HTTP checks against any live URL regardless of the underlying stack.
How often should I run a DeployReady scan?
Run it at three key points: before your first public launch, before every major release that touches authentication or authorization, and in CI on every pull request. For production SaaS with paying customers, run it weekly and pipe results to your alerting channel. Score drift over time is usually the first signal that a dependency or configuration has introduced a new vulnerability.
My score is above 90 — does that mean I have no vulnerabilities?
A score above 90 means you have passed the automated bar, not that you have no vulnerabilities. DeployReady covers what static and dynamic analysis can detect. Business logic vulnerabilities, chained exploits, prompt injection in AI features, and social engineering vectors require manual testing. For a production app processing real payments or storing sensitive data, a full security audit goes deeper — manual auth review, data access testing by endpoint, and AI feature red-teaming.
Can I run DeployReady against a live production URL?
Yes, but with one caveat. DeployReady's dynamic checks are read-only — they test headers and observable behavior, they do not write data or trigger destructive operations. The exception is the active auth-bypass probe, which can be disabled with the --no-active flag if you are concerned about noise in production logs. For the first run, staging is safer because DeployReady also runs static checks against your local codebase, and staging reflects your latest changes.
How Belsoft Helps Teams Pass the Launch Bar
DeployReady gives you the automated baseline in minutes. A Belsoft security audit goes further: our engineers test your authentication, authorization, data access patterns, and AI feature attack surfaces by hand — the way a motivated attacker would, not the way a scanner would. We start with the DeployReady report as the baseline, eliminate the automated findings, and then focus our time on what static analysis cannot catch. At the end you receive a prioritized fix list, hands-on support resolving the critical items, and a retest after fixes are applied.
If you are preparing for enterprise customers, a SOC 2 audit, or a security questionnaire, the combination of DeployReady for automated hygiene and a Belsoft audit for manual depth is the fastest path to a defensible security posture. Book a call to scope the audit for your stack and launch timeline.
“An automated score tells you what a machine can see. A manual audit tells you what a motivated attacker would do with what the machine missed.”
Written by
Marco Silva
Security Engineer, Belsoft Solutions
More from the blog
Ready to partner?
Let's talk about your company.
30 minutes. No pitch. We talk through how you run today and where AI and automation would help.
Book a free audit
