Skip to content
InertPDF
A sheet passing through four amber gates

Checks before opening

A document is not drawn until it has been examined. Seven checks run one at a time, with a bar showing the one in progress, and the result appears next to the first page. Everything that interprets the file's bytes runs in the separate reading process.

  1. Structure and origin

    Format version, page count, encryption, document metadata (author, creating program, dates) and XMP metadata.

  2. Active code

    JavaScript, automatic actions, program launches (Launch), opening of other documents and attachments, multimedia content, XFA forms, form submissions and web addresses. The code is extracted and shown so you can read it, never run.

  3. Images, fonts and attachments

    Each image is checked for its structure (JPEG, JPEG 2000, JBIG2, uncompressed pixels) and for trailing data or foreign content, such as an archive or a program hidden inside. An image that fails is not drawn: a checkered box takes its place. Embedded fonts, colour profiles and the real type of attachments are checked too.

  4. YARA rules

    The file is compared with the YARA rules included in the program, which describe known patterns of hostile documents. The rules are updated from inertpdf.com at a separate time, never while you open a document, and only if the package signature is valid. If the rules are missing or old, the result says so.

  5. Hidden text

    Text the reader cannot see: invisible, white on white, tiny, covered by other objects, clipped or off the page. A search or a program that extracts text would read it; you would not.

  6. Digital signatures

    If the document is signed: who signed, when, and whether the signature is valid. Cryptographic verification happens in the separate process, offline; online, only the revocation status of certificates from issuers on the trusted lists is requested. If the document was changed after signing by an update appended at the end, the result says what changed (pages, forms, annotations, structure) and whether the signature allowed it: “valid signature, but the document was changed afterwards”.

  7. QR codes

    A QR code carries an address that does not appear among the document's links, and whoever scans it with a phone leaves the computer's protections behind. The program looks for codes in the pages, offline, and examines the addresses it reads with the same rules as links. It also flags a link placed over the code that leads somewhere else: clicking goes one way, scanning another.

  8. Then the document

    When the checks are done the first page appears, with the result of each one alongside: if something is wrong, you know before you read.

    Try it free for 5 days

The results in the program

An invoice with JavaScript on opening: InertPDF shows the code, the YARA rules hit and the hidden text
The invoice would ask for credentials and send data as soon as it is opened. InertPDF finds the code and shows it without running it, and also finds the sentence written in white for anyone reading the text with a program.
Eight counterfeit images replaced by checkerboard boxes; an attachment disguised as a photo flagged
Images that are not what they claim (an archive or a program disguised as a JPEG, false sizes) are not drawn: in their place the page shows a checkerboard box.
A valid signature on a document changed after signing: InertPDF flags it
The signature is valid, but someone changed the page content after signing. Instead of a plain “valid signature”, the result says that what you see may not be what was signed.

After opening: the full examination

Without holding back the first page, the program goes on with links (with their real destination, never openable with a click), attachments (savable, never opened), versions saved in the file, fonts, images and structure. It also looks for the tricks that show different documents to different programs: duplicate objects or objects missing from the index, encrypted parts in an unencrypted document, copied text that differs from the drawn text. If it finds masked text, it runs OCR on the affected pages, on your computer, and compares what you see with what the file declares. Everything can go into a PDF security report, the written proof of the check.

How the pages are drawn

Pages are drawn by the program itself, without running anything from the document and without connecting to the internet, starting from the copy rewritten after the checks: you only see what was examined. Embedded fonts and images are also processed by the program, instead of being handed to the system. Each page has a time limit: if drawing hangs, it is stopped.

How to read the result

Every result carries an icon and a word, not just a colour. A result with no findings means “nothing active found”, not “safe in absolute terms”. The security report never declares a document “safe”: it lists what was found, what was not run and the limits of the examination.

The same file again

The program recognises a file it has already opened by its SHA-256 fingerprint. If last time there were no findings and neither the program nor the YARA rules have changed, the earlier checks are reused; the signature is always verified again. A file with any finding is checked again every time. The register of opened files stays on your computer, can be viewed from Window → Register of opened files and can be cleared whenever you like.

Signed documents and edits

The signature covers the document's bytes as they were. Annotations, form values and document properties are saved at the end, as an incremental update: the signed bytes stay identical, the signature stays valid and the results say what was added afterwards. Other changes (pages, redaction, watermark, size reduction) rewrite the file, so the saved copy no longer carries a valid signature, and the program tells you beforehand.

Limits of the examination

  • The examination looks for what the PDF format allows to be hidden or triggered; it does not judge whether the text is true or misleading.
  • A valid signature tells you who signed and that the content has not changed, not that the document is harmless.
  • An image with the right structure is a real image, not necessarily a harmless one.
  • QR codes are searched in the first 40 pages and for 30 seconds at most; the OCR comparison covers 5 pages at most. The result says how many pages were looked at.
  • Encrypted parts of a document are not decrypted without the password: they are reported.
  • If a check fails, the result says so: “I could not look” is not “clean”.

Try it free for 5 days How isolation works How PDFs can be used in cyberattacks