An autonomous Application Security (AppSec) prompt and skill module for AI coding assistants (Google Antigravity, Cursor, Copilot, Claude, Windsurf). Converts AI-generated apps into secure production software.
If this skill helps you secure your application, please consider leaving a Star on this repository! It takes one click, helps other builders find this tool, and is incredibly appreciated.
AI tools are fantastic at writing code that works, but they consistently ignore secure architecture. This project exists to close that loop. This engine was built to solve that exact issue. It brings rigorous, enterprise-grade security engineering directly into your rapid AI workflow.
Created by a Certified Information Systems Auditor (CISA, ISACA, USA) with over 15 years of hands-on experience in enterprise Application Security, threat modeling, and DevSecOps.
The 12-Phase Autonomous Scan strictly enforces the most widely respected cybersecurity frameworks in the industry. The agent's logic is explicitly mapped to:
- OWASP Top 10 (2021): Comprehensive coverage against the most critical web application security risks (Injection, Broken Access Control, Cryptographic Failures).
- OWASP ASVS (Application Security Verification Standard): Automated checks aligned with Level 1 and Level 2 verification requirements for production readiness.
- NIST SSDF (Secure Software Development Framework): Enforces secure-by-design principles natively within your AI-assisted CI/CD pipeline.
- MITRE ATT&CKยฎ: Proactive defense against known adversary tactics, techniques, and procedures targeting cloud and API infrastructure.
To provide quantifiable security metrics, the auditor evaluates your codebase against 80+ security controls to calculate your VibeSec Audit Score (VAS-100).
The application is graded across 7 weighted domains (Authentication, Authorization, API Security, Cloud Configuration, etc.) to generate a score out of 100.
๐ The Gold Standard: Applications that score 85/100 or higher with zero "Critical" findings demonstrate robust resilience equivalent to passing a standard enterprise penetration test. Applications falling below this benchmark will automatically trigger a BLOCK RELEASE decision, providing you with exact, minimal code fixes to reach compliance.
๐ Click to view a sample VibeSec Audit Report
- Authentication: 8/10
- Authorization: 2/10 (Critical Failure)
- API Security: 6/10
- Code Security: 7/10
- Cloud Security: 10/10
- DevOps Security: 4/10
- AI Code Risk: 6/10
(Target Benchmark: 85/100. Applications scoring below 85 automatically trigger a Block Release decision).
- Overall Risk Level: HIGH
- Production Readiness: ๐ซ BLOCK RELEASE
- Summary: The application successfully implements JWT authentication and basic input validation. However, significant authorization flaws were detected (IDOR), allowing tenant data leakage. These issues must be remediated before live deployment.
ID Severity Finding Location Recommended Minimal Fix V-01 CRITICAL IDOR (Tenant Bypass)
User A can view User B's invoices.routes/invoices.js:L42Add tenant ownership validation: if(invoice.tenant_id !== req.user.tenant_id) return 403;V-02 HIGH Debug Stack Traces Exposed
500 errors leak environment paths.server.js:L18Set NODE_ENV=productionV-03 MEDIUM Missing Rate Limiting routes/auth.js:L12Implement express-rate-limitmiddleware (max 5 requests/min).
If your application has passed the automated audit, you can display the VAS-100 Secured Trust Badge in your footer to show users you take their security seriously.
To maintain the integrity of the Gold Standard, the badge must only be displayed if your application meets three criteria:
- Achieved a score of 85/100 or higher.
- Contains zero Critical or High vulnerabilities.
- Is actively served over an encrypted HTTPS connection.
Because the badge represents strict security, it includes a small script to automatically hide itself if the site drops HTTPS protection.
For Vanilla HTML/JS Sites:
<div id="vibesec-trust-badge"></div>
<script>
if (window.location.protocol === 'https:') {
document.getElementById('vibesec-trust-badge').innerHTML =
'<a href="https://github.com/softwareasg-tools/information-security-for-vibecoded-apps" target="_blank" rel="noopener noreferrer">' +
'<img src="https://img.shields.io/badge/VAS--100-Secured-3AB54A?style=flat-square&logo=shield" alt="VibeSec Secured" style="height:20px; border-radius:4px;">' +
'</a>';
}
</script>For React / Next.js Sites:
'use client';
import { useEffect, useState } from 'react';
export default function VibeSecBadge() {
const [isSecure, setIsSecure] = useState(false);
useEffect(() => {
if (typeof window !== 'undefined' && window.location.protocol === 'https:') {
setIsSecure(true);
}
}, []);
if (!isSecure) return null;
return (
<a href="https://github.com/softwareasg-tools/information-security-for-vibecoded-apps" target="_blank" rel="noopener noreferrer">
<img
src="https://img.shields.io/badge/VAS--100-Secured-3AB54A?style=flat-square&logo=shield"
alt="VibeSec Secured"
style={{ height: '20px', borderRadius: '4px' }}
/>
</a>
);
}Clone this repository directly into your global skills folder. Antigravity will automatically detect the SKILL.md YAML frontmatter.
cd ~/.gemini/config/skills
git clone https://github.com/softwareasg-tools/information-security-for-vibecoded-apps.git infosec-vibecoded-appsAI coding has made it possible for anyone with domain knowledge to build powerful web applications. Add this skill to your project so your AI coding assistant can help you think about security while you build.
Copy the contents of SKILL.md into your .cursorrules or .windsurfrules file at the root of your project.
You can use this automated code review prompt with any LLM by sharing the contents of SKILL.md. Start your chat with:
"Adopt this security engineer persona. Review my application codebase and help me identify and fix security risks. My codebase is located at [PATH]."
The AI assistant will analyze your application, auto-detect your technology stack, and guide you through patching security flaws.
This is not a generic vulnerability scanner. It is an LLM-optimized security prompt designed specifically for the new era of AI-assisted development (vibe coding), where people with deep business expertise can build software faster than ever before.
The skill helps answer critical pre-launch questions:
- "Is my SaaS app safe from hackers before I launch it?"
- "Did my AI coding assistant accidentally introduce security loopholes?"
- "Could users access data (IDOR) they shouldn't see?"
- "Are my REST APIs, GraphQL, and databases protected?"
- "Are my API keys and credentials safe from leaks?"
When triggered, the AI agent performs a structured AppSec audit across 12 critical vectors:
- Repository Security Scan: Finds exposed secrets, risky dependencies, and unsafe
.envconfigurations. - AI-Generated Code Risk Assessment: Identifies common security hallucinations and mistakes introduced during rapid AI development.
- Authentication Security Testing: Reviews login flows, JWT sessions, passwords, and identity controls.
- Authorization Testing (RBAC): Verifies users can only access their own tenant data (prevents IDOR).
- API Security Testing: Checks whether your application's endpoints are rate-limited and protected.
- Injection Testing: Looks for SQLi, NoSQLi, XSS, and dangerous data handling issues.
- Frontend Security Testing: Reviews browser-side risks, CSP headers, and exposed client secrets.
- Database Security Testing: Checks data access controls and database exposure limits.
- Cloud Security Testing: Reviews hosting, IAM permissions, and cloud configuration (AWS, Vercel, Supabase, Firebase).
- Infrastructure Security: Checks Docker containers, Kubernetes, and deployment setup.
- Logging and Monitoring: Ensures application errors don't leak PII or stack traces.
- Security Regression Testing: Creates automated safeguards so vulnerabilities do not return.
Great software has always started with great ideas. AI has fundamentally changed who can build software. Cybersecurity should not become a barrier to creation.
This skill exists to help builders move from:
"I built something amazing."
To:
"I built something amazing that people can safely trust."