api-sec

Route API security assessments to focused testing workflows based on observed indicators.

1.6k|204|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/yaklang/hack-skills --skill api-sec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-sec
Source: https://github.com/yaklang/hack-skills/tree/main/skills/api-sec
Command: npx skills add https://github.com/yaklang/hack-skills --skill api-sec

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps choose the correct API security testing track by examining high-level indicators and routing the assessment to focused sub-skills, preventing wasted effort and ensuring systematic coverage.

Core Features & Use Cases

  • High-level triage: Map observable signs like OpenAPI/Swagger, IDs in URLs/JSON, visible JWTs, and GraphQL endpoints to the most relevant testing workflows.
  • Prioritized workflow guidance: Recommend an order of testing such as recon/docs first, then object authorization/BOLA, followed by token/JWT abuse checks, and GraphQL/hidden-parameter analysis if applicable.
  • Use Case: When assessing a mobile backend that exposes REST endpoints and shows JWTs in traffic, use this skill to determine whether to begin with API recon, authorization checks, or token abuse tests.

Quick Start

Ask the api-sec skill to analyze the target API and recommend which specialized API security skill to run first based on observed documentation, IDs, JWTs, or GraphQL indicators.

Frequently Asked Questions about api-sec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I triage API security testing for REST and GraphQL endpoints?

API security triage examines high-level indicators like OpenAPI/Swagger exposure, IDs in URLs or JSON, visible JWT tokens, and GraphQL batching to route assessments to focused testing workflows such as recon, BOLA, or token abuse checks.

What is the recommended order for testing API authorization and token abuse vulnerabilities?

The recommended order for testing API authorization begins with recon and documentation exposure, followed by object authorization or BOLA checks, then token and JWT abuse analysis, and concludes with GraphQL hidden-parameter testing if applicable.

How do I identify BOLA and authorization flaws in a mobile backend API?

Identifying BOLA and authorization flaws involves examining API traffic for ID patterns in URLs or JSON payloads, then routing the assessment to specialized authorization testing workflows to verify object-level access controls.

Does this API security triage approach work with GraphQL batching and hidden parameters?

Yes, this API security triage works with GraphQL by identifying batching indicators and routing the assessment to specialized hidden-parameter testing workflows to uncover concealed query fields and mutation vulnerabilities.

What is the best way to start API security testing when JWT tokens are visible in traffic?

The best way to start API security testing with visible JWT tokens is to route the assessment through a triage workflow that prioritizes recon first, followed by authorization checks and targeted JWT token abuse analysis.

When do I need to run specialized API recon before testing authorization vulnerabilities?

You need to run specialized API recon before testing authorization vulnerabilities when high-level indicators such as OpenAPI or Swagger documentation exposure are present, ensuring systematic coverage of the target attack surface.