Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

hunt-fastapi

Skill by uphiago

hunt-fastapi gives an AI assistant a phased procedure for finding FastAPI-specific security weaknesses. It covers OpenAPI mining, dependency injection gaps, Pydantic coercion, middleware and WebSocket checks. It is aimed at security testers.

  • Score 77
  • 1.4k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install hunt-fastapi

Built from the published package, never by AI.

git clone --depth 1 https://github.com/uphiago/recon-skills /tmp/recon-skills && mkdir -p ~/.claude/skills && cp -r /tmp/recon-skills/redteam/hunt-fastapi ~/.claude/skills/hunt-fastapi

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install hunt-fastapi in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

hunt-fastapi is an agent skill that gives an AI assistant a structured procedure for finding FastAPI-specific security weaknesses. It covers OpenAPI schema mining for hidden endpoints, dependency injection authorization gaps, Pydantic model coercion and extra field handling, ASGI middleware and proxy trust issues, WebSocket auth parity, and GraphQL mounts. Each phase lists curl, ffuf, and wscat commands to run against a target.

The skill is written for security testers working on FastAPI applications. It helps identify FastAPI through /docs, /redoc, /openapi.json, or a uvicorn server header. It refers to related skills for SQL injection, API misconfiguration, IDOR, and web enumeration. It is published under the MIT license and lists Linux as its platform.

Written from the project's SKILL.md and checked against it.

What it can do

  • OpenAPI schema miningLists API paths and finds endpoints that declare no security requirement.
  • Dependency injection checksTests endpoints with no auth or an invalid bearer token across HTTP methods.
  • Pydantic exploitationTests string-to-boolean coercion, extra fields, and form content-type switching.
  • ASGI and proxy trust checksTests spoofed forwarded IP headers, Host header bypass, and CORS preflight.
  • WebSocket auth parityConnects to WebSocket endpoints without a token or with a user token.
  • GraphQL mount checksQueries the GraphQL schema and tests whether mutations work without auth.

What you need

  • curl
  • python3
  • Linux

Try asking

  • Use hunt-fastapi to list endpoints in a target's openapi.json with no security.
  • Use hunt-fastapi to test a FastAPI app's Depends auth with no or invalid tokens.
  • Use hunt-fastapi to check whether a register endpoint accepts string booleans.

Good to know

  • The OpenAPI schema may be restricted. If it returns 403, the skill suggests /docs or /redoc.
  • IP spoofing through proxy headers only works if uvicorn proxy headers are enabled.
  • Pydantic v2 with extra='ignore' silently drops unknown fields, so both versions should be tested.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: redteam/hunt-fastapi/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to hunt-fastapi

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

hunt-fastapi: common questions

What does hunt-fastapi check for?

It checks dependency injection authorization gaps, Pydantic coercion, OpenAPI mining for hidden endpoints, ASGI middleware bypasses, and WebSocket and GraphQL auth.

How does the skill tell that a target runs FastAPI?

It looks for /docs, /redoc, /openapi.json, or a server header showing uvicorn.

Which tools does hunt-fastapi require?

The skill's compatibility line says it requires curl and python3, and it runs on Linux.

How do I install hunt-fastapi?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is hunt-fastapi free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is hunt-fastapi safe to use?

It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to hunt-fastapi?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

hunt-fastapi Install

Add to stack

Loading.