Skip to content
Back to skills

Protocol Format Reconstruction

ASecurity

Infer and validate an undocumented protocol or file format from authorized samples, captures, and implementation evidence.

  • 51 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 11, 2026
ai-agentsgosecuritydocumentation

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add Dadmin88/hermes-profile-packs --skill protocol-format-reconstruction --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Protocol Format Reconstruction?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Protocol Format Reconstruction
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dadmin88-protocol-format-reconstruction/badge)](https://www.skillsdirectory.com/skills/dadmin88-protocol-format-reconstruction)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: protocol-format-reconstruction
description: Infer and validate an undocumented protocol or file format from authorized samples, captures, and implementation evidence.
---
# Protocol and Format Reconstruction

Use when interoperability, migration, analysis, or documentation requires an evidence-backed specification for an undocumented message protocol or data format.

## Procedure

1. Define the authorized interoperability question, protocol or format boundary, versions, producers, consumers, and representative operations or sample classes.
2. Preserve original captures and samples with identifiers and hashes. Record how each was produced, including input, software version, environment, ordering, and transport framing when known.
3. Normalize presentation without destroying evidence. Separate transport framing, record boundaries, headers, payloads, checksums, compression, encryption, and encoding layers.
4. Compare controlled sample pairs that vary one semantic field at a time. Infer candidate field offsets, lengths, types, byte order, optionality, enumeration values, dependencies, and state transitions.
5. Cross-check candidates against implementation evidence such as parsers, serializers, constants, error paths, traces, or known standards. Label direct observation, inference, and speculation distinctly.
6. Test the model with withheld samples. Where authorized and safe, build a minimal parser, serializer, or replay harness that rejects malformed data and does not contact production systems by default.
7. Document framing, grammar or schema, field semantics, state machine, error behavior, version negotiation, integrity checks, examples, and unresolved fields.
8. Hand implementation of a production adapter to `agency-integration-engineer`; hand security-impact review to `agency-security-reviewer` rather than expanding reconstruction into either role.

## Quality gate

The recovered specification must explain representative and withheld evidence, preserve version and uncertainty notes, and include reproducible examples or a bounded validation harness. A field name inferred from one sample or a successful replay without semantic validation is not sufficient proof.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.