System Status: Operational
Next.js 14+ / Supabase PostgreSQL / Stripe
Institutional Risk Mitigation

You bought a micro-SaaS.
Now you own the risk.

Post-acquisition technical debt is a hidden liability. Across our benchmark of 14 production Next.js + Supabase + Stripe repositories (1,100+ files), 57% of Supabase schemas lacked complete RLS policies and 28.6% (4 of 14) exposed unprotected mutation routes.

Instant 25-Point Pre-Scan ($0 Teaser · 60 Seconds)Private Repo? Connect Read-Only GitHub App →
100% Read-Only Access
Mutual NDA Signed
60-Second Self-Serve Scan · $0 Preview → $49 Unlock
clearrecord-audit-v2.4.log
OCT 2026 AUDIT SPEC
TARGET REPO: [REDACTED]/appGRADE: C (56/100)
CR-SEC-01: Supabase RLS DisabledCVSS 9.1

`public.user_documents` allows anonymous table dump via public anon key. 1,420 rows exposed.

CR-SEC-02: Service Key Leaked in JSCVSS 9.8

`SUPABASE_SERVICE_ROLE_KEY` referenced in client-side bundle via Webpack DefinePlugin.

CR-BIL-01: Stripe Webhook ForgeryCVSS 8.4

Webhook parses unverified raw body without `stripe-signature` verification.

CR-PERF-01: Missing DB Foreign IndexMEDIUM

`document_chunks.document_id` missing index. Sequential table scan causes 1.8s latency spikes.

Instant 60-Second AST + SQL + OSV Scan$0 Teaser · $49 Full Deal-Room Unlock
CRITICAL FINDING

Supabase RLS policy missing on profiles table. Anonymous read enabled.

100%
Benchmark Repos Flagged
across 14 audited OSS Next.js + Supabase SaaS apps
57%
Supabase RLS Gaps
missing RLS or zero-policy tables (CVE-2025-48757)
25
Diligence Checks
deterministic AST, SQL, OSV.dev & Handover checks
0
Write Permissions
write credentials required for read-only scan
Asset Valuation Moat

A certified health record
removes diligence friction.

Buyers discount acquisitions by 30%–50% when a codebase looks fragile. A third-party audit prevents the "technical debt haircut" during due diligence.

Verified Hygiene
Continuous dependency patching and RLS verification.
Due Diligence Proof
A signed certificate that accelerates closing.
Valuation Premium
Prove the asset is maintainable, not a liability.
Verified Technical Health
SPECIMEN PREVIEWREF: CR-2026-8841
Repo Health ScoreA+ (98/100)
Supabase RLS Coverage100% Verified
CVE Criticalities0 Identified
Maintenance IntervalDaily Sync
CR
Signed by Clear Record Ops
Inspect Live Certificate →
The Methodology

The 25-Point Code, Handover & Security Audit Spec

No generic regex noise. Our Two-Level Recursive TypeScript Compiler AST (`ts.createSourceFile`), PostgreSQL RLS verifier, and Google OSV.dev CVE scanner inspect your codebase deterministically across 7 diligence pillars.

01. Architecture & Auth
Supabase RLS tables, zero-policy traps (CVE-2025-48757), config.toml verify_jwt, mutation routes
Unrestricted public REST reads or unauthenticated mutation endpoints
Tested SQL RLS migration & server session guard
02. Secrets & Credentials
Client bundle compilation, NEXT_PUBLIC_ variables, dangerouslyAllowBrowser, git commit history
Service role or live secret key bundled into client JS or git logs
Secret rotation & server-only isolation patch
03. Billing & Webhooks
Stripe constructEvent, Lemon Squeezy HMAC, Paddle unmarshal, raw body parsing
Unverified POST payloads permitting free tier spoofing
Cryptographically verified webhook route PR
04. Dependencies & CISA KEV
Production runtime dependencies via Google OSV.dev, CISA KEV active exploits, 404 slopsquatting
Actively exploited runtime CVEs or hallucinated npm packages
Zero-noise runtime upgrade plan (ignores devDependency ReDoS)
05. Database & Performance
Prisma/Drizzle/SQL foreign-key indexes, raw SQL string interpolation ($queryRawUnsafe)
Missing FK indexes causing sequential table scans or SQL injection
Idempotent index creation & parameterized query diff
06. M&A Handover Readiness
.env.example completeness diff, reproducible lockfile/build, test coverage, Custom IP vs. Scaffold ratio
Undocumented env vars or thin UI wrapper disguising lack of custom IP
30-minute naked server handover checklist & IP breakdown
07. Maintainability & Types
Subtree-recursive AST coupling, empty catch blocks, mixed async chains, excessive :any escapes
Silent swallowed exceptions or brittle 200-line coupled handlers
Unified Cursor / Claude Code refactoring prompt
Verified Production Audits · Zero Mocks

