The real question you should ask yourself is why to allow a keylogger ?
They are considered to be malware!