Input validation
Magic-byte checks cover PDF, PNG, JPEG, DOCX, XLSX, and PPTX; empty, oversized, truncated, and unsupported inputs are rejected.
Protego Research
A transparent account of what Protego's rasterize-and-rebuild pipeline does, what its automated tests establish, and what the tool cannot guarantee.
Six test files passed on August 23, 2026. The suite covers validation, authentication, conversion orchestration, rasterization, rebuild cleanup, and HTTP behavior.
PDF, DOCX, XLSX, PPTX, PNG, and JPEG are identified from their file signatures rather than their names.
A reproducible script creates synthetic PDFs containing a JavaScript action and an example.com link. It never opens or executes either original file.
The sanitizer does not try to decide whether the original file is malicious. It renders visible pages to pixels and constructs a new PDF from those images. Macros, PDF JavaScript, OLE objects, form logic, embedded files, and clickable link annotations are structural objects; they are not copied into the rebuilt document.
Magic-byte checks cover PDF, PNG, JPEG, DOCX, XLSX, and PPTX; empty, oversized, truncated, and unsupported inputs are rejected.
The web application signs short-lived HMAC tokens before it calls the isolated conversion service. Tampered, expired, malformed, and wrong-secret tokens are rejected.
PDF pages are rendered to numbered PNG images. Office files are first converted to PDF; images are re-encoded with metadata stripping.
Only rendered page images are passed to the PDF rebuild step. The temporary working directory is removed after output is read.
The service enforces file-size, page-count, output-size, concurrency, and conversion-time limits.
/OpenAction JavaScript marker; the other contains a clickable /URI action to example.com.This is a narrow structural test, not a malware-detection benchmark. The public method intentionally avoids weaponized files and does not claim coverage of every parser exploit or document feature.
View the reproducible fixture scriptUse Protego for convenient flattening of routine suspicious attachments. Keep endpoint protection enabled. For a targeted, sensitive, or high-value file, prefer an offline isolated tool such as Dangerzone and involve a security analyst.