The good news is that your LastPass decryption key never leaves your machine, and the data stored on the LastPass servers would be worthless even if it were stolen via a hack.
However, your concerns about keyloggers and the like are valid. Still, I think LastPass is more secure than any other...