Live Open-Source SaaS Teardowns

Don't take our word for it. Inspect real, unedited Deal-Room Reports generated by our TypeScript Compiler AST & PostgreSQL RLS engine across recognizable open-source Next.js + Supabase + Stripe codebases.

Engine: TypeScript AST v2.4 (ts.createSourceFile)
shadcn-ui/taxonomy5 DISTINCT RULES
18.4k ★ · Next.js App Router + Prisma + Stripe
FILES SCANNED150 files
AST FINDINGS17 flagged
CR-FRAG-02 · app/(marketing)/page.tsx:30

Silent AST CatchClause block swallowing runtime exceptions alongside missing Prisma foreign-key indexes (CR-PERF-01) and unprotected API routes.

Inspect Live Deal-Room Report
vercel/nextjs-subscription-payments4 DISTINCT RULES
6.8k ★ · Official Vercel + Supabase + Stripe
FILES SCANNED77 files
AST FINDINGS12 flagged
CR-STRUC-02 · app/api/webhooks/route.ts:24

Monolithic Stripe webhook handler AST node processing multiple subscription lifecycle mutations alongside Supabase RLS and service-role findings.

Inspect Live Deal-Room Report
KolbySisk/next-supabase-stripe-starterUNPROTECTED ROUTE
817 ★ · Next.js 15 + Supabase + Stripe
FILES SCANNED70 files
AST FINDINGS10 flagged
CR-ARCH-01 · src/app/(account)/manage-subscription/route.ts:10

App Router subscription management endpoint missing explicit server-side session boundary check before invoking billing logic.

Inspect Live Deal-Room Report
leerob/next-saas-starter4 DISTINCT RULES
7.5k ★ · Next.js + Postgres + Stripe
FILES SCANNED53 files
AST FINDINGS11 flagged
CR-ARCH-01 · app/api/stripe/checkout/route.ts:9

11 high-signal AST findings grouped across 4 rules (unprotected checkout route handler, mixed async promise chains, and server action coupling).

Inspect Live Deal-Room Report
TeemuSo/saas-template-for-ai-liteCHECKOUT EXPOSURE
Next.js 15 + Supabase + Stripe AI SaaS
FILES SCANNED72 files
AST FINDINGS21 flagged
CR-ARCH-01 · app/api/stripe/checkout/route.ts:8

Unprotected Stripe Checkout API route detected alongside Supabase RLS and silent CatchClause findings across authentication and payment handlers.

Inspect Live Deal-Room Report
A1X6/create-saas-app-ai-chatSILENT CATCH BLOCK
Next.js 15 + Supabase + Stripe AI Chat
FILES SCANNED150 files
AST FINDINGS44 flagged
CR-FRAG-02 · index.js:153

Empty AST CatchClause swallowing runtime exceptions silently without structured logging, grouped cleanly into 4 distinct rule cards.

Inspect Live Deal-Room Report
lmsqueezy/nextjs-billingLEMON SQUEEZY + NEON
739 ★ · Official Lemon Squeezy + Neon + Drizzle
FILES SCANNED62 files
AST FINDINGS8 flagged
CR-STRUC-01 · src/app/actions.ts:468

8 findings grouped into 3 rules: mixed async/await and .then() chains in server actions plus a monolithic Lemon Squeezy webhook handler.

Inspect Live Deal-Room Report
PaddleHQ/paddle-nextjs-starter-kitPADDLE WEBHOOK RISK
360 ★ · Official Paddle Billing + Supabase
FILES SCANNED150 files
AST FINDINGS7 flagged
CR-BIL-03 · src/utils/paddle/process-webhook.ts:1

7 high-signal findings across 150 files: Paddle webhook processor missing direct signature guard alongside Supabase RLS & service-role findings.

Inspect Live Deal-Room Report
saas-starter-kit/saas-kit-prismaPRISMA FK INDEX MISSING
624 ★ · Next.js + Prisma + Postgres + Stripe
FILES SCANNED149 files
AST FINDINGS7 flagged
CR-PERF-01 · prisma/schema.prisma:25

7 findings across 149 files: Prisma relational model declares @relation(fields: [...]) foreign keys without corresponding @@index([...]) definitions.

Inspect Live Deal-Room Report

Why micro-SaaS owners
choose Clear Record

Most founders try random hourly contractors or expensive agencies. We provide a specialized, deterministic maintenance engine.

Upwork Freelancers
$30–$60/hr
  • Vetting strangers
  • Architecture re-explaining
  • Root key risks
Fractional CTO
$5,000/mo
  • Schedule-based access
  • Advisory only
  • High overhead
