AI full-stack app builder in the browser
Bolt.new generates and deploys full-stack applications from natural language prompts. Like other AI builders, it prioritizes speed over security — common issues include exposed environment variables, missing auth on API routes, and insecure default configurations.
Secret keys intended for server-side use get bundled into the client-side JavaScript.
Ensure server-only secrets use server-side env vars (not VITE_ or NEXT_PUBLIC_ prefixed).
Generated APIs lack rate limiting, allowing brute-force and abuse.
Add rate limiting middleware (e.g., express-rate-limit or edge function rate limiting).
Generated projects may use default or weak database passwords.
Change all default credentials immediately. Use strong, randomly generated passwords.
Form submissions lack CSRF tokens, enabling cross-site request forgery.
Implement CSRF tokens for all state-changing operations.
Sessions may use predictable IDs or lack proper expiry.
Use secure, httpOnly cookies with SameSite=Strict and proper expiration times.
Always check the generated package.json for outdated or vulnerable dependencies.
Use Erzo's Header Checker on your deployed URL to verify security headers.
Don't deploy directly from Bolt to production — review the code first.