Re:Shai-Hulud compromised a dev machine and raided GitHub or...
by zozos on Sunday December 14, 2025 @12:57PM
(#46265158)
I already use 1password and have it already installed. Will try this out. Thanks!
Re:Shai-Hulud compromised a dev machine and raided GitHub or...
by throw14082020 on Sunday December 14, 2025 @07:21PM
(#46268749)
Okay great advice, thanks. I'm already using Bitwarden and found out they have an SSH Agent feature too [1]. I've tried lastpass, Bitwarden, 1password and I prefer Bitwarden (good UX, very affordable)
Re:Shai-Hulud compromised a dev machine and raided GitHub or...
by madeofpalk on Sunday December 14, 2025 @08:09PM
(#46269110)
Make sure the gh cli isn’t storing oauth credentials in plaintext as it can silently do.
With this setup there are two different SSH keys, one for access to GitHub, one is a commit signing key, but you don't use either to push/pull to GitHub, you use OAuth (over HTTPS). This combination provides the most security (without hardware tokens) and 1Password and the OAuth apps make it seamless.
Do not use a user with admin credentials for day to day tasks, make that a separate user in 1Password. This way if your regular account gets compromised the attacker will not have admin credentials.
[1] https://developer.1password.com/docs/ssh/agent/ [2] https://developer.1password.com/docs/ssh/git-commit-signing/ [3] https://github.com/hickford/git-credential-oauth [4] https://cli.github.com/manual/gh_auth_login