nim-fuzzing

Community

Fuzz Nim code with libFuzzer and triage crashes

Authorplanetis-m
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you reliably test Nim code against unexpected, malformed, or adversarial byte inputs by wiring your code to libFuzzer and turning failures into actionable crash artifacts.

Core Features & Use Cases

  • libFuzzer harness wiring: Builds the required Nim initialize() and testOneInput() procs so fuzz inputs reach your parsing or protocol/format handler.
  • Correct mutation integration: Supports raw byte-to-typed extraction patterns and optional structure-aware customMutator / customCrossOver to improve discovery for structured formats.
  • End-to-end crash triage: Reproduces crashes in standalone mode, minimizes failing inputs, isolates with ASan/UBSan, and guides how to classify findings.

Use case: When adding a parser for a custom binary protocol, use this Skill to catch out-of-bounds reads, integer overflows, and assertion failures by fuzzing the handler with a seed corpus and iterating on harness and mutators.

Quick Start

Use the nim-fuzzing skill to create a libFuzzer-enabled Nim harness that exposes the required initialize and testOneInput exports for your untrusted input entry point.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nim-fuzzing
Download link: https://github.com/planetis-m/skills_experiment/archive/main.zip#nim-fuzzing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.