More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+23 more

    Vibe-Code Security & OWASP Auto-Fixer

    by Zainal Salamun

    1

    Shipping AI-generated code or rapid prototypes often leads to hardcoded secrets, missing headers, and permissive CORS.

    $9.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Vibe-Code Security & OWASP Auto-Fixer

    Example session with this skill installed

    Run a security audit on my current Next.js project directory and generate a fix plan for any leaked secrets or missing headers.

    • Read your context and instructions
    • Compiled the vibe-code security
    • Generated the document

    I have completed the security audit of the repository. The scan identified several high-priority issues including hardcoded secrets and missing production headers.

    Security Audit & Fix Plan

    PillarBaseline ScoreStatusFindings
    Secrets & API Keys10/25CRITICALHardcoded STRIPE_SECRET found in /lib/stripe.ts (Redacted)
    Env & Git Hygiene5/15FAIL.env not in .gitignore; NEXT_PUBLIC_DB_PASS leak detected
    OWASP Headers0/20MISSINGNo CSP, HSTS, or X-Frame-Options configured
    Injection Sinks15/20WARNdangerouslySetInnerHTML used in /components/Post.tsx
    Auth & Session5/10WARNJWT fallback secret detected in auth.ts
    Supply Chain10/10PASSAll dependencies pinned

    Total Baseline Score: 45/100

    Proposed Fixes

    1. Generate vercel.json: Adding full OWASP-compliant security headers.
    2. Harden .gitignore: Adding .env, *.pem, and node_modules.
    3. Scrub Secrets: Replacing hardcoded strings with process.env references.
    4. Environment Template: Creating a clean .env.example with placeholders.

    Next steps

    1. Run node scripts/fix_security.mjs . --platform vercel --apply to apply these patches.
    2. IMPORTANT: Revoke the detected Stripe secret immediately; it has been committed to your history.
    3. Run the verification script to confirm the new score (Target: 85/100).

    Post.tsx

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

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

    About this skill

    Shipping AI-generated code or rapid prototypes often leads to hardcoded secrets, missing headers, and permissive CORS. This skill provides a deterministic audit and auto-fix workflow to harden web repositories before they hit production.

    What it does

    • Deterministic Auditing scans for leaked API keys, private PEM blocks, and database credentials with automatic redaction.
    • Environment Hygiene checks .gitignore coverage and identifies server-side secrets leaked via NEXT_PUBLIC_ or VITE_ prefixes.
    • OWASP Header Injection generates production-ready vercel.json or _headers files with CSP, HSTS, and X-Frame-Options.
    • Code Patching identifies and fixes XSS sinks like innerHTML, eval(), and insecure cookie flags.
    • Verification Reporting compares before and after states to calculate an exact security score delta out of 100 points.

    How it works

    1. Baseline Audit runs a local scan to generate a JSON and Markdown report scoring six security pillars.
    2. Fix Generation creates hardened configuration files and a SECURITY_FIX_PLAN.md for review.
    3. Idempotent Patching applies safe code changes to remove hardcoded fallbacks and insecure TLS settings.
    4. Final Verification re-scans the directory to confirm score gains and list remaining manual refactors.

    Frameworks & tools

    This skill works with Next.js, React, Vite, Express, Node.js, and Astro. It uses local Node.js scripts with zero external npm dependencies or API calls.

    Why this beats prompting it yourself

    Generic prompts often miss specific framework leaks like NEXT_PUBLIC_ or provide invalid CSP syntax. This skill uses a structured rubric and local scripts to ensure every audit is consistent, private, and measurable.

    Use cases

    • Auditing a fresh AI-generated repository for hardcoded "dev-only" secrets.
    • Generating production security headers for Vercel or Cloudflare Pages deployments.
    • Cleaning up a repository's .gitignore and .env.example before a public release.
    • Verifying that a security refactor actually improved the codebase score.

    Known limitations

    Requires Node.js 18 or higher. Manual refactoring is still required for complex issues like parameterized SQL queries or full key rotation in Git history.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.

    Requires Node.js 18+. Cannot automatically rotate keys in Git history. Complex logic like SQL injection requires manual refactoring after the audit flags the sink.

    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 buying a skill.

    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

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Software
    Node.jsGit

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    This skill performs a three step workflow that includes a deterministic security audit, automatic generation of hardened configuration files, and idempotent code patching to fix vulnerabilities like XSS sinks and insecure headers. Finally, it runs a verification scan to calculate the exact improvement in your security score.

    You simply need a repository using Next.js, React, Vite, Express, Node.js, or Astro and an environment running Node.js 18 or higher. The skill uses local scripts with zero external npm dependencies and makes no external API calls, ensuring your code stays private.

    The skill generates a JSON and Markdown security report scoring your app across six pillars, production ready configuration files like vercel.json or _headers, a hardened .gitignore, and a .env.example file. It also provides a SECURITY_FIX_PLAN.md so you can review all proposed changes before they are applied.

    While it fixes many configuration and code issues, it cannot perform complex manual tasks like full key rotation in Git history or refactoring code for parameterized SQL queries. If the skill detects a leaked credential, it will warn you to revoke and rotate that key manually.

    You can ask your agent to run a pre-launch security audit on your directory or request it to generate OWASP security headers for your Vercel or Cloudflare deployment. You can also specifically ask it to check for leaked API keys or to verify the security score gains after a refactor.

    New in Security