security(v2.7.2): remediate all 3 Critical P0 & 5 High P1 audit findings (fail-closed auth, webhook hardening + replay protection, auth-first BYOK + SSRF allowlist, minimal public tracker DTO, atomic+DB idempotency, 0 npm vulnerabilities, CI gate)
This commit is contained in:
+18
-12
@@ -1,20 +1,26 @@
|
||||
# ==============================================================================
|
||||
# Aura Courier MCP (v2.6.1) — Environment Variable Template (NO REAL SECRETS!)
|
||||
# Aura Courier MCP (v2.7.2) — Environment Variable Template (NO REAL SECRETS!)
|
||||
# ==============================================================================
|
||||
# PRODUCTION RULE:
|
||||
# - NEVER commit a real `.env` file or bake `.env` into Docker images.
|
||||
# - Store all real production values in Coolify -> Application -> Environment
|
||||
# Variables (`coolify-db`, App 25: `ix4jsg321uqfrko9qrrq4k7m`), NOT copied
|
||||
# inside `/app/.env` inside the container.
|
||||
# - Generate every auth/OAuth/webhook secret with: `openssl rand -hex 32`
|
||||
# - Store all production values in your secret manager / deployment environment.
|
||||
# - Server FAILS CLOSED on startup if required secrets are missing or weak.
|
||||
# ==============================================================================
|
||||
|
||||
# --- Server & Auth ---
|
||||
# --- Server & Auth (ALL REQUIRED IN PRODUCTION — MIN 24 CHARS HIGH ENTROPY) ---
|
||||
NODE_ENV=production
|
||||
PORT=80
|
||||
HOST=0.0.0.0
|
||||
DATABASE_URL=postgresql://postgres:CHANGE_ME@ernix50nvuq9ur9jy8na8tgr:5432/aura_auth
|
||||
AURA_API_KEY=aura_live_mcp_master_key_2026
|
||||
AURA_READONLY_KEY=aura_ro_public_inspector_2026
|
||||
DATABASE_URL=postgresql://db_user:REPLACE_ME@db.internal:5432/aura_courier
|
||||
AURA_API_KEY=<generate-with-openssl-rand-hex-32>
|
||||
AURA_ADMIN_KEY=<generate-with-openssl-rand-hex-32>
|
||||
AURA_READONLY_KEY=<generate-with-openssl-rand-hex-24>
|
||||
AURA_WEBHOOK_SECRET=<generate-with-openssl-rand-hex-32>
|
||||
AURA_OAUTH_SECRET=<generate-with-openssl-rand-hex-32>
|
||||
AURA_SSO_JWT_SECRET=<generate-with-openssl-rand-hex-32>
|
||||
# Optional comma-separated allowed browser origins (defaults to * for MCP clients)
|
||||
# CORS_ORIGIN=https://client.example.com,https://admin.example.com
|
||||
|
||||
# --- Steadfast Courier ---
|
||||
STEADFAST_API_KEY=your_steadfast_api_key
|
||||
@@ -38,10 +44,10 @@ REDX_PICKUP_STORE_ID=your_redx_pickup_store_id
|
||||
PAPERFLY_API_KEY=your_paperfly_header_key
|
||||
PAPERFLY_USERNAME=your_paperfly_username
|
||||
PAPERFLY_PASSWORD=your_paperfly_password
|
||||
PAPERFLY_STORE_NAME=Snehalata
|
||||
PAPERFLY_STORE_NAME=your_store_name
|
||||
PAPERFLY_BASE_URL=https://api.paperfly.com.bd
|
||||
|
||||
# --- Google Maps & Webhook Bridges ---
|
||||
# --- Google Maps & Optional Bridges ---
|
||||
GOOGLE_MAPS_API_KEY=your_google_maps_api_key
|
||||
SNEHALATA_VERIFY_KEY_URL=https://www.snehalata.com/api/mcp/verify-key
|
||||
SNEHALATA_WEBHOOK_URL=https://www.snehalata.com/api/webhooks/pathao
|
||||
# SNEHALATA_VERIFY_KEY_URL=https://your-store.example.com/api/mcp/verify-key
|
||||
# SNEHALATA_WEBHOOK_URL=https://your-store.example.com/api/webhooks/pathao
|
||||
|
||||
Reference in New Issue
Block a user