>>2471 https://www.aldeid.com/wiki/Origami/pdfcop pdfclean.sh uses pdfcop which according to its description:
The PDF filtering engine. Scans PDF documents for malicious structures. >>2473 That or allow .djvu which is a good format supposedly safer than pdf.