# Infrastructure Steganography

> Skill for the steganography infrastructure module providing QR code generation with dynamic mailto links, hash manifests, metadata payloads, and document-wide overlay processing. Use this module to insert opt-in cryptographic and steganographic provenance data onto PDFs.

- **Type:** Skill
- **Install:** `agentstack add skill-docxology-template-steganography`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [docxology](https://agentstack.voostack.com/s/docxology)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [docxology](https://github.com/docxology)
- **Source:** https://github.com/docxology/template/tree/main/infrastructure/steganography
- **Website:** https://doi.org/10.5281/zenodo.19139090

## Install

```sh
agentstack add skill-docxology-template-steganography
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Steganography Infrastructure Module

The `steganography` module applies cryptographic hash manifests, text overlays, and interactive metadata objects (like `mailto` QR barcodes) directly to PDF post-rendering.

## Core Processor (`core.py`)

The primary orchestrator of steganography operations. It handles config extraction, hashing, alpha-text watermarking, and barcodes.

```python
from infrastructure.steganography import SteganographyConfig, SteganographyProcessor
from pathlib import Path

processor = SteganographyProcessor(SteganographyConfig(enabled=True, overlay_mode="text"))
final_pdf = processor.process(
    Path("output.pdf"),
    author_emails=["test@example.com"],
)
```

## Barcodes (`barcodes.py`)

Responsible for generating dense Error-Correction Q-Level QR codes and Code128 barcode strips.

```python
from infrastructure.steganography.barcodes import create_barcode_strip_overlay
overlay_pdf_bytes = create_barcode_strip_overlay(
    page_width=612, page_height=792,
    code128_data="paper-id-001",
)
```

## Setup & Hashing (`hashing.py`)

Provides deterministic SHA-256 and SHA-512 manifest exports alongside standard PDF payloads.

```python
from infrastructure.steganography.hashing import compute_file_hashes, write_hash_manifest
hashes = compute_file_hashes(Path("file.pdf"))
write_hash_manifest(Path("file.pdf"), hashes)
```

## Overlays (`overlays.py`)

For applying visual steganographic traits like diagonally rendered strings across every page.

```python
from infrastructure.steganography.overlays import create_watermark_overlay
overlay_bytes = create_watermark_overlay(page_width=612, page_height=792, text="CONFIDENTIAL", opacity=0.08)
```

## Documentation Signposting
>
> **Master Documentation**: For comprehensive details regarding the framework structure, refer directly to the central docs hub:
>
> - 📚 **Core**: [docs/README.md](../../docs/README.md), [docs/AGENTS.md](../../docs/AGENTS.md), [docs/documentation-index.md](../../docs/documentation-index.md)
> - 🏛️ **Architecture**: [docs/architecture/](../../docs/architecture/), [docs/core/](../../docs/core/), [docs/modules/](../../docs/modules/)
> - 🔒 **Security & Provenance**: [docs/security/](../../docs/security/), [docs/best-practices/](../../docs/best-practices/)
> - 🛠️ **Usage & Ops**: [docs/usage/](../../docs/usage/), [docs/operational/](../../docs/operational/), [docs/development/](../../docs/development/), [docs/guides/](../../docs/guides/), [docs/prompts/](../../docs/prompts/), [docs/reference/](../../docs/reference/)

## Documentation Hub
For detailed documentation on the entire system, refer to the central documentation hub:
- **Core**: [docs/README.md](../../docs/README.md), [docs/AGENTS.md](../../docs/AGENTS.md), [docs/documentation-index.md](../../docs/documentation-index.md)
- **Architecture**: [docs/architecture/](../../docs/architecture/), [docs/core/](../../docs/core/), [docs/modules/](../../docs/modules/)
- **Security & Provenance**: [docs/security/](../../docs/security/), [docs/best-practices/](../../docs/best-practices/)
- **Usage & Ops**: [docs/usage/](../../docs/usage/), [docs/operational/](../../docs/operational/), [docs/development/](../../docs/development/), [docs/guides/](../../docs/guides/), [docs/prompts/](../../docs/prompts/), [docs/reference/](../../docs/reference/)

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [docxology](https://github.com/docxology)
- **Source:** [docxology/template](https://github.com/docxology/template)
- **License:** Apache-2.0
- **Homepage:** https://doi.org/10.5281/zenodo.19139090

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** yes
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-docxology-template-steganography
- Seller: https://agentstack.voostack.com/s/docxology
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
