DEVELOPER INFRASTRUCTURE & MV3 SECURITY

Stop Leaving Your Chrome Extension’s API Keys and Revenue Exposed in Unpacked .crx Files.

A production-hardened FastAPI + PostgreSQL backend and Manifest V3 service worker starter kit. Neutralize scraped .crx API keys, verify Stripe checkouts server-side without third-party middleman fees, and pass Chrome Web Store MV3 remote-code reviews on the first try.

Download the Starter Kit

Why This Exists (The Problem)

Most MV3 extension boilerplates stop at the UI—giving you a popup template while leaving your backend endpoints and monetization wide open. Because any Chrome extension (.crx) can be unpacked in seconds, static API keys inside background.js get scraped by bots, and client-side chrome.storage.local paywalls get bypassed in DevTools. Worse, pulling external billing scripts violates Manifest V3's strict ban on remotely hosted code, while third-party payment wrappers take an ongoing cut of your revenue without protecting your backend API.

Live Render Production Telemetry — Sub-5ms Scraped Key Rejection
INFO:dgf.middleware:POST /continuity -> 401 (0.9ms)
[SECURITY BLOCK] Missing or invalid Authorization header.
INFO:dgf.middleware:POST /continuity -> 403 (1.2ms)
[SECURITY BLOCK] Scraped key rejected — missing installation_uuid.
INFO:dgf.middleware:POST /continuity -> 403 (4.9ms)
[SECURITY BLOCK] Scraped key rejected — unregistered UUID: 00000000-1234-5678-0000-000000000000
INFO:dgf.middleware:GET /check-state -> 404 (3.9ms)

Inside the Unified Cryptographic Loop

Watch how the 4-layer Conditioned Verification Membrane fuses licensing, API authority, and remote edge execution inside a single verification boundary.

What’s Under the Hood

Everything you need to deploy a locked-down FastAPI + PostgreSQL gateway and Manifest V3 client bridge.

4-Layer .crx Anti-Scraping Lockdown

Even if an attacker unpacks your .crx and extracts your Bearer API key, backend requests are blocked (HTTP 403) unless accompanied by a registered installation_uuid and a live, rotating 4-hour continuity_ref session token (±15 min stealth jitter) behind explicit chrome-extension:// CORS origin pinning.

Direct-Stripe Webhook & Multi-Product Engine

Cryptographically verified Stripe checkout.session.completed webhook handler backed by PostgreSQL (middleware_licenses). Supports single or multiple extensions on one shared backend via product_id isolation—zero ExtensionPay or third-party wrapper fees.

MV3-Compliant Service Worker Bridge

Lightweight, non-blocking background.js module with a race-condition-proof UUID generator, automatic 4-hour token rollover (chrome.alarms), automatic HTTP 410 token refresh on protected calls, and direct Stripe client_reference_id checkout handoff—zero remote code execution.

Deploy-Ready FastAPI + Async SQLAlchemy

Production-tested on Render + PostgreSQL with automatic table initialization, an async connection pool, a built-in local SQLite fallback for instant local testing, environment-gated debug routes (DGF_DEBUG), and a step-by-step setup guide.

Licensing Tiers

Instant source-code download upon checkout. Zero recurring fees or revenue splits.

Feature Single-Extension License ($99) Multi-Product License ($199)
Permitted Extensions 1 Chrome Web Store Extension ID Unlimited Extension IDs owned by you/your studio
Full FastAPI + PostgreSQL Source (main.py) Included Included
MV3 Service Worker Auth Bridge (background.js) Included Included
4-Layer .crx API Key & Token Lockdown Included Included
Direct-Stripe Webhook & product_id Routing Licensed for 1 product Licensed for unlimited products on 1 shared backend
Ownership & Fees Full source download • $0 recurring fees Full source download • $0 recurring fees
Single-Extension License
$99 / one-time
  • Deploy across 1 commercial or personal Chrome extension
  • Complete FastAPI + Async PostgreSQL backend source code
  • MV3 Service Worker Auth Bridge & 4-hour token engine
  • Direct-Stripe webhook handler & step-by-step README.txt
Multi-Product License
$199 / one-time
  • Deploy across unlimited extensions owned by you or your studio
  • Multi-tenant product_id isolation on 1 shared backend
  • Complete FastAPI + Async PostgreSQL backend source code
  • MV3 Service Worker Auth Bridge & step-by-step README.txt