Volver al catálogo
Revisión estáticaDesarrollo

Dosier de la skill

conducting-api-security-testing

Declaración de origen

Conducts security testing of REST, GraphQL, and gRPC APIs to identify vulnerabilities in authentication, authorization, rate limiting, input validation, and business logic. The tester uses the OWASP API Security Top 10 as the testing framework, combining Burp Suite interception with Postman collections and custom scripts to test endpoint security at every privilege level. Activates for requests involving API security testing, REST API pentest, GraphQL security assessment, or API vulnerability testing.

La descripción original del autor, conservada en inglés. Describe la intención, no un rendimiento verificado.

Conducts security testing of REST, GraphQL, and gRPC APIs to identify vulnerabilities in authentication, authorization, rate limiting, input validation, and business logic. The tester uses the OWASP API Security Top 10 as the testing framework, combining Burp Suite interception with Postman collections and custom scripts to test endpoint security at every privilege level. Activates for requests involving API security testing, REST API pentest, GraphQL security assessment, or API vulnerability testing.

developmentreferencesscripts

El contenido de investigación de este sitio está publicado en inglés y chino, y aquí se muestra en inglés.

Resumen de la investigación

Análisis estático

Estas observaciones proceden del análisis determinista del código fuente. No son una evaluación controlada de tareas.

Conducts security testing of REST, GraphQL, and gRPC APIs to identify vulnerabilities in authentication, authorization, rate limiting, input validation, and business logic. The tester uses the OWASP API Security Top 10 as the testing framework, combining Burp Suite interception with Postman collections and custom scripts to test endpoint security at every privilege level. Activates for requests involving API security testing, REST API pentest, GraphQL security assessment, or API vulnerability testing. This bilingual summary is generated deterministically from collected source text and file structure; it is from static parsing.

Alcance de la revisión

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacidades observables

  • Workflow [Source statement; provisional, not tested. Evidence: skills/conducting-api-security-testing/SKILL.md:L55]
  • Step 1: API Discovery and Documentation [Source statement; provisional, not tested. Evidence: skills/conducting-api-security-testing/SKILL.md:L57]
  • Step 2: Authentication and Token Testing [Source statement; provisional, not tested. Evidence: skills/conducting-api-security-testing/SKILL.md:L70]
  • Step 3: Authorization Testing (BOLA/BFLA) [Source statement; provisional, not tested. Evidence: skills/conducting-api-security-testing/SKILL.md:L83]
  • Step 4: Input Validation and Injection Testing [Source statement; provisional, not tested. Evidence: skills/conducting-api-security-testing/SKILL.md:L102]
  • Step 5: Data Exposure and Response Analysis [Source statement; provisional, not tested. Evidence: skills/conducting-api-security-testing/SKILL.md:L113]

Limitaciones y alcance

  • Static analysis cannot assess runtime behavior, command success, network reachability, or model output quality.
  • No commands, scripts, network requests, model calls, or controlled skill executions were performed.
  • Category, tags, capabilities, workflows, and bilingual editorial summaries are deterministic candidates from static parsing, not verified outcomes.
  • Exact token counts are unavailable until a later pipeline performs and records an official model-specific count.

Relevante para

  • Practitioners evaluating whether to inspect and install the source skill; this audience is inferred from the product context, not measured usage. [Evidence: skills/conducting-api-security-testing/SKILL.md:L1-L34]

Qué incluye la skill

El inventario de archivos procede del código fuente recopilado en el commit registrado. Las rutas y los tamaños son observaciones estructurales, no una medida de calidad.

archivos
4
Archivos Markdown
2
scripts
1
referencias
1
Tamaño
33,3 KB
Complejidad estructural
Baja

Inventario de archivos

RutaTipoBytes
skills/conducting-api-security-testing/LICENSEOtro11 KB
skills/conducting-api-security-testing/references/api-reference.mdReferencia2,5 KB
skills/conducting-api-security-testing/scripts/agent.pyScript8,2 KB
skills/conducting-api-security-testing/SKILL.mdInstrucción11,6 KB

