Zurück zum Katalog
Statische PrüfungEntwicklung

Skill-Dossier

conducting-api-security-testing

Quellenangabe

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.

Die ursprüngliche Beschreibung der Autorinnen und Autoren, unverändert auf Englisch. Sie beschreibt die Absicht, nicht die geprüfte Leistung.

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

Die Forschungsinhalte dieser Website sind auf Englisch und Chinesisch veröffentlicht und werden hier auf Englisch angezeigt.

Forschungszusammenfassung

Statische Analyse

Diese Beobachtungen stammen aus deterministischem Quell-Parsing. Sie sind keine kontrollierte Aufgabenevaluation.

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.

Prüfungsumfang

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.

Beobachtbare Fähigkeiten

  • 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]

Grenzen & Umfang

  • 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.

Relevant für

  • 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]

Was der Skill enthält

Die Dateiübersicht stammt aus der erfassten Quelle beim protokollierten Commit. Pfade und Größen sind strukturelle Beobachtungen, kein Qualitätsmaß.

Dateien
4
Markdown-Dateien
2
Skripte
1
Verweise
1
Größe
33,3 KB
Strukturelle Komplexität
Niedrig

Dateiübersicht

PfadArtBytes
skills/conducting-api-security-testing/LICENSESonstiges11 KB
skills/conducting-api-security-testing/references/api-reference.mdVerweis2,5 KB
skills/conducting-api-security-testing/scripts/agent.pySkript8,2 KB
skills/conducting-api-security-testing/SKILL.mdAnweisung11,6 KB

SKILL.md-Frontmatter

{
  "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"
  ]
}

Eine Lesart des Ablaufs

Dieser Workflow rekonstruiert die offensichtliche Reihenfolge aus dem Quellmaterial. Sofern nicht ausdrücklich eine kontrollierte Evaluation protokolliert ist, ist er vorläufig und keine beobachtete Ausführung.

  1. 01
    Entscheidung

    When to Use

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

  2. 02
    Aktion

    Workflow

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

  3. 03
    Aktion

    Step 1: API Discovery and Documentation

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

  4. 04
    Eingabe

    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
    Ausgabe

    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
    Aktion

    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.

Alle extrahierten Workflow-Kandidaten ansehen (53 Kandidatenschritte)
  1. 07
    Aktion

    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
    Entscheidung

    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
    Aktion

    Step 2: Authentication and Token Testing

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

  4. 10
    Aktion

    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
    Aktion

    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
    Aktion

    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
    Aktion

    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
    Aktion

    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
    Aktion

    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
    Aktion

    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
    Entscheidung

    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
    Aktion

    Step 3: Authorization Testing (BOLA/BFLA)

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

  13. 19
    Aktion

    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
    Aktion

    `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
    Aktion

    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
    Aktion

    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
    Aktion

    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
    Aktion

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

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

  19. 25
    Aktion

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

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

  20. 26
    Aktion

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

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

  21. 27
    Aktion

    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
    Entscheidung

    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
    Eingabe

    Step 4: Input Validation and Injection Testing

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

  24. 30
    Aktion

    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
    Aktion

    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
    Eingabe

    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
    Aktion

    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
    Aktion

    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
    Aktion

    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
    Aktion

    Step 5: Data Exposure and Response Analysis

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

  31. 37
    Aktion

    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
    Ausgabe

    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
    Entscheidung

    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
    Entscheidung

    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
    Aktion

    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
    Aktion

    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
    Aktion

    Key Concepts

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

  38. 44
    Aktion

    Tools & Systems

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

  39. 45
    Aktion

    Common Scenarios

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

  40. 46
    Eingabe

    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
    Aktion

    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
    Aktion

    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
    Aktion

    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
    Aktion

    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
    Aktion

    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
    Ausgabe

    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
    Ausgabe

    Output Format

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

Mögliche Risikoflächen

Statische Befunde zeigen Stellen, die vor der Installation zu prüfen sind. Sie belegen nicht, dass ein Skill sicher, bösartig oder wirksam ist.

Aufmerksamkeit empfohlen

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.

NetzwerkzugriffBeobachtet
DateischreibzugriffeBeobachtet
Verwendung von ZugangsdatenBeobachtet
Mittel

Network access is mentioned

11 Vorkommen

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.

Hinweis

File modification is described or implemented

8 Vorkommen

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.

Hoch

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.

Wo Kontext verbraucht werden kann

Discovery-, Aktivierungs- und Ressourcenschichten haben unterschiedliche Bedeutung. Exakte Werte erscheinen nur, wenn die offizielle Zählmethode mit einem benannten Modell lief.

Keine exakten Token-Zählwerte verfügbar

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

Es wurde keine Token-Messung mit der vorgeschriebenen offiziellen Methode erfasst. Dieses Dossier ersetzt sie nicht durch Zeichenanzahl, Dateigröße oder Schätzwerte.

Kontrollierte Evaluation

Keine kontrollierte Evaluation

Für diesen Skill liegen nur die oben genannten Belege vor. Es wird keine Aufgabenerfolgsquote, Token-Effizienz, Latenz oder kein Qualitätsvorteil behauptet.

Nicht getestet

Verwendung mit der Quelle im Blick

Installationsbefehl
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.

Voraussetzungen

  • 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.

Beispiel-Prompts

Nicht angegeben

Ein Urteil, mit seinen Grenzen

Stärken

  • 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]

Abwägungen

  • No functional, security, or model-quality result has been established. Inspect source context and all cited findings before installation or publication.
Forschungsfazit

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

Konstruktiv nachvollziehbar

Das Dossier ist eine zeitlich begrenzte Lesart eines öffentlichen Artefakts, keine Empfehlung. Über den Quelllink können Sie das exakte Upstream-Material prüfen.

mukul975Anthropic-Cybersecurity-Skillsskills/conducting-api-security-testing
Quellenart
Community
Commit
54a798831d2266a3ca61ce68a7acb80b81160d57
Erfasst
20. Nov. 2026
Zuletzt geprüft
20. Nov. 2026
Upstream-Lizenz
Apache-2.0
Repository-Sterne
36.446
Inhaltsgrundlage

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.