ShipWatch blog
News and short security notes for people shipping AI-built apps. Subscribe with the RSS feed.
- Don't paste secret keys into your AI builder's chat
· When you paste a real API key into a Lovable, Bolt, v0, Replit or Cursor chat, the tool can write it straight into your code. Here's a safer way to hand it a key.
- Deleting a leaked API key from your code isn't enough
· Removing a leaked key from your code doesn't make it safe, because old copies live on in git history and earlier deploys. Here's why you have to rotate it.
- Don't call OpenAI or Claude straight from the browser
· If your app sends AI requests from the visitor's browser, your API key ships with it. Here's how to spot it and move the call to a server.
- Is your .env file downloadable?
· If your .env file gets deployed with your app, anyone can download it and read every key inside. Here's how to check and fix it.
- The security headers AI-built apps usually skip
· Apps from Lovable, Bolt, v0 and Replit often ship without basic security headers. Here's what they do, how to check yours, and a prompt to add them.
- VITE_ and NEXT_PUBLIC_ variables are not secret
· Any environment variable starting with VITE_ or NEXT_PUBLIC_ gets copied into the JavaScript every visitor downloads. Here's how to keep real secrets out of it.
- Is your .git folder public?
· If your app's .git folder is reachable on the web, anyone can download your source code and its history, including old secrets. Here's how to check and fix it.
- Introducing the free ShipWatch scan for AI-built apps
· ShipWatch's free scan checks a live app for leaked API keys, exposed .env and .git files, and missing security headers in about 30 seconds, with no signup.