A keylogger is a type of malicious software (malware) that secretly records every keystroke made on a computer or mobile device. In the crypto context, keyloggers are a significant threat because they can capture passwords, seed phrases, private keys, and exchange login credentials as users type them. Protecting against keyloggers involves using hardware wallets, two-factor authentication, and keeping devices free of malware.