PostsAbout
PostsAbout
Subscribe
Subscribe
PostsAbout
Security for the Rest of Us

All posts

🚰 How to Make Sure Your App Isn't Leaking Sensitive Data

A 10-step post-deployment security checklist for developers to prevent leaks and secure apps—plus a free Notion checklist to make it simple.

November 18, 2026 · 3 min read


So, you've just deployed your app—congrats! But before you kick back and celebrate, there's that nagging security question we all face: "Wait, did I accidentally expose my API keys?"

I had that exact feeling yesterday after pushing some updates to my security blog. Even though I was pretty sure I'd stored everything correctly in Netlify, I wanted to double-check because, well, that's what security folks do!

This impromptu security check got me thinking about how many developers might not have a systematic way to verify their deployments are secure. So I thought I'd share my process and turn it into something useful for you too.

The Developer's Post-Deployment Security Check

Here's my personal checklist to ensure you haven't accidentally exposed anything sensitive:

1. Double-Check Your Environment Variables

It's frighteningly easy to forget about those .env files. Make sure they're not accidentally exposed to the public. A quick look at your .gitignore and your deployment platform settings can save you from some serious headaches down the road.

2. Pop Open DevTools' Application Tab

Open up your DevTools and head to the Application tab. Look through Local Storage, Session Storage, and IndexedDB. You'd be surprised how often sensitive information gets stored here without developers realizing it. In my case, I just found theme preferences and color mode settings - nothing concerning.

3. Spy on Your Own Network Requests

The Network tab is gold for security checks. Refresh your page and watch the requests that fire off. Pay special attention to:

  • Request headers - especially any Authorization headers

  • URL parameters - sensitive data should never be in URLs

  • Response data - sometimes APIs return sensitive data you didn't expect

4. Look for Exposed Environment Variables

This is a big one that's bit me before. Make sure your .env files aren't somehow getting bundled into your public build. Double-check your .gitignore while you're at it.

5. Don't Leak Your Code with Source Maps

Source maps are great for debugging but terrible for security if left on in production. Make sure they're disabled unless you're into giving strangers a peek at your source code.

6. Clean Up Console Logs

We all use console.log to debug, but leaving them in production can expose sensitive info. Go ahead and clean those up—it takes like two seconds and could save you big time.

7. Make Sure HTTPS is a Thing

It sounds basic, but if your site doesn't have HTTPS, you're basically asking for trouble. Most hosts (like Netlify) offer free SSL, so there's no excuse.

8. Lock Down CORS Configurations

Wildcards in CORS settings are just bad news. Make sure your API only accepts requests from trusted domains.

9. Run a Quick Security Scan

Before you breathe easy, run npm audit or yarn audit to catch any security holes in your dependencies. Fix what you can, and make a note of the rest.

10. Keep Authentication Tight

Use proper authentication methods like OAuth or JWT and keep token expiry times short. It's like locking your doors before leaving the house—just common sense.

Making This Part of Your Routine

I've found that having a structured approach to security checks after deployment helps catch issues before they become problems. It's become part of my deployment ritual now - code, deploy, verify.

Would having a downloadable checklist for this help you? I've created a Notion template that you can copy and use for your own deployments. Grab it here and let me know if there's anything else you'd add to the list!

What security checks do you run after deploying your applications? Have you ever caught something critical during one of these reviews? I'd love to hear about it in the comments.

Get new posts by email

Subscribe to Security for the Rest of Us.

aboutPrivacyTermsRSS

© 2026 Security for the Rest of Us

Powered by