api-testing

api-testing is a skill for Claude Code, Codex from Strategic-Automation/violin. It costs 17 tokens per session (393 once invoked), scanned A, original, MIT.

A security-testing guide for APIs, which are interfaces that let software exchange data. It covers REST, GraphQL, SOAP, and WebSocket interfaces.

In plain words
What is it for?
Use it to inventory API endpoints and schemas, check authorization, and test protocol-specific attack surfaces while preserving request and response details.
Why use it?
It helps find overlooked endpoints, older API versions, authentication problems, and schema-related risks before testing blindly.

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/strategic-automation/violin/api-testing
Any agent
npx skills add Strategic-Automation/violin --skill api-testing
Clone the repo
git clone --depth 1 https://github.com/Strategic-Automation/violin

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/strategic-automation/violin/api-testing.svg)](https://agentmods.dev/skills/strategic-automation/violin/api-testing)
Your own site
<a href="https://agentmods.dev/skills/strategic-automation/violin/api-testing"><img src="https://agentmods.dev/badge/skills/strategic-automation/violin/api-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 393 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00017 $0.00393
Opus 5 $0.00009 $0.00197
Sonnet 5 $0.00003 $0.00079
Haiku 4.5 $0.00002 $0.00039

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

Security

Grade A, and why

api-testing scanned grade A with 0 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/api-testing/SKILL.md · 41 lines

What it actually says

API Security Testing

On-demand skill for API protocol, inventory, schema, and machine-to-machine attack surfaces. It covers REST, GraphQL, SOAP, and WebSocket endpoints; load the targeted playbook rather than treating APIs as ordinary web routes. Model Context Protocol (MCP) surfaces route to llm-security.

When to Use

  • OpenAPI/Swagger, GraphQL, SOAP, or WebSocket endpoints are discovered or in scope.
  • The assessment needs endpoint inventory, version/legacy discovery, protocol-specific authorization checks, or schema-driven testing.
  • Do not use this as a substitute for a dedicated root-cause playbook (for example IDOR, JWT, SSRF, or SQLi); route and load that playbook after API discovery identifies the class.

Playbook Routing

Surface Playbook
REST / SOAP / GraphQL / WebSocket API security playbooks/api-security.md

Common Pitfalls

  • Inventory versions, undocumented endpoints, methods, schemas, and authentication contexts before fuzzing.
  • Preserve full request/response pairs and protocol headers, including negotiated sessions.
  • Keep rate, depth, batching, and streaming probes within the approved RoE.

Verification Checklist

  • Engagement bootstrap and scope validation succeeded.
  • The API surface inventory identifies protocol, version, authentication, and schema sources.
  • The root-cause playbook was loaded for every confirmed vulnerability class.
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. 4d ago First seen · 41 lines · 17 tokens per session scan A 214c6c790b6c

Subscribe to this mod's changes

api-testing is a skill published in the GitHub repository Strategic-Automation/violin (85 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 393 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

performing-jwt-none-algorithm-attack

Execute and test the JWT none algorithm attack to bypass signature verification by manipulating the alg header field in JSON Web Tokens.

xalgorix/xalgorix · 34 tokens

Web Application Security Testing

OWASP Top 10 testing, injection vulnerability detection, API security assessment, authentication testing, and web vulnerability reporting for authorized assessments.

Masriyan/Claude-Code-CyberSecurity-Skill · 30 tokens

kali-pentest

Execute authorized penetration testing via Kali Linux CLI tools over SSH or Docker. Covers: information gathering, vulnerability analysis, sniffing & spoofing, web/API testing, exploitation, password attacks, wireless, cloud-native security, RFID/NFC, VoIP/ICS, reverse engineering, forensics, post-exploitation/C2, and…

x-glacier/kali-pentest · 73 tokens

kali-pentest-zh

通过 SSH 或 Docker 使用 Kali Linux CLI 工具执行授权渗透测试。 覆盖:信息收集、漏洞分析、嗅探与欺骗、Web/API 渗透、漏洞利用、密码攻击、无线、云原生安全、RFID/NFC、VoIP/ICS、逆向工程、取证分析、后渗透/C2、报告生成。.

x-glacier/kali-pentest · 87 tokens

api-security-testing

Security-test a REST, GraphQL, or gRPC API with Strix — autonomous agents that enumerate endpoints from an OpenAPI/GraphQL schema (or by crawling), then actually exploit the API-specific vulnerability classes in the OWASP API Security Top 10 (2023) — broken object-level authorization (BOLA/IDOR), broken object…

usestrix/strix · 144 tokens

fix-security-vulnerabilities-with-strix

Fix security vulnerabilities found by a Strix pentest (open-source CLI or app.strix.ai cloud) — triage by severity, patch the root cause rather than the symptom, and re-run Strix to prove each fix actually closes the exploit. Handles injection, XSS, SSRF, broken access control, IDOR, and other validated findings. Use…

usestrix/strix · 124 tokens