← All articles

Key takeaways

  • Requesting /.env should return 404, never your secrets.
  • Use your host's env-var settings instead of shipping a .env.
  • If it was exposed, rotate every key it contained.

Scan your app for these issues — free

Paste your URL and get a graded report with copy-paste fixes in about 30 seconds.

Run a free scan

Keep reading