Redacted Report Template: Disclosure Control and Release Audit

A public exemplar for sanitized release workflows

Daniel Ari Friedman

1 Abstract

This exemplar demonstrates a complete disclosure-control pipeline for sanitized public release reports. The methodology combines classification-ceiling enforcement, source-protection validation, mosaic-risk scoring, and optional TPM-backed sealed sidecars across a sixteen-variant visual proof matrix. Four redaction styles—blackout, whiteout, grayout, and blur—are rendered across four PDF backgrounds—white, gray, black, and blur—yielding sixteen base proof PDFs. With the optional provenance post-processor, each receives nine methods including SHA-256/SHA-512 hash manifests, diagonal watermark overlays, footer provenance stamps, invisible text, QR and Code128 barcodes, PDF Info and XMP metadata, and embedded manifest attachments. Optional Kmyth TPM sealing wraps each hash manifest and steganography PDF in a .ski sidecar sealed against the TPM2-TSS storage hierarchy, bound to PCR selections and policy or-values. The release gate requires three reviewer roles—originator, classification reviewer, and release authority—each providing a non-empty rationale. A source-safe redaction ledger records SHA-256 hashes of each redacted span without exposing source text, and a segment hash manifest compares source and public SHA-256 digests for reproducible audit. The comprehensive release packet is built in memory; canonical public JSON separates a text-free audit from the hashed ledger so neither artifact exposes narrative or source spans. This exemplar confirms that visual presentation choices remain orthogonal to the release gate: the same source-safe decisions drive every output variant.


2 Introduction

The Information Security Oversight Office publishes background on U.S. classification and controlled unclassified information (Information Security Oversight Office 2024). Disclosure control—the process of sanitizing classified or sensitive information before public release—requires multiple layers of validation to ensure that no source identities, operational details, time-place selectors, or controlled dissemination markers leak into the public record. This exemplar implements a reproducible pipeline that combines text-level disclosure control with visual redaction proofing, steganographic provenance embedding, and hardware-backed TPM sealing.

The pipeline operates on invented fixture data: synthetic segments with classification levels ranging from UNCLASSIFIED through TOP_SECRET//SCI, synthetic redaction decisions with bounded reasons, and synthetic reviewer records. No real source material is used. The exemplar demonstrates the full release-review workflow: classification-ceiling enforcement, redaction-span validation, source-control coverage, mosaic-risk scoring, residual-marker detection, review-gate evaluation, source-safe ledger generation, and TPM-sealed sidecar production.

2.1 Scope and Safety Boundaries

This exemplar is limited to lawful redaction, declassification support, public-records release review, taxonomy normalization, source-safe ledgers, reviewer approval gates, sanitized packet export, and source-protection auditing. It does not provide targeting, collection, evasion, or surveillance operational guidance. All committed examples are invented fixtures.

2.2 Contributions

  1. A classification taxonomy with SCI alias support and configurable public ceilings.
  2. A release-audit engine that validates redaction spans, checks orphan decisions, enforces source-control coverage, and scores mosaic risk.
  3. A source-safe redaction ledger that records SHA-256 hashes of redacted spans without exposing source text.
  4. A visual proof matrix that enumerates four redaction styles across four PDF backgrounds, producing sixteen variant PDFs with identical source-safe decisions.
  5. A steganography layer that post-processes each base PDF with nine security methods, producing provenance-enhanced companion PDFs with hash manifests.
  6. Optional Kmyth TPM sealing that wraps each hash manifest and steganography PDF in .ski sidecars sealed against the TPM2-TSS storage hierarchy (tpm2-software 2024).
  7. A comprehensive in-memory release packet plus deterministic public projections: a text-free audit and a hashed source-safe ledger.

3 Architecture

The pipeline architecture consists of three layers, with sealing optional. Layer one performs text-level disclosure control: each segment is audited against a public classification ceiling, redaction spans are validated for non-overlap, orphan decisions are flagged, and source-control coverage is enforced. Layer two applies visual redaction treatments and provenance overlays. Layer three optionally seals development artifacts.

