Developer Security Guides

Practical, CLI-first solutions for credential safety on macOS.

How to delete a secret from fish shell history on Mac

Find the leaked token in ~/.local/share/fish/fish_history without typing it again, remove it with history delete, check fish_variables for set -U values, and keep the next one out with a leading space or private mode.

AWS access key leaked: what to do in the first 10 minutes

Deactivate before you delete, confirm the account with sts get-access-key-info, search CloudTrail event history per Region, undo what the key created, rotate, and understand the AWSCompromisedKeyQuarantineV3 policy AWS attaches when GitHub reports the key.