api-security
Skill by sickn33
Guides an assistant through an authorized, multi-phase security assessment of REST, GraphQL, WebSocket and SOAP APIs. It targets security testers and developers working within an approved scope, covering authentication, authorization, rate limits and data exposure.
Install api-security
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/api-security ~/.claude/skills/api-securityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/api-security ~/.gemini/antigravity-cli/skills/api-securityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The api-security skill gives an assistant a structured, multi-phase method for authorized security assessments of REST, GraphQL, WebSocket and SOAP APIs. It covers discovery, authentication and authorization flaws such as BOLA, IDOR and JWT or OAuth issues, rate-limit testing, input validation, business logic, data exposure and CI/CD integration. The checklists name tools such as jwt_tool and Burp Autorize.
The skill sets a confirmation gate. Before any command that probes, exploits or changes a target, the assistant must ask for the exact target, confirm written authorization and scope, show the commands, and wait for explicit approval. Without that, it stays read-only and gives defensive guidance. It is meant for security testers working within an approved scope and is adapted from a community MIT-licensed repository.
Written from the project's SKILL.md and checked against it.
What it can do
- API discoveryFinds endpoints from OpenAPI specs, JavaScript files, robots.txt and common paths, and tests GraphQL introspection.
- Authentication testingChecks JWT weaknesses such as alg:none, key confusion and kid injection, plus OAuth redirect and PKCE issues.
- Authorization testingCovers BOLA, IDOR and BFLA checks using object ID traversal, method switching and two-session comparison.
- GraphQL securityCovers alias overload, batch queries, field duplication, GET mutations and debug exposure checks.
- REST input validationCovers method switching, content-type tampering, NoSQL injection, SSRF, XXE and mass assignment.
- WebSocket testingCovers endpoint discovery, message injection, oversized messages and cross-site WebSocket hijacking.
- Rate limit and DoS testingCovers header-based rate-limit bypass, path variants and controlled load checks that need specific scope.
- Data exposure reviewCompares API responses with UI output and checks pagination, error messages and overexposed fields.
What you need
- Explicit written permission from the system owner
- jwt_tool (named in the source)
- Burp Suite with the Autorize extension (named in the source)
Try asking
- Run a read-only API discovery plan for my authorized staging API.
- Check this JWT for alg:none and weak HMAC key issues after confirming scope.
- Build a BOLA test matrix for these endpoints using two authorized test accounts.
Good to know
- Only for APIs the user is explicitly authorized to test.
- Some checks are intrusive, so non-production mirrors are preferred.
- Load and DoS testing, credential cracking and persistent CI scanning need specific scope.
- Named tools and the referenced tool-index and RULES files are not bundled or verified.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/api-security/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
references/jwt-oauth-testing.md3 KB -
references/rest-graphql-testing.md4 KB
Alternatives to api-security
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
api-security: common questions
Can this skill run tests against any API automatically?
No. The skill requires the exact target, written authorization and scope, and explicit confirmation before any probing command runs. Without that, it stays read-only.
Does GraphQL introspection alone count as a vulnerability?
The source says introspection or an exposed IDE alone is not proof of a vulnerability.
Can the skill brute-force UUIDs to find objects?
The source says UUIDs are not feasibly brute-force enumerable, so it recommends using known authorized object IDs instead.
How do I install api-security?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is api-security free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is api-security safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, 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-security?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
