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.