Two-layer flow diagram. Layer one runs disclosure control: typed fixture load, classification ceiling and span validation, orphan and coverage checks, then an in-memory sanitized packet. Layer two projects a text-free audit and hashed release ledger, then renders the 4x4 visual proof matrix with steganography and optional Kmyth TPM sidecar sealing.
Release-review pipeline: the disclosure-control layer audits the invented fixture against the public ceiling and builds an in-memory sanitized packet, the evidence layer projects text-free audit and hashed-ledger JSON, and the visual layer renders the 4x4 proof matrix with optional steganography and Kmyth TPM sidecars.

The pipeline diagram traces the full pipeline: typed fixture load, ceiling and span validation, source-control coverage and mosaic checks, the in-memory sanitized packet, the two text-free public projections, and the visual proof chain.

3.1 Layer One: Disclosure Control

The disclosure-control engine operates on RedactionSegment objects, each carrying an identifier, classification level, text content, and optional source controls. Redaction decisions are RedactionDecision records with bounded reasons: source_identity, operational_detail, time_place_selector, legal_privilege, and privacy. The audit engine validates that:

3.2 Layer Two: Visual Proof and Steganography

Visual proofing is parameterized separately from the release-audit text path. Four redaction styles—blackout (solid black fill), whiteout (white fill with gray text), grayout (mid-gray fill), and blur (offset-rendered token)—are rendered across four PDF backgrounds—white, gray, black, and blur (subdued text with blur effect). The 4×4 matrix yields sixteen variant PDFs, each receiving the same source-safe redaction decisions.

The steganography layer post-processes each base PDF with nine security methods:

Method Purpose
SHA-256/SHA-512 hash manifest Cryptographic integrity verification
Diagonal watermark overlay Visible provenance stamp
Footer provenance overlay Page-level release metadata
First-page invisible text Hidden identification marker
QR payload barcode Machine-readable provenance
Code128 page barcode Per-page tracking barcode
PDF Info metadata Document-level metadata injection
XMP metadata Standards-compliant metadata embedding
Embedded stego manifest attachment Self-contained provenance archive

3.3 Layer Three: Kmyth TPM Sealing

Kmyth (National Security Agency 2024) wraps each hash manifest and steganography PDF in a .ski sidecar sealed against the TPM2-TSS storage hierarchy (tpm2-software 2024). The sealed objects are bound to PCR selections and policy or-values, ensuring that unsealing requires the same platform configuration.

On macOS, which lacks a hardware TPM, the swtpm software TPM emulator (Berger 2024) and an mssim-to-swtpm protocol proxy bridge the TPM2-TSS mssim TCTI to swtpm’s native socket protocol. The proxy:

The kmyth-seal binary was patched to call Tss2_Sys_FlushContext for the storage key handle before freeing TPM2 resources. Without this patch, consecutive kmyth-seal invocations exhaust the swtpm transient object slots (typically three), causing “out of memory for object contexts” errors on the second seal.


4 Results

4.1 Fixture Release Packet

The fixture release packet contains fourteen segments spanning four classification levels: UNCLASSIFIED (ten segments), CUI (one segment), SECRET (two segments), and TOP_SECRET (one segment). Four segments carry source controls (drawn from the HUMINT, SIGINT, and IMINT disciplines). Twenty-two redaction decisions are applied across those four segments, using all five bounded reasons: source_identity, operational_detail, time_place_selector, legal_privilege, and privacy.

The audit produces:

The canonical run’s measured values are bound to output/reports/redaction_audit.json by the manuscript-binding tests:

Metric Measured value
Segment count 14
Redaction decision count 22
Reviewer record count 3
Release safety score 0.798
Redaction coverage 1.0
Mosaic risk score 0.012
Findings 2 warning-level
Releasable true
Final release recommended false
Approvals 3

Because the intelligence policy blocks on warnings and the fixture retains two warning-level residual markers, final_release_recommended is false even though the packet is releasable and the review gate is approved.

4.2 Source-Safe Redaction Ledger

The redaction ledger records each decision with:

The ledger never exposes source text. It provides reproducible audit evidence without disclosure risk.

The normal analysis stage writes this evidence to output/data/release_ledger.json. Its companion output/reports/redaction_audit.json contains policy outcomes, review-gate status, findings, scores, counts, and paragraph metadata. Both canonical files omit narrative text, review rationales, and reviewer identities; the comprehensive sanitized packet is evaluated in memory rather than serialized to the public output tree.

4.3 Segment Hash Manifest

The hash manifest records, for each segment:

