Skip to main content

Developer Environment

Optimise for speed to first valuable commit.

Context

Best Practices

Best Practice to clear history regularly.

history -c && rm ~/.bash_history

Environment Variables

A tool for loading and storing encrypted environment variables

TEE

TEEs Primer

Hosts File

Use to trick computer that you are accessing an external domain.

OSLocation
WindowsC:\Windows\System32\drivers\etc\hosts
Mac/Linux/etc/hosts

Dev Setups

Questions

How much of your security posture collapses at the moment of highest cognitive load — when you're rushing to ship?

  • The history -c && rm ~/.bash_history pattern removes local history but not what was already sent to remote systems — what else should be wiped on a secure dev machine?
  • ENV ENC encrypts environment variables but the encryption key itself must live somewhere — where does that key go, and who has access?
  • Trusted Execution Environments (TEEs) provide hardware-level isolation — at what stage of the development workflow does TEE become relevant versus overkill?