leakray 0.1.1 → 0.2.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 +6 -6
- package/dist/cli.mjs +67 -60
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Zero-config, strictly passive URL security scanner for modern full-stack and AI-built web apps (**Next.js, Vite/React, Supabase, Firebase, Stripe, Vercel, Cloudflare**).
|
|
4
4
|
|
|
5
|
-
Runs **
|
|
5
|
+
Runs **22 read-only checks** locally from your terminal or CI pipeline — zero signup, zero telemetry, zero false positives on intentionally public client keys (like Supabase `anon` or Stripe `pk_live_`).
|
|
6
6
|
|
|
7
7
|
## Quick Start
|
|
8
8
|
|
|
@@ -34,11 +34,11 @@ Output structured JSON for scripts:
|
|
|
34
34
|
npx leakray https://myapp.com --json
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
## What It Checks (
|
|
37
|
+
## What It Checks (22 Passive Rules)
|
|
38
38
|
|
|
39
|
-
- **Leaked Secrets & Keys:** Real private keys in HTML and first-party JS bundles (`sk_live_`, `rk_live_`, `sk-ant-`, `sk-proj-`, `AKIA`, `ghp_`, PEM blocks, Supabase `service_role` JWTs) — without false-flagging public keys (`anon`, `pk_live_`, Firebase web `apiKey`).
|
|
40
|
-
- **Exposed Files &
|
|
41
|
-
- **Transport, Headers & Cookies:** HTTPS/HSTS, CSP, `X-Content-Type-Options`, clickjacking, `Referrer-Policy`, `Permissions-Policy`, SRI, COOP/COEP, CORS credential reflection, `Set-Cookie` flags, and server banner leaks.
|
|
39
|
+
- **Leaked Secrets & Keys:** Real private keys in HTML and first-party JS bundles (`sk_live_`, `rk_live_`, `sk-ant-`, `sk-proj-`, `AKIA`, `ghp_`, PEM blocks, Supabase `service_role` JWTs), `__NEXT_DATA__` and hydrated SPA state leaks — without false-flagging public keys (`anon`, `pk_live_`, Firebase web `apiKey`).
|
|
40
|
+
- **Exposed Files, BaaS & Storage:** `/.env`, `/.git/HEAD`, `/.DS_Store`, `/backup.sql`, `/dump.sql`, public `.js.map` source maps, publicly readable Firebase Realtime Databases, public S3/GCS/R2 bucket listings, GraphQL introspection, OpenAPI/Swagger endpoints, Next.js debug exposure, and sensitive `robots.txt` paths.
|
|
41
|
+
- **Transport, Headers & Cookies:** HTTPS/HSTS, mixed content (`http://` resources on `https://`), CSP, `X-Content-Type-Options`, clickjacking, `Referrer-Policy`, `Permissions-Policy`, SRI, COOP/COEP, CORS credential reflection, `Set-Cookie` flags, and server banner leaks.
|
|
42
42
|
|
|
43
43
|
## GitHub Actions Example
|
|
44
44
|
|
|
@@ -70,5 +70,5 @@ jobs:
|
|
|
70
70
|
|
|
71
71
|
## Web App
|
|
72
72
|
|
|
73
|
-
Prefer a browser UI, interactive
|
|
73
|
+
Prefer a browser UI, interactive 22-check matrix, and Grade A+ README badge?
|
|
74
74
|
Visit **[LeakRay Web](https://leakray.dev)**.
|