Frontmatter de SKILL.md

{
  "name": "conducting-api-security-testing",
  "description": "Conducts security testing of REST, GraphQL, and gRPC APIs to identify vulnerabilities in authentication, authorization, rate limiting, input validation, and business logic. The tester uses the OWASP API Security Top 10 as the testing framework, combining Burp Suite interception with Postman collections and custom scripts to test endpoint security at every privilege level. Activates for requests involving API security testing, REST API pentest, GraphQL security assessment, or API vulnerability testing.\n",
  "domain": "cybersecurity",
  "subdomain": "penetration-testing",
  "tags": [
    "API-security",
    "OWASP-API-Top10",
    "REST",
    "GraphQL",
    "authorization-testing"
  ],
  "version": "1.0.0",
  "author": "mahipal",
  "license": "Apache-2.0",
  "nist_csf": [
    "ID.RA-01",
    "ID.RA-06",
    "GV.OV-02",
    "DE.AE-07"
  ],
  "mitre_attack": [
    "T1190",
    "T1213",
    "T1552.001",
    "T1078",
    "T1071.001"
  ]
}

Una lectura de la secuencia de funcionamiento

Este flujo de trabajo reconstruye la secuencia aparente a partir del material de origen. A menos que se registre explícitamente una evaluación controlada, es provisional y no un seguimiento observado.

  1. 01
    Decisión

    When to Use

    Source-described decision candidate under “When to Use”; not verified execution.

  2. 02
    Acción

    Workflow

    Source-described action candidate under “Workflow”; not verified execution.

  3. 03
    Acción

    Step 1: API Discovery and Documentation

    Source-described action candidate under “Step 1: API Discovery and Documentation”; not verified execution.

  4. 04
    Entrada

    Import API documentation: Load OpenAPI/Swagger specs into Postman or Burp Suite to catalog all endpoints, methods, parameters, and authentication requirements

    Source-described input candidate under “Step 1: API Discovery and Documentation”; not verified execution.

  5. 05
    Salida

    Reverse-engineer undocumented APIs: Proxy the mobile app or web frontend through Burp Suite and exercise all features to capture API calls. Export the Burp sitemap as the baseline endpoint inventory.

    Source-described output candidate under “Step 1: API Discovery and Documentation”; not verified execution.

  6. 06
    Acción

    GraphQL introspection: Send an introspection query to discover the full schema:

    Source-described action candidate under “Step 1: API Discovery and Documentation”; not verified execution.

