More screenshots
Works with the AI Agents you already use
Vibe-Code Security & OWASP Auto-Fixer
Shipping AI-generated code or rapid prototypes often leads to hardcoded secrets, missing headers, and permissive CORS.
$9.99
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
| Pillar | Baseline Score | Status | Findings |
|---|---|---|---|
| Secrets & API Keys | 10/25 | CRITICAL | Hardcoded STRIPE_SECRET found in /lib/stripe.ts (Redacted) |
| Env & Git Hygiene | 5/15 | FAIL | .env not in .gitignore; NEXT_PUBLIC_DB_PASS leak detected |
| OWASP Headers | 0/20 | MISSING | No CSP, HSTS, or X-Frame-Options configured |
| Injection Sinks | 15/20 | WARN | dangerouslySetInnerHTML used in /components/Post.tsx |
| Auth & Session | 5/10 | WARN | JWT fallback secret detected in auth.ts |
| Supply Chain | 10/10 | PASS | All dependencies pinned |
Total Baseline Score: 45/100
Proposed Fixes
- Generate
vercel.json: Adding full OWASP-compliant security headers. - Harden
.gitignore: Adding.env,*.pem, andnode_modules. - Scrub Secrets: Replacing hardcoded strings with
process.envreferences. - Environment Template: Creating a clean
.env.examplewith placeholders.
Next steps
- Run
node scripts/fix_security.mjs . --platform vercel --applyto apply these patches. - IMPORTANT: Revoke the detected Stripe secret immediately; it has been committed to your history.
- Run the verification script to confirm the new score (Target: 85/100).
Post.tsx
PDF · document
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
.gitignorecoverage and identifies server-side secrets leaked viaNEXT_PUBLIC_orVITE_prefixes. - OWASP Header Injection generates production-ready
vercel.jsonor_headersfiles 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
- Baseline Audit runs a local scan to generate a JSON and Markdown report scoring six security pillars.
- Fix Generation creates hardened configuration files and a
SECURITY_FIX_PLAN.mdfor review. - Idempotent Patching applies safe code changes to remove hardcoded fallbacks and insecure TLS settings.
- 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
.gitignoreand.env.examplebefore 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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.js
Git