Pre Launch
Senior security engineer skill that audits, fixes, and tests 30+ vulnerabilities in your app before launch.
Free
Pre Launch
Example session with this skill installed
I'm launching my Next.js app on Vercel tomorrow. I think I might have committed my OpenAI key once and I haven't set up any RLS on Supabase yet. Can you do a pre-launch security pass?
- Read your context and instructions
- Compiled the pre launch
I have completed the Phase 0 audit and the Priority Eight security checks. I found an exposed sk-proj-... key in your Git history and three Supabase tables without RLS policies.
Security Audit Results
| Check | Status | Action Taken |
|---|---|---|
| 02 Hide API keys | FIXED | Moved OpenAI client calls to /api/generate server route. |
| 03 Secure Database | FIXED | Applied RLS policies to profiles, orders, and settings. |
| 24 Scan Git History | ALERT | Found leaked OPENAI_API_KEY in commit a1b2c3d. |
| 25 Rotate Keys | MANUAL | Marked old OpenAI key for immediate revocation. |
| 11 Env Variables | PASS | Validated .env.example matches server requirements. |
| 19 Payments | FIXED | Added Stripe webhook signature verification. |
Security Fixes (Code)
// supabase/migrations/20231027_secure_tables.sql
ALTER TABLE public.profiles ENABLE ROW LEVEL SECURITY;
CREATE POLICY "Users can only update own profile"
ON public.profiles FOR UPDATE
USING (auth.uid() = id);
// app/api/generate/route.ts
// Moved logic from client to server to protect sk_ key
export async function POST(req: Request) {
const session = await getServerSession();
if (!session) return new Response("Unauthorized", { status: 401 });
// OpenAI call now happens here...
}
Next steps
- Revoke Secrets: Go to the OpenAI dashboard and delete the key starting with
sk-pr...immediately. - Review Manual Actions: Open
SECURITY_REPORT.mdto see the click-by-click steps for configuring Vercel environment protection. - Run Tests: Execute
npm test security/to verify the new RLS policies against the test suite I created.
Connects securely to your tools. The creator never sees your data.
About this skill
Speed-running an app to launch often leaves the most dangerous doors wide open. This skill acts as a senior application security engineer to harden your web or mobile app, ensuring it is safe for real users before you hit deploy.
What it does
- Secrets detection identifies and purges leaked API keys,
.envfiles, and credentials from your code and Git history. - Database hardening configures Row-Level Security (RLS) for Supabase/Firebase and prevents IDOR or unauthorized data access.
- Auth enforcement secures server-side routes, admin panels, and session cookies to prevent privilege escalation.
- Payment & logic protection validates server-side pricing and webhook flows to stop users from tampering with transactions.
- Automated security testing writes and runs "try to break it" tests to prove every fix actually works.
How it works
- Map & Scan runs
scan_code.pyandscan_secrets.pyto index your stack, entry points, and existing vulnerabilities. - Prioritize addresses "Red Flags" like committed secrets or open admin routes before moving to lower-severity items.
- Fix & Test applies code changes for 30+ security checks and generates automated test suites to verify them.
- Report produces a
SECURITY_REPORT.mdandSECURITY_MAP.mddetailing every check, fix, and manual action required.
Frameworks & tools
Works with any web or mobile stack including React, Next.js, Node.js, Python, Supabase, and Firebase. Uses specialized scripts for secret entropy detection and Git history purging.
Why this beats prompting it yourself
Generic security prompts often suggest "best practices" without actually touching your code or testing the results. This skill performs deep multi-phase audits, writes the actual fixes, and generates proof-of-security tests that remain in your repo.
Use cases
- Auditing a "vibe-coded" app from Lovable, Bolt, or Cursor before first deployment.
- Purging a secret key accidentally committed to public Git history.
- Locking down a Supabase backend where RLS policies were never enabled.
- Hardening an API against rate-limiting abuse and mass assignment attacks.
Known limitations
Cannot perform manual actions in external dashboards like Stripe, AWS, or Vercel. Destructive Git history rewrites require explicit user approval.
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
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 5 days ago
- Free with an Agensi account
- Accounts
OpenAI
Evil
Yourapp
- Software
Python
Node.jsknipdepcheck
Git
Permissions
Allowed Hosts
What's inside
Creator
Shawn Lee Yen Zheng
Frequently Asked Questions
New in Security
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.