AI From Zero · Bonus · Free PDF

Vibe Coding Safely: Skills, Security and the Cloudflare Audit

You can now build an app or a website by describing it to AI. This guide shows you how to keep the doors locked while you do it, in plain English, with the exact words to type.

Vibe Coding Safely: Skills, Security and the Cloudflare Audit cover

Get the 10-page PDF

Print it, save it, or keep it open next to your AI while you work through it.

Free. We send the PDF and the occasional useful email. Unsubscribe any time.

01

"It works" is not the same as "it is safe"

When you vibe code, you judge the app by what you see on screen. Much of what makes an app safe is invisible: who can see which data, where the passwords are kept, what happens when a stranger sends something strange. You do not need to become a programmer. You need to learn which questions to ask.

02

The 10 mistakes that leak data

  • Secret keys pasted into the code or put on GitHub
  • Keys sitting in the front end, where any visitor can read them
  • A database with no access rules
  • Missing login checks on pages and behind the scenes
  • Trusting whatever users type
  • No rate limits, and runaway bills
  • Agents with too much power
  • Installing random packages
  • AI features open to prompt injection
  • Launching with debug mode and test accounts still on

03

Find the secrets in your code

Search this whole project for API keys, passwords, tokens or secrets written directly in the code. List each one and the file it is in. Then move them into environment variables, make sure the .env file is ignored by git, and tell me if any secret was ever committed so I know to replace it.

04

Judge a skill before you install it

A skill is a folder of saved instructions, and sometimes small programs, that teaches an AI coding tool how to do one job well. Anthropic's own advice: "Only install skills from trusted sources."

  • Who published it, and what is the license?
  • Read SKILL.md, and ask what each bundled script does
  • Does it tell the AI to contact outside websites? That is the biggest red flag.
  • Does it need what it asks for?

05

Have your AI read the skill to you first

Read this skill folder and tell me in plain English everything it will make you do, every script it runs and every website it contacts, before I enable it.

06

The Cloudflare security audit skill

Free and open source under the MIT license at github.com/cloudflare/security-audit-skill. It reads your code and does not attack your live site, and it works on any codebase.

Install
npx skills add https://github.com/cloudflare/security-audit-skill --skill security-audit
Run
Open your coding agent in the project and say "security audit this codebase".
Read
Start with REPORT.md. Fix confirmed findings first, have needs_validation ones tested, skim the rejected ones.
Repeat
Fix one finding at a time, then run the audit again. Runs add up, so run it more than once.

07

Pre-launch security checklist

  • No keys or passwords written in the code, and no secret key reaches the browser
  • Database rules: people see only their own data
  • Every form and upload checks its input, and rate limits are set
  • Test accounts and debug mode are off
  • Cloudflare audit run twice, all confirmed findings fixed
  • A person has read the report and the fixes

Building with AI? Run the audit, then see where AI fits your business with the free AI check.

Start with the free two-minute AI check and see where AI fits your business.

VORELI
AI Automation ✦Custom Development ✦AI Voice Agents ✦Chatbots ✦Tampa Bay AI Agency ✦Flat Monthly Pricing ✦
AI Automation ✦Custom Development ✦AI Voice Agents ✦Chatbots ✦Tampa Bay AI Agency ✦Flat Monthly Pricing ✦

Ready to build with AI?