api-pentest

A security-testing skill for APIs, which are interfaces that let software exchange requests and data. It covers REST, GraphQL, SOAP, and web services over HTTP or HTTPS.

In plain words
What is it for?
It helps with API penetration tests, security audits, vulnerability analysis, and authorized attempts to exploit API weaknesses.
Why use it?
It provides guidance for examining API services for security weaknesses instead of treating each type of endpoint as an unrelated task.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/hackingyseguridad/ia/api
Any agent
npx skills add hackingyseguridad/IA --skill api
Clone the repo
git clone --depth 1 https://github.com/hackingyseguridad/IA

Made for: Claude Code, Codex.

Per session 261 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,476 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 3 findings. Scan, not verified.
Origin unknown 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 $0.00261 $0.06476
Opus 5 $0.00130 $0.03238
Sonnet 5 $0.00052 $0.01295
Haiku 4.5 $0.00026 $0.00648

Measured 2d ago against content hash 971b18141a92, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

api-pentest scanned grade C 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 2d 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.

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 -sk https://<FQDN_o_IP>/api/ | 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.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

<!DOCTYPE raiz [<!ENTITY xxe SYSTEM "http://169.254.169.254/latest/meta-data/">]>

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.

apt install -y curl jq nmap nikto whatweb wafw00f sslyze wapiti \
.claude/skills/api/SKILL.md · 618 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 2d ago First seen · 618 lines · 261 tokens per session scan C 971b18141a92

Subscribe to this mod's changes

api-pentest is a skill published in the GitHub repository hackingyseguridad/IA (2 stars, last pushed 5d ago), with no licence file. It adds 261 tokens to every session and 6,476 once invoked, about $0.0013 per session on Opus 5. A static security scan graded it C with 3 findings (downloads and executes remote code, cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.