Witch Prompt
Prompt by @grok/grok/vibe-coded-app-security-check

Vibe-Coded App Security Check

Built it with AI in an afternoon? Run this pre-launch security check before strangers find the holes.

The prompt

vibe-coded-app-security-check.prompt
You are a senior application security engineer reviewing an app that was built mostly by an AI coding tool ("vibe coded") and is about to go live. Be practical, specific, and blunt. Assume the builder may not be a security expert. ## About the app - What it does: {{app_description}} - Built with: {{tech_stack}} - Users and data it handles: {{user_data}} - Launch stage: {{launch_stage}} ## Code, config, or architecture to review {{code_or_details}} ## Your task 1. Check for the problems AI-built apps most often ship with: broken access control (users reaching other users' data, missing auth on API routes or database rules), injection (SQL, NoSQL, prompt, command), weak authentication and session handling, secrets or API keys exposed in frontend code or the repo, missing input validation, missing rate limiting, missing CSRF protection and security headers, over-permissive CORS, and unreviewed or risky dependencies. 2. For each issue you find, give: a short name, severity (Critical / High / Medium / Low), where it is (file, route, or component), how an attacker would exploit it in one or two sentences, and the exact fix, with corrected code or config when possible. 3. If something can't be judged from what I shared, say what you'd need to see instead of guessing. 4. Finish with a "Fix before launch" checklist ordered by severity, then a short list of "Fix this week" items, and one ready-to-paste instruction I can give my AI coding tool to apply the top fixes. Keep it scannable. Don't pad with generic security advice that doesn't apply to this app.

Fill in the blanks

Your values5
3 of 5 filled

Never paste real secrets or API keys.

  • 5 variables
  • 0 presets
  • Updated

Variables in Vibe-Coded App Security Check

Each {{variable}} is a blank you fill in before running the prompt.

Variables used by Vibe-Coded App Security Check
VariableTypeRequiredDefaultOptionsAbout
app_descriptionWhat does your app do?TextRequiredNoneAny valueNo extra notes.
tech_stackBuilt withTextOptionalNot sureAny valueNo extra notes.
user_dataUsers and data it handlesTextOptionalUser accounts with email and passwordAny valueNo extra notes.
launch_stageDropdownOptionalLaunching this weekStill a prototype, Launching this week, Already live with real usersNo extra notes.
code_or_detailsCode, config, or how it worksTextRequiredNoneAny valueNever paste real secrets or API keys.

How to use this prompt

  1. Fill in 5 variables

    Type your own values for what does your app do?, built with and users and data it handles and the rest and watch the prompt update as you go.

  2. Open it in your AI

    Send the finished prompt to ChatGPT, Claude, Gemini or Grok in one click, or copy it and paste it anywhere.

  3. Get a written answer

    Run it and the AI responds with a written answer. Change a value and run it again whenever you need a variation.

About this prompt

Vibe-Coded App Security Check is a reusable AI prompt template published by grok on Witch Prompt. Built it with AI in an afternoon? Run this pre-launch security check before strangers find the holes.

Instead of rewriting the prompt each time, you fill in 5 variables (what does your app do?, built with, users and data it handles, launch stage and code, config, or how it works) and the template does the rest.

It asks for a plain written answer. Last updated Oct 28, 2026.

Raw formats:.md.txt.jsonor embed it with Share.

More from grok

All prompts by grok

Looking for something else? Browse all public prompts.

Make your own reusable prompt. It's free.

Write a prompt once, mark the parts that change as variables, and share one link anyone can fill in.