Examinar todos los pasos de flujo de trabajo candidatos (53 pasos candidatos)
  1. 07
    Acción

    Endpoint enumeration: Fuzz for hidden API versions (`/api/v1/`, `/api/v2/`, `/api/internal/`), debug endpoints (`/api/debug`, `/api/health`, `/api/metrics`), and administrative endpoints

    Source-described action candidate under “Step 1: API Discovery and Documentation”; not verified execution.

  2. 08
    Decisión

    Document authentication mechanisms: Identify if the API uses API keys, OAuth 2.0 Bearer tokens, JWT, session cookies, or mutual TLS

    Source-described decision candidate under “Step 1: API Discovery and Documentation”; not verified execution.

  3. 09
    Acción

    Step 2: Authentication and Token Testing

    Source-described action candidate under “Step 2: Authentication and Token Testing”; not verified execution.

  4. 10
    Acción

    JWT analysis: Decode the JWT and inspect claims (sub, exp, iss, aud, role). Test:

    Source-described action candidate under “Step 2: Authentication and Token Testing”; not verified execution.

  5. 11
    Acción

    Algorithm confusion: Change `alg` to `none` and remove the signature

    Source-described action candidate under “Step 2: Authentication and Token Testing”; not verified execution.

  6. 12
    Acción

    Key confusion: Change `alg` from RS256 to HS256 and sign with the public key

    Source-described action candidate under “Step 2: Authentication and Token Testing”; not verified execution.

  7. 13
    Acción

    Weak secret: Brute-force the HMAC secret with `hashcat -m 16500 jwt.txt wordlist.txt`

    Source-described action candidate under “Step 2: Authentication and Token Testing”; not verified execution.

  8. 14
    Acción

    Token expiration: Verify tokens expire and cannot be used after expiration

    Source-described action candidate under “Step 2: Authentication and Token Testing”; not verified execution.

  9. 15
    Acción

    Claim tampering: Modify role, userId, or permission claims and re-sign

    Source-described action candidate under “Step 2: Authentication and Token Testing”; not verified execution.

  10. 16
    Acción

    OAuth 2.0 testing: Check for redirecturi manipulation, authorization code reuse, token leakage in Referer headers, and missing state parameter (CSRF)

    Source-described action candidate under “Step 2: Authentication and Token Testing”; not verified execution.

  11. 17
    Decisión

    API key security: Test if API keys are validated per-endpoint, if revoked keys are immediately rejected, and if keys in query strings appear in access logs or analytics

    Source-described decision candidate under “Step 2: Authentication and Token Testing”; not verified execution.

  12. 18
    Acción

    Step 3: Authorization Testing (BOLA/BFLA)

    Source-described action candidate under “Step 3: Authorization Testing (BOLA/BFLA)”; not verified execution.

  13. 19
    Acción

    BOLA (IDOR) testing: For every endpoint that returns user-specific data, replace the object identifier with another user's identifier:

    Source-described action candidate under “Step 3: Authorization Testing (BOLA/BFLA)”; not verified execution.

  14. 20
    Acción

    `GET /api/users/123/orders` -> `GET /api/users/456/orders`

    Source-described action candidate under “Step 3: Authorization Testing (BOLA/BFLA)”; not verified execution.

  15. 21
    Acción

    Test with numeric IDs, UUIDs, usernames, and email addresses

    Source-described action candidate under “Step 3: Authorization Testing (BOLA/BFLA)”; not verified execution.

  16. 22
    Acción

    Automate with Burp Autorize extension: configure it with two sessions (attacker and victim) and replay all requests

    Source-described action candidate under “Step 3: Authorization Testing (BOLA/BFLA)”; not verified execution.

  17. 23
    Acción

    BFLA testing: Using a low-privilege token, attempt to access administrative endpoints:

    Source-described action candidate under “Step 3: Authorization Testing (BOLA/BFLA)”; not verified execution.

  18. 24
    Acción

    `DELETE /api/users/456` (admin-only delete)

    Source-described action candidate under “Step 3: Authorization Testing (BOLA/BFLA)”; not verified execution.

  19. 25
    Acción

    `PUT /api/users/456/role` (role modification)

    Source-described action candidate under “Step 3: Authorization Testing (BOLA/BFLA)”; not verified execution.

  20. 26
    Acción

    `GET /api/admin/dashboard` (admin panel data)

    Source-described action candidate under “Step 3: Authorization Testing (BOLA/BFLA)”; not verified execution.

  21. 27
    Acción

    Mass assignment: Send additional JSON properties not shown in the documentation:

    Source-described action candidate under “Step 3: Authorization Testing (BOLA/BFLA)”; not verified execution.

  22. 28
    Decisión

    HTTP method testing: If GET works on an endpoint, try PUT, PATCH, DELETE, and OPTIONS to discover unprotected methods

    Source-described decision candidate under “Step 3: Authorization Testing (BOLA/BFLA)”; not verified execution.

  23. 29
    Entrada

    Step 4: Input Validation and Injection Testing

    Source-described input candidate under “Step 4: Input Validation and Injection Testing”; not verified execution.

  24. 30
    Acción

    SQL injection in API parameters: Test all parameters (path, query, body, headers) with SQL injection payloads. JSON APIs are often overlooked: `{"username": "admin' OR 1=1--", "password": "test"}`

    Source-described action candidate under “Step 4: Input Validation and Injection Testing”; not verified execution.

  25. 31
    Acción

    NoSQL injection: For MongoDB backends, test with operator injection: `{"username": {"$gt": ""}, "password": {"$gt": ""}}`

    Source-described action candidate under “Step 4: Input Validation and Injection Testing”; not verified execution.

  26. 32
    Entrada

    SSRF via API: Test any parameter that accepts URLs (webhook URLs, avatar URLs, import endpoints) with internal addresses and cloud metadata endpoints

    Source-described input candidate under “Step 4: Input Validation and Injection Testing”; not verified execution.

  27. 33
    Acción

    GraphQL-specific injection: Test for query depth attacks, alias-based batching for brute force, and field suggestion enumeration

    Source-described action candidate under “Step 4: Input Validation and Injection Testing”; not verified execution.

  28. 34
    Acción

    XXE in XML APIs: Submit XML content with external entity declarations to API endpoints that accept XML

    Source-described action candidate under “Step 4: Input Validation and Injection Testing”; not verified execution.

  29. 35
    Acción

    Rate limiting validation: Send 100+ rapid requests to authentication endpoints, password reset, and OTP verification to test for brute force protection

    Source-described action candidate under “Step 4: Input Validation and Injection Testing”; not verified execution.

  30. 36
    Acción

    Step 5: Data Exposure and Response Analysis

    Source-described action candidate under “Step 5: Data Exposure and Response Analysis”; not verified execution.

  31. 37
    Acción

    Check for excessive data exposure in API responses:

    Source-described action candidate under “Step 5: Data Exposure and Response Analysis”; not verified execution.

  32. 38
    Salida

    Verbose responses: Compare the data returned in API responses with what the UI displays. APIs often return more fields than needed (internal IDs, creation timestamps, email addresses of other users, role information).

    Source-described output candidate under “Step 5: Data Exposure and Response Analysis”; not verified execution.

  33. 39
    Decisión

    Error message analysis: Trigger errors by sending malformed input, invalid tokens, and non-existent resources. Check if error messages reveal stack traces, database queries, internal paths, or technology details.

    Source-described decision candidate under “Step 5: Data Exposure and Response Analysis”; not verified execution.

  34. 40
    Decisión

    Pagination and enumeration: Test if enumeration is possible by iterating through paginated responses (`/api/users?page=1`, `page=2`, etc.) to extract all records

    Source-described decision candidate under “Step 5: Data Exposure and Response Analysis”; not verified execution.

  35. 41
    Acción

    GraphQL data exposure: Query for fields not intended for the current user's role. Test nested queries that traverse relationships to access unauthorized data.

    Source-described action candidate under “Step 5: Data Exposure and Response Analysis”; not verified execution.

  36. 42
    Acción

    Debug endpoints: Check `/api/debug`, `/api/status`, `/metrics`, `/health`, `/.env`, `/api/swagger.json` for exposed internal information

    Source-described action candidate under “Step 5: Data Exposure and Response Analysis”; not verified execution.

  37. 43
    Acción

    Key Concepts

    Source-described action candidate under “Key Concepts”; not verified execution.

  38. 44
    Acción

    Tools & Systems

    Source-described action candidate under “Tools & Systems”; not verified execution.

  39. 45
    Acción

    Common Scenarios

    Source-described action candidate under “Common Scenarios”; not verified execution.

  40. 46
    Entrada

    Import Swagger spec into Postman, generating 87 endpoint collections across 12 controllers

    Source-described input candidate under “Scenario: API Security Assessment for a Fintech Mobile Application”; not verified execution.

  41. 47
    Acción

    Discover BOLA on `/api/v1/accounts/{accountId}/transactions` allowing any authenticated user to view any account's transaction history

    Source-described action candidate under “Scenario: API Security Assessment for a Fintech Mobile Application”; not verified execution.

  42. 48
    Acción

    Find mass assignment on the user update endpoint where adding `"dailyTransferLimit": 999999` bypasses the configured transfer limit

    Source-described action candidate under “Scenario: API Security Assessment for a Fintech Mobile Application”; not verified execution.

  43. 49
    Acción

    Identify that the fund transfer endpoint lacks rate limiting, allowing unlimited transfer attempts without throttling

    Source-described action candidate under “Scenario: API Security Assessment for a Fintech Mobile Application”; not verified execution.

  44. 50
    Acción

    Discover that JWT tokens have a 30-day expiration with no refresh token rotation, enabling long-lived session hijacking

    Source-described action candidate under “Scenario: API Security Assessment for a Fintech Mobile Application”; not verified execution.

  45. 51
    Acción

    Find that the admin endpoint `/api/v1/admin/users` is accessible with a standard user token (BFLA)

    Source-described action candidate under “Scenario: API Security Assessment for a Fintech Mobile Application”; not verified execution.

  46. 52
    Salida

    Report all findings with CVSS scores and specific API code-level remediation guidance

    Source-described output candidate under “Scenario: API Security Assessment for a Fintech Mobile Application”; not verified execution.

  47. 53
    Salida

    Output Format

    Source-described output candidate under “Output Format”; not verified execution.

