Skip to content

fuzz: add archive_fuzz target #1101

@chaliy

Description

@chaliy

Summary

Add a fuzz target for the archive builtin (builtins/archive.rs). It handles tar/gzip decompression with zip bomb mitigation — binary format parsers are classic fuzz targets.

Scope

  • Fuzz arbitrary binary data as gzip/tar input
  • Test decompression ratio checks, malformed headers, truncated archives
  • Use libfuzzer's Arbitrary trait for structured binary data

Priority

Medium — binary format decompression with zip bomb edge cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions