To just make this absolutely clear, this means that the private keys are vulnerable to be exiltrated by malicious code scanning my disk.
If you have malicious code capable of scanning your disk it’s basically game over anyway. They can intercept your passwords and ssh connection no matter what you do.
What’s the security model here? An app that gets user account access but gives it up if it can’t find exactly ssh keys?
What’s the security model here? An app that gets user account access but gives it up if it can’t find exactly ssh keys?
My guess is that a malicious package is scanning your home directory for stuff like SSH keys, GPG keys, AWS keys, etc. It would have filesystem access permission already in the MacOS sandbox due to running inside a common interpreter like node or python, but it might be restricted from stuff like attaching to other processes memory, where it could just get the keys out of bitwarden.
Could also just be obscurity as most infostealers are programmed to grab keys from common locations and not many developers use bitwarden for keys.
If you want something resistant to a fully compromised system you need to use something hardware backed, whether an external key or an internal secure enclave.
I get it when you have multiple servers, a few of the recent attacks admins had tokens and ssh keys that had access to other things. But for a homelab with one server that has admin to everything anyway. Not much use.
If you have malicious code capable of scanning your disk it’s basically game over anyway. They can intercept your passwords and ssh connection no matter what you do.
What’s the security model here? An app that gets user account access but gives it up if it can’t find exactly ssh keys?
My guess is that a malicious package is scanning your home directory for stuff like SSH keys, GPG keys, AWS keys, etc. It would have filesystem access permission already in the MacOS sandbox due to running inside a common interpreter like node or python, but it might be restricted from stuff like attaching to other processes memory, where it could just get the keys out of bitwarden.
Could also just be obscurity as most infostealers are programmed to grab keys from common locations and not many developers use bitwarden for keys.
If you want something resistant to a fully compromised system you need to use something hardware backed, whether an external key or an internal secure enclave.
Yeah its like the stuff where if a person has acees to the machine its vulnerable.
I get it when you have multiple servers, a few of the recent attacks admins had tokens and ssh keys that had access to other things. But for a homelab with one server that has admin to everything anyway. Not much use.