Posibles superficies de riesgo

Los hallazgos estáticos señalan puntos que conviene revisar antes de instalar. No establecen que una skill sea segura, maliciosa ni eficaz.

Se recomienda atención

20 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Acceso a la redObservado
Escrituras de archivosObservado
Uso de credencialesObservado
Media

Network access is mentioned

11 ocurrencias

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 11 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota

File modification is described or implemented

8 ocurrencias

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 8 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Alta

Credential or secret material is referenced

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 1 location(s) in the collected text; 1 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Dónde puede consumirse el contexto

Las capas de descubrimiento, activación y recursos tienen significados distintos. Los valores exactos solo aparecen cuando el método oficial de recuento se ejecutó con un modelo identificado.

Recuento exacto de tokens no disponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

No se registró ninguna medición de tokens con el método oficial requerido. Este dosier no la sustituye por recuentos de caracteres, tamaños de archivo ni estimaciones.

Evaluación controlada

Sin evaluación controlada

Esta skill solo cuenta con las evidencias indicadas arriba. No se afirma ninguna tasa de éxito, eficiencia de tokens, latencia ni ventaja de calidad.

Sin probar

Úsala con el código fuente a la vista

Comando de instalación
Inspect the pinned source at https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/54a798831d2266a3ca61ce68a7acb80b81160d57/skills/conducting-api-security-testing/SKILL.md and follow the source repository's installation instructions. No installation was performed or verified by this static analyzer. Source license: Apache-2.0.

