testing-apis

testing-apis is a skill for Claude Code, Codex from EvilFreelancer/secs. It costs 43 tokens per session (3,399 once invoked), scanned A, a copy of testing-apis, Apache-2.0.

A checklist and testing guide for finding security flaws in REST and GraphQL APIs. APIs are interfaces that let software exchange data and actions over a network.

In plain words
What is it for?
Use it when penetration-testing APIs or microservices, including endpoint discovery, API fuzzing, business-logic checks, authentication and authorization testing, and GraphQL testing.
Why use it?
An API may expose data or actions to the wrong person even when the main application looks secure. Testing can reveal authentication bypasses, access-control mistakes, injection, unsafe field updates, and missing rate limits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is curl https://api.target.com/users?id=../../etc/passwd.

Good fit Use it when penetration-testing APIs or microservices, including endpoint discovery, API fuzzing, business-logic checks, authentication and authorization testing, and GraphQL testing.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/EvilFreelancer/secs
agentmods
npx agentmods add skills/evilfreelancer/secs/testing-apis

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 testing-apis

README.md
[![agentmods](https://agentmods.dev/badge/skills/evilfreelancer/secs/testing-apis/github.svg)](https://agentmods.dev/skills/evilfreelancer/secs/testing-apis)
Your own site
<a href="https://agentmods.dev/skills/evilfreelancer/secs/testing-apis"><img src="https://agentmods.dev/badge/skills/evilfreelancer/secs/testing-apis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for testing-apis

Your own site · 80×15
<a href="https://agentmods.dev/skills/evilfreelancer/secs/testing-apis"><img src="https://agentmods.dev/badge/skills/evilfreelancer/secs/testing-apis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,399 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod 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.00043 $0.03399
Opus 5.5 $0.00017 $0.01360
Sonnet 5.5 $0.00009 $0.00680
Haiku 4.5 $0.00004 $0.00340

Measured 3mo ago against content hash 113b24d7c0e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

testing-apis scanned grade A with 2 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 3mo 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.

TOKEN_A=$(curl -X POST https://api.target.com/login -d '{"username":"userA","password":"passA"}' | jq -r .token)

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.

curl https://target.com/swagger.json
Origin

This is a copy

88% identical to testing-apis — 18 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/testing-apis/SKILL.md · 478 lines

How it starts

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

API Security Testing Skill

You are an API security expert specializing in REST, GraphQL, and API pentesting. Use this skill when the user requests help with:

  • REST API security testing
  • GraphQL API exploitation
  • API authentication bypass
  • API authorization flaws
  • Rate limiting bypass
  • API fuzzing
  • Mass assignment vulnerabilities
  • API documentation discovery

When to Use

Activate this skill when the user asks to:

  • Test REST or GraphQL APIs
  • Find API vulnerabilities
  • Bypass API authentication/authorization
  • Discover API endpoints
  • Test API business logic
  • Perform API fuzzing
  • Analyze API documentation
  • Help with API penetration testing

When NOT to Use

  • Source code is available — use auditing-code-for-vulnerabilities
  • Browser-rendered application surface — use testing-web-applications
  • Token and signature construction review — use reviewing-cryptography
  • LLM/agent tool APIs — use securing-ai-systems
  • A parameter that makes the server fetch a URL — use testing-web-applications
  • A body or cookie holding a serialized object — use testing-web-applications
  • An XML or SOAP body that may resolve external entities — use testing-web-applications

Core Methodologies

1. API Discovery and Reconnaissance

Find API Endpoints:

# Common API paths
/api/
/api/v1/
/api/v2/
/rest/
/graphql
/swagger
/api-docs
/swagger.json
/swagger.yaml
/openapi.json
/api/swagger-ui/
/api/docs

# Directory fuzzing for APIs
ffuf -u https://target.com/FUZZ -w api-wordlist.txt -mc 200,301,302,403
gobuster dir -u https://target.com -w api-paths.txt

# JavaScript analysis
# Extract API endpoints from JS files
cat app.js | grep -Eo "(GET|POST|PUT|DELETE|PATCH)\s+['\"]([^'\"]+)"

API Documentation:

# Swagger/OpenAPI
curl https://target.com/swagger.json
curl https://target.com/v2/swagger.json
curl https://target.com/api-docs

# Check for exposed docs
https://target.com/docs
https://target.com/api/docs
https://target.com/swagger-ui/
https://target.com/redoc

Read the full file on GitHub · 478 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 478 lines · 43 tokens per session scan A 113b24d7c0e0

Subscribe to this mod's changes

testing-apis is a skill published in the GitHub repository EvilFreelancer/secs (11 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 43 tokens to every session and 3,399 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 2 findings (sends data to an external url, makes network calls). It is 88% identical to testing-apis, differing in 18 lines, and is treated as a copy.

Related

testing-apis compared with skills from other repositories

testing-apis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
testing-apisEvilFreelancer/secsSkill113mo agoApache-2.0A43Claude Code, Codex
bounty-api26zl/cybersec-toolkitSkill1135d agoMITA77Claude Code
configuring-hsm-for-key-storage26zl/cybersec-toolkitSkill1135d agoMITA80Claude Code
configuring-ldap-security-hardening26zl/cybersec-toolkitSkill1135d agoMITA61Claude Code
conducting-api-security-testing26zl/cybersec-toolkitSkill1135d agoMITA99Claude Code
web-app-pentestjaskaranhundal/usap-skillsSkill71mo agoApache-2.0A0Claude Code
configuring-tls-1-3-for-secure-communications26zl/cybersec-toolkitSkill1135d agoMITA84Claude Code