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

api-recon

Skill by BaaRai

Api-recon is an agent skill that maps a website's backend API endpoints, frontend routes and UI trigger points during an authorized engagement. It is meant for security reconnaissance, not vulnerability testing.

  • Score 92
  • 32k stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install api-recon

Built from the published package, never by AI.

git clone --depth 1 https://github.com/BaaRai/ARTEX /tmp/ARTEX && mkdir -p ~/.claude/skills && cp -r /tmp/ARTEX/skills/api-recon ~/.claude/skills/api-recon

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

Step-by-step: install api-recon in Claude Code

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

About

API Recon is a SKILL.md guide for collecting a website's API surface. It runs in phases. A static harvest script downloads a single-page app's JavaScript bundles and lazy chunks, then lists endpoint paths and routes. A runtime script (Puppeteer) or a browser with a preload hook then records outbound requests, methods, bodies and responses while the app renders pages.

The skill is written for authorized engagements and for security teams doing reconnaissance. It stubs client-side login gates with mocks and does not use real credentials. It limits itself to enumerating paths, methods, parameters and UI trigger points. It explicitly excludes injection, privilege escalation, fuzzing and destructive actions.

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

What it can do

  • Static harvestDownloads JavaScript bundles and lazy chunks, then produces endpoint and route lists from them.
  • Runtime depth harvestUses Puppeteer to record methods, parameters, response bodies, WebSocket and SSE traffic.
  • Coverage modeClicks tabs, modals and table actions in a browser to reach more features and endpoints.
  • Parameter reverse engineeringInfers parameter names, transport location and required status from bundle code and multiple samples.
  • Permission tree restorationPatches stubs to reach module-level APIs when module pages render blank.
  • Merged report and asset insertMerges outputs into a report and batch-inserts discovered services and endpoints as assets.

What you need

  • Python 3
  • Puppeteer for the runtime harvest script

Try asking

  • Harvest the static API endpoints and routes from this site's JavaScript bundles
  • Run a depth harvest of the runtime API calls for this single-page app
  • Map the parameters for the user list endpoint from the bundle code

Good to know

  • Static harvest does not give HTTP methods and misses runtime-built URLs.
  • Pages must render before their requests fire, and a single sample cannot confirm required parameters.
  • Only for authorized engagements. Vulnerability testing and exploitation are out of scope.
  • The scripts in scripts/ are reference templates and must be adapted to each target.

Security check

A

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

Checked automatically: skills/api-recon/SKILL.md, skills/api-recon/scripts/build_perm_tree.py, skills/api-recon/scripts/extract_route_map.py, skills/api-recon/scripts/harvest_static.py, skills/api-recon/scripts/preload.js, skills/api-recon/scripts/runtime_harvest.js, skills/api-recon/scripts/spider_mpa.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md21 KB
  • reference.md21 KB
  • scripts/build_perm_tree.py8 KB
  • scripts/extract_route_map.py1 KB
  • scripts/harvest_static.py8 KB
Show all 11 files
  • scripts/package-lock.json35 KB
  • scripts/package.json208 B
  • scripts/preload.js13 KB
  • scripts/runtime_harvest.js11 KB
  • scripts/spider_mpa.py6 KB
  • wordlists/api.txt2 KB

Alternatives to api-recon

All alternatives →

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

api-recon: common questions

Does api-recon log in to the target site?

No. The skill stubs and mocks client-side login gates and forbids asking for or guessing credentials. It also forbids real login form submissions.

What does api-recon output?

It outputs files such as api_static.txt, routes.txt and params_merged.json, plus a merged report. The skill also calls insert_assets to store discovered services and endpoints.

Can api-recon test a site for vulnerabilities?

No. The source says the skill only performs API and parameter-surface reconnaissance and prohibits SQL injection, XSS, privilege escalation, brute force and fuzzing.

How do I install api-recon?

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

Is api-recon free?

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

Is api-recon safe to use?

It scores 92 of 100. Grades: maintenance A, licence C, 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 api-recon?

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

api-recon Install

Add to stack

Loading.