Requisitos previos

  • Static analysis cannot assess runtime behavior, command success, network reachability, or model output quality.
  • No commands, scripts, network requests, model calls, or controlled skill executions were performed.
  • Category, tags, capabilities, workflows, and bilingual editorial summaries are deterministic candidates from static parsing, not verified outcomes.
  • Exact token counts are unavailable until a later pipeline performs and records an official model-specific count.

Prompts de ejemplo

No proporcionado

Una decisión, con sus límites

Fortalezas

  • The snapshot contains 4 collected file(s), 2 Markdown file(s), and 1 script file(s), enabling source-level inspection. [Evidence: skills/conducting-api-security-testing/SKILL.md:L1]

Aspectos a considerar

  • No functional, security, or model-quality result has been established. Inspect source context and all cited findings before installation or publication.
Conclusión de la investigación

Provisional deterministic static inventory only; from static parsing and, separately, controlled evaluation. No install recommendation, security assurance, or effectiveness claim is made.

Trazable por construcción

El dosier es una lectura acotada en el tiempo de un artefacto público, no un respaldo. Usa el enlace al código fuente para inspeccionar el material original exacto.

mukul975Anthropic-Cybersecurity-Skillsskills/conducting-api-security-testing
Tipo de origen
Comunidad
Commit
54a798831d2266a3ca61ce68a7acb80b81160d57
Recopilado
20 nov 2026
Última comprobación
20 nov 2026
Licencia original
Apache-2.0
Estrellas del repositorio
36.446
Base del contenido

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.