Key Info

A developer has moved away from storing authentication tokens in plain-text files on laptops, instead building workflows around the Mac Secure Enclave so keys are locked to the machine and every retrieval requires Touch ID or Face ID.

Highlights

  • Plain-text token files remain common among CLIs and authenticated services, even with auto-rotating tokens.
  • The risk is heightened by locally running AI agents and new CVEs appearing weekly.
  • Keys are bound to the specific Mac and cannot be silently read by rogue processes.
  • The developer expects biometric-gated secrets to become mainstream, comparing it to Face ID in banking apps.