{
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-10-23",
  "slug": "skippable-frame",
  "term": "Skippable frame",
  "aliases": [
    "Zstandard skippable frame",
    "LZ4 skippable frame",
    "Skippable frame (Zstandard)"
  ],
  "definition": "A skippable frame is a compatible LZ4/Zstandard envelope for length-delimited user data that ordinary decompression skips.",
  "note": "A four-byte magic (0x184D2A50-0x184D2A5F) and four-byte little-endian length precede up to 2^32 - 1 user-data bytes. Length excludes the header. Ordinary LZ4 and Zstandard data frames are not interchangeable. [rfc8878] [lz4-spec]\n\nApplication-specific readers may interpret this metadata even though the codec does not return it as decoded payload. [rfc8878]\n\nIn Hesela's synthetic CLI experiment, changing a skippable generation label preserved the decoded bytes and their SHA-256. The whole stored-stream hash changed. This demonstrates a verification-scope gap, not a hash collision or a codec defect. [hesela-zstd]\n\nIn liblz4 1.9.4, LZ4F_headerSize reports eight bytes, while fresh-context LZ4F_getFrameInfo consumes only the four-byte magic and reports frameType as skippable. Resume from its returned consumed-byte count so the decoder still reads the length. The immediately returned contentSize is not the metadata length. [lz4-api] [hesela-lz4]\n\nSkipping does not authenticate metadata or bind it to recovered data; applications need trusted expectations. [rfc8878] [lz4-spec]\n\nThe seekable extension stores its index in a final skippable frame. Earlier skippable or empty frames still occupy stored bytes and index entries even when their decoded size is zero. [seekable-format]\n\nIn Hesela's native v1.5.7 reference-reader controls, changing a zero-output entry checksum survived a whole-output read and an explicit zero-length frame call. An independent physical/index comparison detected it. Ordinary sequential decompression also skipped a changed seek-table checksum. Successful payload recovery is not evidence that every indexed object was validated. [seekable-evidence]",
  "related": [
    "zstandard",
    "checksum",
    "backup-manifest",
    "cryptographic-hash",
    "lz4-frame"
  ],
  "citations": [
    {
      "id": "rfc8878",
      "title": "RFC 8878, section 3.1.2: Skippable Frames",
      "url": "https://www.rfc-editor.org/rfc/rfc8878.html#section-3.1.2",
      "accessed": "2026-10-17"
    },
    {
      "id": "hesela-zstd",
      "title": "Hesela: Compressed archives, dictionary dependencies and validation coverage",
      "url": "https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#metadata",
      "accessed": "2026-10-17"
    },
    {
      "id": "seekable-format",
      "title": "Zstandard seekable format 0.1.0, pinned to v1.5.7",
      "url": "https://raw.githubusercontent.com/facebook/zstd/v1.5.7/contrib/seekable_format/zstd_seekable_compression_format.md",
      "accessed": "2026-10-23"
    },
    {
      "id": "seekable-evidence",
      "title": "Hesela: native seekable-decoder observations, source fingerprints and reproduction",
      "url": "https://hesela.dev/research/zstd-seek-table/PUBLICATION.md",
      "accessed": "2026-10-23"
    },
    {
      "id": "lz4-spec",
      "title": "LZ4 Frame Format 1.6.4, pinned v1.10.0: Skippable Frames",
      "url": "https://github.com/lz4/lz4/blob/v1.10.0/doc/lz4_Frame_format.md#skippable-frames",
      "accessed": "2026-10-22"
    },
    {
      "id": "lz4-api",
      "title": "LZ4 v1.9.4 implementation: headerSize, getFrameInfo and skippable header handling",
      "url": "https://github.com/lz4/lz4/blob/v1.9.4/lib/lz4frame.c",
      "accessed": "2026-10-22"
    },
    {
      "id": "hesela-lz4",
      "title": "Hesela: LZ4 header sizing, validation and consumed-input controls",
      "url": "https://hesela.com/analyses/lz4-frame-checks-block-order/#header-cursor",
      "accessed": "2026-10-22"
    }
  ],
  "provenance": [
    "Format definition from RFC 8878. The original CLI metadata observation did not test seek tables; the separate native seekable study now tests selected in-memory reader boundaries. Neither establishes application-specific metadata authentication. [seekable-evidence]",
    "Existing slug and Zstandard alias retained; expanded to LZ4 using the explicit compatibility statement in RFC 8878. Header/cursor observations execute liblz4 1.9.4 only; no maximum-size allocation, metadata authentication or second-version execution was tested."
  ]
}
