Skip to content
LPLaunchProof

Docs

LaunchProof documentation

LaunchProof is a free, local-first CLI that verifies AI-built applications and publishes evidence. It is MIT licensed and published on npm as @hamzakhan2006/launchproof(the unscoped npm name launchproof belongs to an unrelated project). A separate founder-operated paid assessment service may be offered through the website; do not assume it has an active checkout or is currently accepting customers unless that is independently verified on the site. This page does not promise capabilities that are not implemented.

Overview

One scan can combine static security and secret checks, repository hygiene, live HTTP posture, API contract assertions, cross-identity authorization probes, browser workflows, axe-core accessibility, and navigation performance. Every check has a status; every finding has severity, confidence, verification method, impact, and remediation.

launchproof analyze # discovery only, no network launchproof security # static + live checks when authorized launchproof test # full configured scan, including browser checks launchproof scan <url> # live HTTP/API/authorization checks launchproof report # render or convert an existing report

Install from source

Node.js 22.12 or newer is required. Docker is not used. Install the CLI from npm as the scoped package @hamzakhan2006/launchproof, or run it from a checkout of the repository. The unscoped npm name launchproof is owned by an unrelated project, so do not install launchproof expecting this project.

git clone https://github.com/MHK-ctrl/launchproof.git cd LaunchProof npm install npm run build node packages/cli/bin/launchproof.mjs --help

Browser checks additionally need optional peer dependencies and the Chromium headless shell:

npm install --save-dev playwright axe-core PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npx playwright install --only-shell chromium

The public CLI treats both as optional. If they are missing, browser checks are markedNOT VERIFIED, never passed.

Quick start

  1. Create a config in the project root: launchproof init.
  2. Run launchproof analyze to confirm the detected stack.
  3. Review the generated launchproof.config.json and set app.url if needed.
  4. Run launchproof test. Network checks stay off unless scan.network is true.
  5. Open .launchproof/latest.html and read the limitations before acting.

For a remote deployment, you must set authorization.authorized to true and add the exact host (or wildcard) to authorization.scope. Loopback targets are allowed by default.

Commands

CommandPurpose
initWrite a conservative launchproof.config.json.
analyzeProfile the project without network access.
testRun all configured checks, including browser when enabled.
securityStatic security/hygiene and, if enabled, HTTP/API/auth checks.
scan <url>Live checks against an explicitly authorized target.
browser [url]Workflows, links, mobile layout, axe, and performance.
accessibility [url]axe-core against configured pages.
performance [url]Navigation metrics and budgets.
report [file]Render terminal, HTML, JSON, or SARIF from a saved report.
configPrint the effective configuration without secret values.
doctorCheck Node, config, Playwright, Chromium, axe-core, and git.

Global flags: --config, --json, --quiet, --verbose, --ci, --no-color, --output, and --fail-on.

Exit codes: 0 gate passed, 1 gate failed, 2 usage/config/authorization error, 3 unexpected error.

Configuration

JSON and YAML are supported. Unknown or invalid fields are rejected. Defaults are conservative: network checks off, authorization off, unsafe API methods off, AI off.

{ "version": 1, "project": { "name": "my-app" }, "app": { "url": "http://localhost:3000" }, "authorization": { "authorized": false, "scope": [], "allowLocal": true, "allowPrivateNetwork": false }, "scan": { "network": false, "failOn": "high", "gitHistory": false }, "api": { "baseUrl": "http://localhost:3000", "allowUnsafeMethods": false, "endpoints": [ { "path": "/api/health", "expectStatus": 200, "expectJson": true } ] }, "auth": { "identities": { "owner": { "headersEnv": { "cookie": "LP_OWNER_COOKIE" } }, "other": { "headersEnv": { "cookie": "LP_OTHER_COOKIE" } } } }, "browser": { "enabled": true, "workflows": [] }, "accessibility": { "enabled": true, "tags": ["wcag2a", "wcag2aa"] }, "performance": { "enabled": true }, "report": { "outputDir": ".launchproof", "formats": ["terminal", "json", "html"] } }

Identity values are read from environment variables (or a local .env), never embedded in reports. Use CI secrets for staging credentials.

Authorization and safety

  • Loopback targets are allowed by default for local development.
  • Non-loopback targets require authorization.authorized: true and a matching scope entry.
  • Private-network targets additionally require allowPrivateNetwork: true.
  • Cloud metadata endpoints are always blocked.
  • Redirects are checked hop by hop and refused if they leave scope.
  • API mutations are disabled unless api.allowUnsafeMethods is explicitly enabled.
  • No exploitation, fuzzing, or destructive payloads are performed.

Reports

Each scan writes a scan-specific directory under .launchproof/ plus latest.json and latest.html. JSON is the canonical artifact; HTML is self-contained and offline; SARIF 2.1.0 is generated for code scanning integrations. Credential-like values are redacted before entering any artifact, and HTTP response bodies are not copied into evidence.

CI usage

# .github/workflows/verify.yml (excerpt) - uses: actions/setup-node@v4 with: { node-version: 22, cache: npm } - run: npm ci - run: npm run build - run: npm run lint - run: npm run typecheck - run: npm test - run: node packages/cli/bin/launchproof.mjs test --ci --fail-on high

The last command requires a launchproof.config.json in the repository. Keep network checks off or point them at a staging system covered by your authorization and repository secrets. A failed gate returns exit code 1.

Cloud dashboard (optional)

The dashboard at https://launchproof-rose.vercel.app is optional. It uses GitHub sign-in through Supabase. Signing in creates a profile; nothing from a local scan is uploaded unless you pass --upload (or call the API explicitly).

launchproof login # browser + loopback PKCE approval launchproof status # account and token expiry launchproof scan . --upload --yes # explicit sanitized upload launchproof logout # revoke the token and delete local credentials
  • Connect a repository from the dashboard to associate uploads. GitHub has no read-only private-repository scope, so this asks for repo; the provider token is encrypted into a 15-minute cookie and never stored in the database.
  • Uploads contain check summaries, counts, findings, commit/branch, and repository metadata. Source code, environment values, and local paths are not uploaded.
  • Scan history, finding details, and report downloads are scoped to the signed-in account; cross-account reads and downloads return 404.
  • Delete the account from Dashboard → Account to remove the profile, repositories, scans, findings, and CLI tokens. CLI tokens can also be revoked in Settings.
  • Read the privacy policy for what is stored and how long it remains.

Limitations

  • Static rules are heuristics for review; they do not prove exploitability.
  • A clean scan is not a security certificate or a substitute for a penetration test.
  • TLS certificate chains and protocol versions are not independently verified.
  • HTTP checks are unauthenticated unless identities are configured and executed.
  • Browser checks cover only configured workflows and sampled pages.
  • Performance is measured in a single local run, not a production benchmark.
  • Lighthouse is optional and not bundled; the report says so when requested.
  • Static Supabase review cannot prove the policy state of a deployed database.
Found a problem in these docs or the tool? See the security and disclosure page.