@clearrecord/check 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -2
- package/bin/check.js +7038 -0
- package/package.json +33 -4
package/README.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @clearrecord/check
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Deterministic Air-Gapped Code Audit & M&A Due Diligence Scanner.
|
|
4
|
+
|
|
5
|
+
## 🛡️ Overview
|
|
6
|
+
`@clearrecord/check` is a specialized engineering tool designed for M&A due diligence. It scans codebases for "Deal Killers" (e.g., missing RLS, secret leaks, unindexed foreign keys) to ensure a SaaS is "Diligence Ready" for premium exit multiples.
|
|
7
|
+
|
|
8
|
+
## 🚀 Quick Start
|
|
9
|
+
Run the scanner without installing:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx @clearrecord/check
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
To run in strict mode (blocks PRs/Merges):
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npx @clearrecord/check --strict
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## ⚙️ How it Works
|
|
22
|
+
The scanner is **Air-Gapped**. It is read-only and performs zero outbound network calls. Your source code never leaves your environment.
|
|
23
|
+
|
|
24
|
+
## 📊 42-Point Checklist
|
|
25
|
+
The scanner verifies your codebase against the Clear Record 42-Point Checklist across 5 vectors:
|
|
26
|
+
1. **PostgreSQL/Supabase Security** (RLS Enforcement)
|
|
27
|
+
2. **Next.js Architecture** (Client/Server Separation)
|
|
28
|
+
3. **Stripe Billing Hygiene** (Webhook Verification)
|
|
29
|
+
4. **Secrets & Auth Hygiene** (Credential Leakage)
|
|
30
|
+
5. **DB Performance** (Connection Pooling & Indexing)
|
|
31
|
+
|
|
32
|
+
## 📜 License
|
|
33
|
+
MIT
|