Daily security tips
One short, practical check per day. RSS feed.
- Is a GitHub token sitting in your site's .git/config? (2026-11-10)
If your .git folder got deployed, /.git/config shows your repo URL, and sometimes a personal access token baked into it. One curl to check. - Does your minified JavaScript still point at a source map? (2026-11-09)
Even after you delete .map files, the last line of a shipped JS file can still name a map URL. Open that comment and curl the exact path it gives. - Does your site tell browsers to stick to HTTPS? (2026-11-08)
Without a Strict-Transport-Security header, a visitor who types your domain on cafe Wi-Fi can be served a plain-HTTP page first. A one-line curl check. - Did you add a new table and forget to turn RLS on? (2026-11-07)
AI builders often lock down the first tables, then add messages or orders later with RLS still off. Anyone with the anon key can read those new ones. - Can a script on your page read the login cookie? (2026-11-06)
If the session cookie is missing HttpOnly, any XSS on your page can steal it and act as that user. A 30-second DevTools check. - Is the Maps key in your frontend locked to your domain? (2026-11-05)
Some keys are meant to live in the browser, like a Google Maps key. That makes them public, so they need restrictions or anyone can use them on your bill. - Can a stranger sign up to your "private" app? (2026-11-04)
Hiding the sign-up page does not turn off sign-ups. If your auth provider still accepts new accounts, any policy that trusts "logged in" trusts strangers too. - Can another site load your app inside an iframe? (2026-11-03)
If your pages can be framed, a lookalike site can line up a fake button over your real, signed-in app. Here is a one-minute check. - Did a .env.production or backup file slip onto your host? (2026-11-02)
Blocking /.env is not enough. Copies like .env.production, .env.bak or a backup zip in your public folder can be downloaded just as easily. - Are your "hidden" source maps still public? (2026-11-01)
Hiding the comment that points to a source map does not remove the .map file. A one-line curl check, and how to make sure maps never ship. - Is RLS on, but one policy lets everyone read? (2026-10-31)
Turning on Row Level Security is only half the job. A policy written as using (true) opens the table to anyone holding your public anon key. - Is an old API key still sitting in your git history? (2026-10-30)
Deleting a key from your code does not delete it from git. If the repo is public, or ever was, the old commit still holds it. - Is your login check only in the frontend? (2026-10-29)
Hiding a page or button is not access control. If your API trusts whoever calls it, anyone can skip your UI. - Is your site missing basic security headers? (2026-10-26)
A few response headers stop clickjacking, downgrade attacks and some injected scripts. Here is how to check yours in a minute. - Can anyone download your .env or .git folder? (2026-10-25)
If your server hands out /.env or /.git/, your secret keys and code history go with it. A one-minute check and fix. - Are your source maps shipping your whole codebase? (2026-10-24)
Public .map files let anyone read your original source, comments and all. Here is how to check and turn them off.