NEXT_PUBLIC_ means public: Ember's two-minute check
What if your secret wore a NEXT_PUBLIC_ name tag? Detective Ember would sniff twice.
Next.js inlines these values at build time into browser JavaScript. Without that prefix, variables stay server-only in Node.js.
The two-minute check
- Review
NEXT_PUBLIC_variables. Public keys may belong; payment, AI, andservice_rolesecrets don't. See our guide. - Found a secret? Move it server-side and rotate it, then rebuild and redeploy. After
next build, public values are frozen; later changes need another build. - Then scan your own app on SniffPup for other exposed secrets.
Full fixes free for every critical issue (no critical? one other fix is free).
Want one 2-minute check like this every morning? Sign up below.
Named after Ember, my black Pomeranian. Built by a software engineer and vibe-coding hobbyist to help you ship safely.