Security habits I repeat on every new repository

Complete post with author details, sharing, and comments.

Security habits I repeat on every new repository

Tarek MESSAOUDI

Tarek MESSAOUDI

Software Engineer

Software Engineer
A checklist mindset for Laravel apps: env hygiene, headers, and review habits.

Secrets and configuration

No secrets in git. Rotate keys when people leave projects. Use environment-specific values and separate read/write credentials when databases allow it.

  • Enable MFA on Git and hosting
  • Lock down debug modes in production
  • Validate and sanitize every upload path

Dependencies are attack surface

Scheduled composer/npm audits and prompt patch windows beat emergency weekends.

Security is a habit loop, not a one-time ticket.
Share this post
Leave a comment
Comments (0)

No comments yet.