Clear Record
$49 Audit · $29/mo Care
  • Instant 60s AST + SQL + OSV Scan
  • Read-only safety + Auto PR Bot
  • 100% of $49 Audit credited to Month 1
Choose Clear Record

Published Rates. Zero games.

Run a free 60-second diagnostic preview ($0), unlock your full Deal-Room Report & SHA-256 Certificate in-place ($49 one-time), and credit 100% of your $49 audit toward $29/mo Continuous Care & Automated GitHub PRs.

Tier 0 · Self-Serve Teaser

Instant 25-Point Pre-Scan

$0 / instant
  • ✓ Overall Deal-Room Grade (A–D) in 60s
  • ✓ Passed Checks 25-Point Matrix (M/25 ✓)
  • ✓ Custom IP vs. Scaffold Ratio (%)
  • ✓ Finding #1 100% Unlocked (Patch + Prompt)
Run Free Pre-Scan Above ↑
Most Popular for Exits
Tier 1 · Unlock $49 Deal-Room Report

Full 25-Point Report

$49 / one-time
  • ✓ Unlocks all Findings #1..N in-place
  • ✓ Unified Multi-File Cursor / Claude Fix Prompts
  • ✓ Verified SQL & TypeScript Patch Bundle
  • ✓ Signed Acquire.com Deal-Room Certificate
  • ✓ 100% of $49 Audit credited toward Month 1 ($0 Month 1)
  • ✓ 7-Day 100% Money-Back Guarantee
Preview $49 Deal-Room Report →
Tier 2 · Continuous Automated Care

Automated PR Gate & Sync

$29 / month
$0 Month 1 after $49 Deal-Room Audit
  • ✓ Unlimited 25-Point On-Demand Scans
  • ✓ 1-Click Automated GitHub Fix PR Bot
  • ✓ Cursor / Claude Code Remote MCP Server
  • ✓ Weekly CISA KEV & Schema Drift Alerts
  • ✓ Live Rolling SHA-256 Health Certificate & SVG Shield
Zero Exposure Policy

How we protect your production systems

We designed our entire workflow so a solo founder never has to trust us blindly with production write keys.

Read-Only Access

We never ask for production write keys by default. Our GitHub App requests strictly Read-Only Contents & Metadata permissions.

Isolated PR Workflow

We never push directly to main. Automated remediation patches are opened as isolated GitHub Pull Requests for your review.

Mutual NDA First

Every scan and repository connection is governed by our pre-executed Mutual Non-Disclosure Agreement (/nda).

7-Day 100% Money-Back

If our $49 Deal-Room Report does not deliver clear, actionable value for your codebase or exit data room, we refund 100% within 7 days.

Air-Gapped Local Scan

Paranoid? Run our open-source scanner locally: npx @clearrecord/check. Zero code leaves your machine.

Volatile RAM-Disk Execution

Cloud scans clone into an ephemeral RAM directory (/tmp/clearrecord-audit-*) and wipe all source files in a finally {} block immediately after AST parsing.

Technical FAQ

How does the $0 Teaser → $49 Unlock → $29/mo Audit Credit work?

Paste any GitHub repository or live URL above to run the 25-Point Pre-Scan for $0 in ~60 seconds. You get your Overall Deal-Room Grade, Passed Checks matrix, Custom IP Ratio, and Finding #1 completely unlocked. Unlock all remaining file:line proofs, Cursor/Claude fix prompts, and your SHA-256 Certificate in-place for $49 one-time—and 100% of that $49 is credited toward Month 1 of $29/mo Continuous Care (making Month 1 $0).

How is Clear Record different from URL-only scanners or noisy npm audit wrappers?

URL-only scanners cannot inspect your server-side API route auth, webhook signature verification, or .env.example handover readiness. And unlike naive scanners that scream CRITICAL over devDependency ReDoS CVEs or public Supabase anon keys, Clear Record inspects production runtime dependencies against CISA KEV and verifies real AST/SQL exploitability.

What is the SHA-256 Deal-Room Health Certificate & Live SVG Badge?

Every unlocked $49 Deal-Room Report and $29/mo Continuous Care workspace includes a print-ready SHA-256 Health Certificate (/certificate) and a dynamic SVG verification shield (/api/badge/[id]) built specifically for Acquire.com, Microns.io, and Flippa data rooms.

Can I cancel the $29/mo Continuous Care subscription anytime?

Yes. Zero long-term commitments. Continuous Care is billed month-to-month at $29/mo and can be cancelled with one click in your Client Portal.

Know what's in your codebase
before your buyer finds out.

Run Free 60s Pre-Scan ($0) →
100% Read-Only · Instant 60s Delivery · $49 Full Deal-Room Unlock