I have a requirement where i have to validate whether malicious content or scripts exist in PDF file before uploading.
I am checking the file extension, headers and mime types, but not able to check the content of the file for malicious content or scripts.