# Restler fuzzing

> Restler fuzzing is an open-source agent skill for developer tools. Fuzzes stateful REST APIs with Microsoft RESTler to surface multi-step bugs. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/testland/qa/tree/main/plugins/qa-api-testing/skills/restler-fuzzing
- **Repository:** https://github.com/testland/qa
- **GitHub stars:** 18
- **License:** MIT
- **Skill name:** restler-fuzzing
- **Collection:** https://github.com/testland/qa
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill walks an agent through running Microsoft RESTler against a REST API described by an OpenAPI 2.0 or 3.x spec. It covers a four-stage flow: compiling a request grammar from the spec, a smoke test that checks endpoint coverage, a quick fuzz-lean pass, and a longer time-budgeted deep fuzz.

The guidance also explains how to pass bearer tokens through a dictionary file, how to triage bugs by replaying the logged request sequence, and how to schedule runs in CI by cadence. It recommends keeping the full fuzz to nightly or weekly jobs and always targeting a staging environment rather than production.

The workflow expects Python 3.12 and .NET 8 or the provided Docker image, plus a reachable staging endpoint and an OpenAPI document. Detailed directory layouts and a full GitHub Actions workflow are kept in separate reference files.

## When your agent uses it

> Use when a stateful REST API (resources created, read, changed and deleted in sequence) needs fuzzing that finds multi-step bugs stateless fuzzers miss. Runs Microsoft RESTler from an OpenAPI spec (compile, test, fuzz-lean, fuzz) and reports 5xx errors, resource leaks and hierarchy violations.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/testland/qa/tree/HEAD/plugins/qa-api-testing/skills/restler-fuzzing)
- [License: MIT](https://github.com/testland/qa/tree/HEAD/plugins/qa-api-testing/skills/restler-fuzzing)

## Features

- **Grammar compilation:** Generates a RESTler grammar and starter dictionary from an OpenAPI specification.
- **Staged fuzzing workflow:** Moves from a coverage-checking smoke test to fuzz-lean and then deep fuzzing runs.
- **Bug replay logs:** Reports 5xx errors and checker violations with deterministic replay logs for each bug.
- **Token authentication setup:** Shows how to inject a bearer token through a dictionary header and refresh it during long runs.
- **CI cadence guidance:** Recommends which fuzzing stage to run per pull request, nightly, weekly or pre-release.

## Good for

- Fuzz a staging REST API for multi-step bugs before a release
- Compile a RESTler grammar from an OpenAPI file
- Run a nightly fuzz-lean scan in a CI pipeline
- Replay a RESTler bug log to build a regression test

## Install

### Claude Code

This skill ships in the `qa-api-testing` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add testland/qa
/plugin install qa-api-testing@testland-qa
```

Or copy only this skill to `~/.claude/skills/restler-fuzzing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/restler-fuzzing &&
cp -R "$tmp/plugins/qa-api-testing/skills/restler-fuzzing" ~/.claude/skills/restler-fuzzing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/restler-fuzzing` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/restler-fuzzing` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/restler-fuzzing &&
cp -R "$tmp/plugins/qa-api-testing/skills/restler-fuzzing" ~/.agents/skills/restler-fuzzing &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/restler-fuzzing` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/restler-fuzzing` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/restler-fuzzing &&
cp -R "$tmp/plugins/qa-api-testing/skills/restler-fuzzing" ~/.cursor/skills/restler-fuzzing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/restler-fuzzing` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/testland/qa.git --path plugins/qa-api-testing/skills/restler-fuzzing
```

Or copy the folder to `~/.gemini/skills/restler-fuzzing` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/restler-fuzzing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/restler-fuzzing &&
cp -R "$tmp/plugins/qa-api-testing/skills/restler-fuzzing" ~/.copilot/skills/restler-fuzzing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/restler-fuzzing` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/testland/qa.git
```

Then copy `qa/plugins/qa-api-testing/skills/restler-fuzzing` into your agent's skills folder as `restler-fuzzing`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Restler fuzzing need before it can run?

It expects Python 3.12.8 and .NET 8.0 for a source install, or Docker as the practical route, plus an OpenAPI 2.0 or 3.x spec in JSON or YAML.

### When should the agent use Restler fuzzing instead of a stateless fuzzer?

The skill is aimed at stateful APIs where resources are created, read, changed and deleted in sequence. For stateless endpoints it notes that Schemathesis is sufficient and lighter.

### Does Restler fuzzing support GraphQL?

No. The skill is limited to OpenAPI-described APIs and points to schemathesis-fuzzing for GraphQL.

### Should fuzzing run against production?

No. The skill says to always target staging, because generated requests mutate live data.

### How do I install Restler fuzzing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/restler-fuzzing to use it in all your projects, or to .claude/skills/restler-fuzzing in one project. Or install the qa-api-testing plugin, which includes it: /plugin marketplace add testland/qa, then /plugin install qa-api-testing@testland-qa.

### Does Restler fuzzing run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Restler fuzzing?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Restler fuzzing?

The closest alternatives to Restler fuzzing are Schemathesis fuzzing, Vibe fuzz parser inputs, Cargo fuzz, Libfuzzer and Restassured testing.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Schemathesis fuzzing](https://ai-powered.com/skills/schemathesis-fuzzing): Schemathesis fuzzing is an open-source agent skill for developer tools.
- [Vibe fuzz parser inputs](https://ai-powered.com/skills/vibe-fuzz-parser-inputs): Vibe fuzz parser inputs is an open-source agent skill for developer tools.
- [Cargo fuzz](https://ai-powered.com/skills/cargo-fuzz): Cargo fuzz is an open-source agent skill for developer tools.
- [Libfuzzer](https://ai-powered.com/skills/libfuzzer): Libfuzzer is an open-source agent skill for security.
- [Restassured testing](https://ai-powered.com/skills/restassured-testing): Restassured testing is an open-source agent skill for developer tools.
- [API design](https://ai-powered.com/skills/api-design-fmarzochi): API design is an open-source agent skill for developer tools.
- [Testing conventions](https://ai-powered.com/skills/testing-conventions): Testing conventions is an open-source agent skill for developer tools.
- [API design](https://ai-powered.com/skills/api-design-abdullayevtemurmalik): API design is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/restler-fuzzing
