I have seen numerous examples of using sudo password with paramiko. For example: How to run sudo with paramiko? (Python)
Since the password is written to stdin, is it possible to read the password in clear text on the target server using some native Linux tools, some special audit software or similar? Is it recorded in some log file etc...