vapt-api

vapt-api is a skill for Claude Code, Codex from bhuvangupta/vapt-claude. It costs 0 tokens per session (2,164 once invoked), scanned B, original, MIT.

An API security testing skill for finding documented or undocumented API endpoints, including OpenAPI or Swagger descriptions and GraphQL services, then testing their behavior.

In plain words
What is it for?
Use it to discover API routes from existing scan notes or common locations and evaluate endpoints, methods, parameters, authentication, and authorization.
Why use it?
It gives an assessment a structured way to examine how an application's programmable interfaces handle access, inputs, and responses.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to discover API routes from existing scan notes or common locations and evaluate endpoints, methods, parameters, authentication, and authorization.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bhuvangupta/vapt-claude/vapt-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bhuvangupta/vapt-claude --skill vapt-api
Clone the repo
git clone --depth 1 https://github.com/bhuvangupta/vapt-claude

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vapt-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/bhuvangupta/vapt-claude/vapt-api.svg)](https://agentmods.dev/skills/bhuvangupta/vapt-claude/vapt-api)
Your own site
<a href="https://agentmods.dev/skills/bhuvangupta/vapt-claude/vapt-api"><img src="https://agentmods.dev/badge/skills/bhuvangupta/vapt-claude/vapt-api.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,164 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02164
Opus 5 $0.00000 $0.01082
Sonnet 5 $0.00000 $0.00433
Haiku 4.5 $0.00000 $0.00216

Measured 7d ago against content hash 67356f0c5821, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

vapt-api scanned grade B with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLlowData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

code=$(curl -s -o /dev/null -w "%{http_code}" -X POST -H "Content-Type: application/json" -d '{"query":"{__typename}"}' <url>$path)

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s -H "Authorization: Bearer <token>" <url>/api/users | python3 -m json.tool

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

code=$(curl -s -o /dev/null -w "%{http_code}" <url>$path)
skills/vapt-api/SKILL.md · 296 lines

How it starts

The opening of the file, as written. The whole thing — 296 lines — stays where its author put it; the contents beside it link to each section on GitHub.

API Security Testing

When Invoked

The user runs /vapt api <url> or this skill is triggered as part of Wave 3 during /vapt audit.

Prerequisites

Check for existing context:

  • If VAPT-WAVE2-CONTEXT.md exists -> use discovered API endpoints
  • If VAPT-SCAN.md exists -> extract API paths from scan results
  • If no context -> discover API endpoints via common paths

Phase 1: API Discovery

1.1 OpenAPI / Swagger Detection

# Common OpenAPI spec locations
for path in /swagger.json /swagger-ui /openapi.json /api-docs /api/v1/swagger.json /api/docs /v1/api-docs /v2/api-docs /api/swagger /docs/api; do
    code=$(curl -s -o /dev/null -w "%{http_code}" <url>$path)
    [ "$code" != "404" ] && echo "Found: $path ($code)"
done

If a spec file is found, parse it to extract all endpoints, methods, and parameters.

1.2 GraphQL Detection

# Common GraphQL endpoints
for path in /graphql /graphiql /v1/graphql /api/graphql /query; do
    code=$(curl -s -o /dev/null -w "%{http_code}" -X POST -H "Content-Type: application/json" -d '{"query":"{__typename}"}' <url>$path)
    [ "$code" = "200" ] && echo "GraphQL found: $path"
done

1.3 API Endpoint Fuzzing

If kiterunner is installed:

kr scan <url> -w /path/to/routes-large.kite

If ffuf is installed:

ffuf -u <url>/api/FUZZ -w /usr/share/wordlists/dirb/common.txt -mc 200,201,401,403

Fallback: Check common API path patterns:

/api, /api/v1, /api/v2, /api/v3
/api/users, /api/admin, /api/config
/api/health, /api/status, /api/metrics
/api/search, /api/export, /api/import

Phase 2: Authentication Testing

2.1 Unauthenticated Access

Test all discovered endpoints without authentication:

for endpoint in <discovered_endpoints>; do
    echo "$endpoint: $(curl -s -o /dev/null -w '%{http_code}' <url>$endpoint)"
done

Endpoints that return 200 without auth may be misconfigured.

2.2 API Key / Token Analysis

If API keys are used:

  • Check if keys are in URLs (leakable via logs/referrer)
  • Check key rotation / expiration
  • Test with expired or revoked keys
  • Check rate limiting per key

Read the full file on GitHub · 296 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 296 lines · 0 tokens per session scan B 67356f0c5821

Subscribe to this mod's changes

vapt-api is a skill published in the GitHub repository bhuvangupta/vapt-claude (1 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,164 tokens. A static security scan graded it B with 3 findings (sends data to an external url, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

verification-loop

This skill should be used when the user asks to "verify code", "run verification", "check quality", "validate changes", or before creating a PR. Provides comprehensive verification including build, type check, lint, tests, security scan, and diff review.

Galaxy-Dawn/claude-scholar · 55 tokens

test-native-extension

Validate a third-party control repo across four automated layers plus one printed manual recipe. Layer 1 asserts native-source structure (Android getName() and iOS +moduleName to manifest nativeModule; @ReactMethod / RCTEXPORTMETHOD to methods; no @ReactModule) plus load/init readiness (ReactPackage public no-arg…

microsoft/power-platform-skills · 211 tokens

test-site

Tests a deployed, activated Power Pages site at runtime using browser-based navigation, page crawling, and API request verification via Playwright. Use when the user wants to test, verify, or smoke-test their deployed site.

microsoft/power-platform-skills · 46 tokens

performing-soap-web-service-security-testing

Perform security testing of SOAP web services by analyzing WSDL definitions and testing for XML injection, XXE, WS-Security bypass, and SOAPAction spoofing.

xalgorix/xalgorix · 41 tokens

race

Race condition / TOCTOU playbook — limit overrun (one-time codes used twice, gift cards spent twice), single-packet attack (last-byte sync) to force parallel processing, and state-confusion races (file upload + read, order before payment). Use when timing-sensitive logic could be abused — one-time codes, coupons/gift…

PentesterFlow/agent · 82 tokens

ln-41-test-strategy-planner

Plans a risk-based test portfolio and prioritized scenarios without editing tests. Not for test execution or implementation.

levnikolaevich/claude-code-skills · 29 tokens