All skills
hardw00t avatar

/api-security

@f9bb3b2

Router skill for API penetration testing across REST, GraphQL, gRPC, and WebSocket. Covers OWASP API Top 10 (2023) including BOLA/BFLA/BOPLA, JWT attack chains, GraphQL introspection abuse, and mass assignment. Invoke when the user asks to pentest an API, analyze OpenAPI/Swagger, test auth/authorization, fuzz endpoints, or find API vulnerabilities.

Use this Skill: https://skilld.dev/gh/hardw00t/ai-security-arsenal/api-security

This session only. Nothing lands on disk.

examplesbola_finding.md

≈365 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Example: BOLA Finding Blueprint

A filled-in instance of schemas/finding.json for a BOLA exploit.

{
  "id": "APISEC-2026-001",
  "title": "BOLA in GET /api/v1/users/{id} allows cross-user data read",
  "severity": "critical",
  "confidence": "confirmed",
  "cwe": "CWE-639",
  "owasp": "API1:2023",
  "owasp_api_id": "API1:2023",
  "cvss": 8.1,
  "endpoint": "/api/v1/users/{id}",
  "http_method": "GET",
  "api_type": "rest",
  "auth_context": "cross-user",
  "affected": {
    "service": "users-api",
    "version": "3.14.2"
  },
  "evidence": {
    "request": "GET /api/v1/users/456 HTTP/1.1\nHost: target.tld\nAuthorization: Bearer <userA_token>",
    "response": "HTTP/1.1 200 OK\nContent-Type: application/json\n\n{\"id\":456,\"email\":\"userb@example.com\",\"ssn\":\"XXX-XX-XXXX\"}"
  },
  "reproduction": [
    "Register userA (id=123) and userB (id=456).",
    "Authenticate as userA and capture bearer token.",
    "Send GET /api/v1/users/456 with userA token.",
    "Observe HTTP 200 with userB PII in body."
  ],
  "remediation": "Enforce object-level authorization: verify the authenticated principal is the owner of or explicitly permitted to read the target object. Prefer indirect references or ACL checks at the service layer, not just the gateway.",
  "references": [
    "https://owasp.org/API-Security/editions/2023/en/0xa1-broken-object-level-authorization/",
    "https://cwe.mitre.org/data/definitions/639.html"
  ]
}

Source: SKILL.md on GitHub

1 warning16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The analyzed skill contains standard penetration testing guides, methodology documents, and common vulnerability checklists for API security auditing. No malicious behavior, prompt injection, or hidden execution channels were detected.

  • Socket16d

    3 alerts: gptSecurity

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    1/1 file flagged

Signed by skilld at f9bb3b2. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 6 months ago

README badge

README badge for hardw00t/ai-security-arsenal/api-security