2026-11-26 · Daily security tips
Is your page sending more data to the browser than it shows?
In Next.js, whatever a page hands to the browser ends up in the HTML, even fields your UI never shows. With the Pages Router, props from getServerSideProps sit in a script tag called __NEXT_DATA__. With the App Router, props passed to a "use client" component are sent the same way. Pass a whole user row or settings object and its password hash, tokens or API keys go along too.
Check: open your live site, sign in, View Source on a few pages, and search for __NEXT_DATA__ or self.__next_f. Then search the page for sk_, service_role, password, token and other people's email addresses.
Fix: return only the fields the page needs, keep secrets and database calls in server-only files, and rotate any key you found in there.
Is your live site exposing something like this?
The free quick check looks at what your site already serves publicly: secret keys in your JavaScript, open /.env files and /.git folders, Supabase tables readable with your public key, missing security headers, CORS misconfiguration, insecure cookie flags and TLS certificate expiry. No sign-up needed.
No app handy?
No sign-up. Read-only public-resource and protocol metadata checks. No model prompts or tool execution. Scan only sites you own or are allowed to test.
Run on every deploy or use from Cursor / Claude Code via MCP →