---
title: "10. Security Considerations"
description: "Section 10 of draft-laget-pdf-pqs-00."
---

> Documentation Index
> Fetch the complete documentation index at: https://pdf-pqs.org/llms.txt
> Use this file to discover all available pages before exploring further.

# 10. Security Considerations

## 10.1. Stripping {#stripping}

Both an unsigned CMS attribute (Place A) and an embedded file attachment (Place B) can be
removed from a PDF without invalidating classical signatures. A quantum adversary can
also forge a fresh classical signature on altered content. The `pqcRequiredFrom`
policy check in step 11 mitigates stripping and classical forgery for domains that
publish a policy. Signing domains SHOULD publish `pqcRequiredFrom` as soon as all newly
signed documents carry PDF-PQS signatures.

Step 11 relies exclusively on ML-DSA timestamps to determine whether a classical
signature predates `pqcRequiredFrom`, because a quantum adversary can forge a classically
signed timestamp carrying an earlier date.

An adversary could also forge a classical signature purporting to originate from a victim
domain and attach a valid PDF-PQS signature issued under an attacker-controlled domain.
Because step 11 requires the covering PDF-PQS signature to belong to the classical
signer's own domain, a cross-domain PDF-PQS signature fails to satisfy the policy.


## 10.2. Old Documents {#old-documents}

Once a domain publishes `pqcRequiredFrom`, step 11 rejects any classical signature from
that domain that lacks both a covering PDF-PQS signature and a valid ML-DSA timestamp
predating `pqcRequiredFrom`, including legacy signatures created before PDF-PQS was
deployed. Failing closed is necessary because an adversary can strip an existing
timestamp or forge an untimestamped signature. Before publishing `pqcRequiredFrom`,
domain operators SHOULD ensure that archival classical signatures requiring ongoing
validity are protected by ML-DSA timestamps. Applying an ML-DSA document timestamp prior
to the advent of practical quantum attacks preserves the verifiability of legacy
documents.


## 10.3. Availability of the Policy Document {#availability-of-the-policy-document}

An active network adversary may block access to `pdfpqs.<D>` in an effort to bypass
step 11. Verifiers therefore fail closed and report `E_POLICY_UNAVAILABLE` whenever a
policy document is required and unreachable with no cached copy ([Section 7.2](https://pdf-pqs.org/specification/discovery#availability)). An
adversary capable of spoofing DNS NXDOMAIN responses for `pdfpqs.<D>` can cause a
verifier to classify the policy as Not published; deploying DNSSEC and retaining cached
policy documents mitigates this threat.


## 10.4. Transport of the Policy Document {#transport-of-the-policy-document}

Policy documents are fetched over HTTPS, which in current deployments typically relies on
classical TLS authentication. A quantum adversary capable of breaking classical TLS can
impersonate `pdfpqs.<D>` and serve a fabricated policy document. Such an attack cannot
produce a "Valid, trusted" outcome, as that state requires chaining to a locally
configured trust anchor; its impact is bounded to suppressing `pqcRequiredFrom` or
injecting an unauthorized issuer for a "Valid, domain only" outcome. Verifiers SHOULD
cache previously observed policy documents and warn users if `pqcRequiredFrom` is removed
or moved to a later timestamp.


## 10.5. Changes After the Covered Bytes {#changes-after-the-covered-bytes}

A PDF-PQS signature protects only the byte prefix `[0, L)`. Subsequent incremental updates
can alter the visual rendering of the document while leaving `[0, L)` intact [[SHADOW]](https://pdf-pqs.org/specification/references#shadow).
Verifiers MUST detect and report modifications after offset L in step 12.

In Place B, the incremental update that adds the attachment is itself outside `[0, L)`.
Without object-level inspection, an adversary could preserve `[0, L)` and the attachment
while injecting modified page content into the same revision. Step 12 mitigates this by
flagging any object added or modified in that revision outside the strict Place B
allowlist ([Section 5](https://pdf-pqs.org/specification/covered)).

In Place A, the revision introducing the host signature is protected only by the
classical host signature. A quantum adversary could forge the host signature and alter
unrelated objects within that revision. Step 12 therefore applies an equivalent object
allowlist to the host signature revision ([Section 5](https://pdf-pqs.org/specification/covered)).


## 10.6. Algorithms {#algorithms}

PDF-PQS mandates pure ML-DSA (ML-DSA-65 or ML-DSA-87) and prohibits pre-hash ML-DSA
(HashML-DSA) as well as ML-DSA-44. Future revisions of this specification can introduce
an additional post-quantum signature family, such as SLH-DSA, to provide algorithmic
agility.


## 10.7. Key Protection {#key-protection}

The PDF-PQS wire format does not itself attest to how a signer's private key is stored or
protected (for instance, in a hardware security module). Such assurances may be expressed
via X.509 certificate policies, which verifiers SHOULD present only when the verification
result is "Valid, trusted".

Source: https://pdf-pqs.org/specification/security-considerations/index.mdx
