# Parser differential route confusion

> Parser differential route confusion is an open-source agent skill for security. Guides authorized audits for routes that parse paths differently across gateways. 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/mtarcure/claude-vibe-squad/tree/main/.agents/skills/parser-differential-route-confusion
- **Repository:** https://github.com/mtarcure/claude-vibe-squad
- **GitHub stars:** 227
- **License:** MIT
- **Skill name:** parser-differential-route-confusion
- **Collection:** https://github.com/mtarcure/claude-vibe-squad
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill directs an agent through testing API gateways, batch processors and microservice routers for places where authorization checks and downstream execution read the same request path differently. It walks through mapping every point where a path or route is parsed more than once, including gateway versus origin, sub-request processors in batch, GraphQL or JSON-RPC handlers, and reverse-proxy rewrite rules. It then covers probing encoded slashes, dot-segments, nested batch entries, trailing data and matrix parameters to find a request that passes as unauthenticated but reaches a privileged handler.

The workflow sets a strict evidence bar. A confirmed finding must show the full unauthenticated request that reaches the privileged or injectable handler, with a benign negative control where the direct request is rejected. Chaining into downstream injection is permitted only when the real target yields controlled impact, and the skill asks that the divergence be captured as a reusable detector for variant analysis and checked against existing advisories before reporting.

It expects a scoped, authorized target and names external tools in its steps, including katana for crawling, semgrep for locating dual parsers, sqlmap, nuclei and interactsh-client for out-of-band proof. It is written for specialists working within an existing penetration testing methodology.

## When your agent uses it

> Use during an authorized API or gateway assessment when routing or authorization may parse a path differently from downstream execution: test encoded and nested path forms, prove safe-route validation reaches a privileged handler, and chain only if the real target yields controlled impact.

## What it can access

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

- [Instructions only, no scripts](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/parser-differential-route-confusion)
- [License: MIT](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/parser-differential-route-confusion)

## Features

- **Parser discrepancy mapping:** Locates every spot where a request path or route is parsed more than once across gateways and handlers.
- **Encoding and nesting probes:** Tests encoded slashes, dot-segments, nested batch entries and matrix parameters for divergent resolution.
- **Privilege gap validation:** Checks whether a route validated as safe actually reaches a privileged handler at execution time.
- **Controlled chain analysis:** Pursues downstream injection only when the confused route leads to a real, demonstrable impact.
- **Reproducible proof of concept:** Requires a full unauthenticated request with a benign negative control and out-of-band or scoped-read proof.
- **Variant detection template:** Turns the confirmed differential into a nuclei template for scanning similar batch and router surfaces.

## Good for

- Audit an API gateway for routes that authenticate differently from the origin service
- Find nested batch sub-requests that bypass authorization checks
- Test a reverse proxy rewrite rule for path normalization mismatches
- Build a nuclei template to scan other batch endpoints for the same divergence
- Verify whether a confused route exposes an injectable parameter in an authorized test

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/parser-differential-route-confusion` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/parser-differential-route-confusion &&
cp -R "$tmp/.agents/skills/parser-differential-route-confusion" ~/.claude/skills/parser-differential-route-confusion &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/parser-differential-route-confusion` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/parser-differential-route-confusion` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/parser-differential-route-confusion &&
cp -R "$tmp/.agents/skills/parser-differential-route-confusion" ~/.agents/skills/parser-differential-route-confusion &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/parser-differential-route-confusion` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/parser-differential-route-confusion` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/parser-differential-route-confusion &&
cp -R "$tmp/.agents/skills/parser-differential-route-confusion" ~/.cursor/skills/parser-differential-route-confusion &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/parser-differential-route-confusion` 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/mtarcure/claude-vibe-squad.git --path .agents/skills/parser-differential-route-confusion
```

Or copy the folder to `~/.gemini/skills/parser-differential-route-confusion` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/parser-differential-route-confusion`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/parser-differential-route-confusion &&
cp -R "$tmp/.agents/skills/parser-differential-route-confusion" ~/.copilot/skills/parser-differential-route-confusion &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/parser-differential-route-confusion` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git
```

Then copy `claude-vibe-squad/.agents/skills/parser-differential-route-confusion` into your agent's skills folder as `parser-differential-route-confusion`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It is intended for authorized, in-scope API or gateway assessments. The workflow references katana, semgrep, sqlmap, nuclei and interactsh-client, and it bundles no scripts of its own.

### Does Parser differential route confusion change anything on the target system?

No. It is a methodology for testing and reporting. Any requests it describes are sent by the operator during an authorized assessment.

### When does the skill apply?

It applies when routing or authorization may parse a path differently from downstream execution during an authorized API or gateway assessment.

### How do I install Parser differential route confusion in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/parser-differential-route-confusion to use it in all your projects, or to .claude/skills/parser-differential-route-confusion in one project.

### Does Parser differential route confusion 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 Parser differential route confusion?

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 Parser differential route confusion?

The closest alternatives to Parser differential route confusion are Systematic attacking, Attack path stitcher, API security, System and Security review.

## Where this comes from

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

## Alternatives

- [Systematic attacking](https://ai-powered.com/skills/systematic-attacking): Systematic attacking is an open-source agent skill for security.
- [Attack path stitcher](https://ai-powered.com/skills/attack-path-stitcher): Attack path stitcher is an open-source agent skill for security.
- [API security](https://ai-powered.com/skills/api-security): API security is an open-source agent skill for security.
- [System](https://ai-powered.com/skills/system): System is an open-source agent skill for security.
- [Security review](https://ai-powered.com/skills/security-review-nabwinsaud): Security review is an open-source agent skill for security.
- [Server side](https://ai-powered.com/skills/server-side): Server side is an open-source agent skill for security.
- [Agent security hardening](https://ai-powered.com/skills/agent-security-hardening): Agent security hardening is an open-source agent skill for security.
- [Systematic bug hunting](https://ai-powered.com/skills/systematic-bug-hunting): Systematic bug hunting is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/parser-differential-route-confusion
