@clearrecord/check 1.1.1 → 1.3.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 +8 -7
- package/bin/check.js +1147 -203
- package/bin/thin-client.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -21,13 +21,14 @@ npx @clearrecord/check --strict
|
|
|
21
21
|
## ⚙️ How it Works
|
|
22
22
|
The scanner is **Air-Gapped**. It is read-only and performs zero outbound network calls. Your source code never leaves your environment.
|
|
23
23
|
|
|
24
|
-
## 📊
|
|
25
|
-
The scanner verifies your codebase
|
|
26
|
-
1. **PostgreSQL/Supabase Security** (RLS Enforcement)
|
|
27
|
-
2. **Next.js
|
|
28
|
-
3. **
|
|
29
|
-
4. **Secrets & Auth Hygiene** (
|
|
30
|
-
5. **DB Performance** (
|
|
24
|
+
## 📊 Verified Rule Coverage
|
|
25
|
+
The scanner verifies your codebase locally with zero network egress across 6 deterministic modules:
|
|
26
|
+
1. **PostgreSQL/Supabase Security (`CR-ARCH-02`, `CR-ARCH-03`)** (RLS Enforcement & CVE-2025-48757 Zero-Policy Trap)
|
|
27
|
+
2. **Next.js Route & Middleware Auth (`CR-ARCH-01`)** (Server Route Auth Guards + `middleware.ts` Resolution)
|
|
28
|
+
3. **Billing & Webhook Hygiene (`CR-BIL-01..03`)** (Stripe, Lemon Squeezy & Paddle Signature Verification)
|
|
29
|
+
4. **Secrets & Auth Hygiene (`CR-SEC-01..07`)** (Supabase, Stripe, OpenAI, Anthropic, AWS, GitHub & Slack Credentials)
|
|
30
|
+
5. **DB & Schema Performance (`CR-PERF-01`)** (SQL Foreign Key & Prisma `@relation` Index Coverage)
|
|
31
|
+
6. **Dependency Triage** (Framework & EOL Runtime Checks)
|
|
31
32
|
|
|
32
33
|
## 📜 License
|
|
33
34
|
MIT
|