This allows downstream verification that the public release matches the audited version without comparing source text directly.

4.4 Review Gate

The release gate requires three reviewer roles: originator, classification reviewer, and release authority. Each reviewer provides a non-empty rationale. The fixture reviews all approve, yielding:

The final_release_recommended flag is true only when the packet is releasable, the review gate is approved, and no blocking warnings remain.

4.5 Visual Proof Matrix

The development proof matrix produces sixteen base PDFs (four redaction styles × four backgrounds) and, when steganography is enabled, sixteen companion steganography PDFs with hash manifests. Each variant records:

A four-by-four grid of redaction style tokens (blackout, whiteout, grayout, blur) on PDF backgrounds (white, gray, black, blur), with the note that all sixteen variants apply identical source-safe redaction decisions.
Development proof matrix: four redaction styles (blackout, whiteout, grayout, blur) rendered across four PDF backgrounds (white, gray, black, blur); every one of the sixteen cells applies the identical source-safe redaction decisions.

The matrix figure shows the sixteen style-background combinations; only the visual token and the page background differ between cells.

4.6 Kmyth TPM Sidecar Production

When Kmyth tools are runnable and a TPM backend is available, each variant produces two .ski sidecars:

  1. {variant_id}.hashes.json.ski — the hash manifest sealed against the TPM storage hierarchy.
  2. {variant_id}_steganography.pdf.ski — the steganography PDF sealed against the TPM storage hierarchy.

The .ski files are ASCII-armored and contain PCR selections, policy or-values, the storage key public area, and the sealed data object. Unsealing requires the same TPM and platform configuration.

A complete Kmyth-enabled run produces thirty-two .ski files. The verifier can require both sidecars for every variant. The tracked public proof matrix does not ship sidecars.

4.7 Residual Risk Detection

The residual-risk detector scans sanitized text for common public-release leaks:

Pattern Regex
Email address \b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b
IPv4 address \b(?:\d{1,3}\.){3}\d{1,3}\b
Coordinate pair \b-?\d{1,2}\.\d{3,},\s*-?\d{1,3}\.\d{3,}\b
Controlled dissemination \b(?:NOFORN\|ORCON\|REL\s+TO)\b
Collection discipline \b(?:HUMINT\|SIGINT\|IMINT\|MASINT\|OSINT)\b
Compartment marker \b(?:SCI\|TS_SCI\|TOP\s+SECRET)\b
ISO calendar date \b20\d{2}-\d{2}-\d{2}\b
Sensitive markers HUMINT, SIGINT, source, selector, location

Each detected marker generates a warning finding. The mosaic risk score aggregates residual markers across all segments.

5 Discussion

The exemplar demonstrates that disclosure control can be decomposed into orthogonal concerns: text-level audit, visual presentation, steganographic provenance, and hardware-backed sealing. Each concern is independently configurable and verifiable.

The visual proof matrix confirms that blackout, whiteout, grayout, and blur treatments produce equivalent source-safe outputs—only the visual token differs. The steganography layer adds provenance without altering the redaction decisions. Kmyth TPM sealing adds a hardware binding that ensures sealed sidecars can only be unsealed on the same platform configuration.

The mssim-to-swtpm protocol proxy is a necessary bridge on macOS, where no hardware TPM exists. The proxy handles three protocol mismatches: (1) platform commands use different command numbers, (2) the data channel wraps TPM commands in a 9-byte mssim header, and (3) swtpm’s transient object slots are limited and must be flushed between seal invocations.

The FlushContext patch to kmyth-seal is a critical fix for batch sealing workflows. Without it, the second kmyth-seal invocation fails with “out of memory for object contexts” because the storage key from the first invocation remains loaded in the TPM’s transient object table.

5.1 Limitations

Berger, Stefan. 2024. Swtpm: Software TPM Emulator. Https://github.com/stefanberger/swtpm.
Information Security Oversight Office. 2024. Information Security Oversight Office: Classification and Controlled Unclassified Information. Https://www.archives.gov/isoo.
National Security Agency. 2024. Kmyth: TPM-Based Key Management and Sealing. Https://github.com/NationalSecurityAgency/kmyth.
tpm2-software. 2024. TPM2-TSS: Trusted Platform Module 2.0 Software Stack. Https://github.com/tpm2-software/tpm2-tss.