Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Cloud Deploy & Secret Leakage Auditor

    1

    Pre-flight security audit for Next.js, FastAPI, PostgreSQL & Docker. Scans git history for secret leaks, checks NEXT_PUBLIC_ client JS chunks, sanitizes cloud DB migrations, and runs Full-Story E2E checks.

    Free

    1 useSecurity scanned
    Cloud Deploy & Secret Leakage Auditor

    Cloud Deploy & Secret Leakage Auditor

    Example session with this skill installed

    Run a pre-flight security and deployment audit on our Next.js and FastAPI app using cloud-deploy-secret-auditor. Scan our git history for leaked API keys, check client bundles for NEXT_PUBLIC_ leaks, verify .gitignore rules, and run full-story acceptance on our staging URL.

    • Read your context and instructions
    • Compiled the cloud deploy

    CLOUD DEPLOYMENT PRE-FLIGHT AUDIT REPORT

    STAGE 1: GIT & REPOSITORY INTEGRITY

    • Git Ignore Rules: PASSED (.env, .env.local, .vercel/ strictly untracked)
    • Commit History Scan: PASSED (0 real API keys exposed across commits)
    • Dev Scripts Check: PASSED (0 local live preview tokens in layout)

    STAGE 2: CLIENT BUNDLE & RUNTIME ISOLATION

    • NEXT_PUBLIC_ Variables: Only public API URL declared
    • Static JS Chunks: 11 Next.js chunks scanned -> 0 secret pattern hits
    • Server Secrets: Groq, Gemini, FRED, and Neon Postgres isolated server-side

    STAGE 3: FULL-STORY PRODUCTION ACCEPTANCE

    • Service Health (GET /api/v1/health): 200 OK (DB: connected, latency: 22ms)
    • Provider Status (GET /api/v1/data/providers): ACTIVE (all keys masked)
    • Live SSE Stream (/api/v1/ai/chat/stream): Stable connection, heartbeat received, clean finish
    • Browser Console: 0 runtime errors, 0 failed chunk requests

    VERDICT: 100% READY FOR CLOUD DEPLOYMENT

    Connects securely to your tools. The creator never sees your data.

    About this skill

    WHY YOU NEED THIS PRE-FLIGHT AUDIT Most security incidents happen due to simple release accidents: committing .env files to GitHub, exposing API keys via NEXT_PUBLIC_ in client JavaScript, or deploying broken SSE streams. This skill provides an automated 4-phase pre-flight check before you push or promote to cloud production.

    THE 4-PHASE AUDIT PIPELINE

    1. Git History Security Scan: Runs gitleaks detection across commits, blocks dev preview tokens, and ensures .env and .vercel files are ignored.
    2. Client Bundle & Env Check: Scans Next.js static JS chunks to ensure zero API keys or database connection strings are exposed in client bundles.
    3. Cloud DB Migration & PII Hygiene: Enforces SSL connections, prevents hardcoded credentials in migrations, and masks customer PII in seed data.
    4. Full-Story Deployment Acceptance: Validates Health Check -> API Endpoint -> Real-time SSE Stream -> Browser Console 0 errors.

    BEFORE VS AFTER

    • Before: Dev script http://localhost:8400/live.js?token=... accidentally committed. -> After: Flagged and blocked before git push.
    • Before: Database connection string inlined into client bundle via NEXT_PUBLIC_. -> After: Strictly isolated to server-side runtime only.
    • Before: Production deploy builds cleanly but SSE streaming disconnects silently. -> After: Verified end-to-end with heartbeat and stream integrity checks.

    PRODUCTION ASSETS INCLUDED

    • SKILL.md: Complete 4-phase workflow and verification rules.
    • references/secret-leakage-checklist.md: Regex signatures for Groq, Gemini, OpenAI, Claude, Neon, AWS, Stripe.
    • references/full-story-acceptance-spec.md: Acceptance criteria for Health, Providers, SSE, and Console.
    • scripts/audit_cloud_secrets.py: Production Python CLI tool for automated repository and URL auditing.

    RECOMMENDED ECOSYSTEM SYNERGIES Boost your engineering stack with our companion skills on Agensi: https://www.agensi.io/r/IKAROS122

    • Quant Equity Valuation & DCF Engine Pro (Flagship $10)
    • Multi-Agent Quota & Token Optimizer (Save 75-90% frontier quota)
    • Apple Financial Design System Pro (macOS Sequoia UI precision)

    Requires Gitleaks installation for history scans. Does not perform automated secrets rotation. Optimized specifically for Next.js and FastAPI stacks.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    1 use

    Times used to date

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    • Free with an Agensi account

    Requires

    Vercel
    Git

    Permissions

    Terminal / Shell
    Browser
    Read Files
    Network Access

    Allowed Hosts

    my-app.vercel.app
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    This skill automates deep-history Gitleaks scans, verifies that Next.js client bundles haven't accidentally exposed secrets via the `NEXT_PUBLIC_` prefix, and validates that database migrations are free of hardcoded PII or credentials.

    It is specifically optimized for full-stack applications using Next.js and FastAPI, with deep integration for cloud providers like Vercel, Neon, and Supabase.

    No, this skill is a detection and auditing tool; it flags vulnerabilities for you to address, as automated history rewriting (like using BFG or git-filter-repo) can lead to unintended data loss if not supervised.

    The skill requires Gitleaks to be installed on your local system or CI environment to perform the repository history scans.

    You receive the full automated auditing workflow, the custom Python inspection scripts for client-side chunks, and the production readiness acceptance testing suite.

    Yes, the auditor is designed to run against both local build outputs and live deployment URLs to ensure your production environment matches your security expectations.

    New in LLM Ops