Skip to content
Skills Library
Security · Analysis

api-abuse-detection

/api-abuse-detection

Detect and investigate API abuse and data exposure — enumeration/scraping, BOLA exploitation, token misuse, excessive data retrieval, unrestricted business flows — from gateway/WAF/application logs, and scope affected records. Use when an API shows anomalous traffic, a researcher reports an API data leak, or you need detections for OWASP API risks in production.

Repository
Claude-Blue ↗
Licence
MIT
Last repository change
01.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
3
Deprecation

No signals detected. Repository changed on 01.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Detect and investigate API abuse and data exposure — enumeration/scraping, BOLA exploitation, token misuse, excessive data retrieval, unrestricted business flows — from gateway/WAF/application logs, and scope affected records. Use when an API shows anomalous traffic, a researcher reports an API data leak, or you need detections for OWASP API risks in production.

Original author description

Detect and investigate API abuse and data exposure — enumeration/scraping, BOLA exploitation, token misuse, excessive data retrieval, unrestricted business flows — from gateway/WAF/application logs, and scope affected records. Use when an API shows anomalous traffic, a researcher reports an API data leak, or you need detections for OWASP API risks in production.

How it works

  1. Log fields you need
  2. Detection patterns
  3. Incident scoping
  4. Related skills
  5. References
Original SKILL.md headings · 49 lines, 323 words
SKILL.md preview
---
name: api-abuse-detection
description: Detect and investigate API abuse and data exposure — enumeration/scraping, BOLA exploitation, token misuse, excessive data retrieval, unrestricted business flows — from gateway/WAF/application logs, and scope affected records. Use when an API shows anomalous traffic, a researcher reports an API data leak, or you need detections for OWASP API risks in production.
license: MIT
metadata:
  category: api-security
  version: "2.0.0"
  verification: documented
---

# API Abuse Detection and Investigation

## Log fields you need

Timestamp, client IP, authenticated principal (user ID / client ID / API key ID), tenant, method, route template (`/orders/{id}`) **and** concrete path, object IDs, status code, response size, latency, user agent, request ID. Without principal and object ID, BOLA scoping is impossible — fix logging first.

## Detection patterns

| Abuse | Signal |
|---|---|
| BOLA enumeration | One principal accessing many distinct object IDs not owned by them; sequential ID walks; high ratio of 403/404 then 200s |
| Scraping | High request rate per principal/IP across list endpoints; many pages; non-browser UAs; rotating IPs with same token |
| Token misuse | Same token from many IPs/ASNs/countries; token used after user offboarding; API key from unexpected networks |
| Excessive data | Response sizes far above baseline for an endpoint; `limit=10000` parameters |
| Business-flow abuse (API6) | Mass account creation, coupon redemption, ticket purchase bursts |
| Credential stuffing against auth APIs | `credential-stuffing-defense` |

Splunk example (BOLA candidate):
```spl
index=api route="/api/v2/orders/{id}" status=200 earliest=-24h
| stats dc(object_id) as objects dc(owner_id) as owners by principal_id
| where objects > 200 AND owners > 20 | sort -objects
```
Sentinel (APIM / App Gateway logs, columns depend on diagnostic category):
```kusto
ApiManagementGatewayLogs
| where TimeGenerated > ago(1d)
| summarize requests=count(), distinctUrls=dcount(Url), avgBytes=avg(ResponseSize) by CallerIpAddress, ApimSubscriptionId
| where distinctUrls > 500
```

## Incident scoping

1. Identify the vulnerable endpoint and the abusing principals/IPs.
2. Enumerate every object returned to those principals (object IDs + response sizes) → affected records and data fields.
3. Determine time window (first abusive request to fix deployment) and whether other principals exploited it.
4. Hand off to `privacy-incident-assessment` with counts and data types.

## Related skills

`api-authorization-testing`, `waf-rule-tuning`, `credential-stuffing-defense`, `data-exposure-investigation`

## References

- OWASP API Security Top 10 2023: https://owasp.org/API-Security/editions/2023/en/0x11-t10/
- OWASP Automated Threats to Web Applications: https://owasp.org/www-project-automated-threats-to-web-applications/
- Azure API Management diagnostics logs: https://learn.microsoft.com/en-us/azure/api-management/monitor-api-management

Versions

The database has no other skills named api-abuse-detection.

Database snapshot: 13.11.2026 · package version 86a279a11f91 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 98detecting-api-enumeration-attacks
    Detect API enumeration attacks (BOLA/IDOR, OWASP API1:2023) by writing SIEM detection rules that flag sequential or UUID identifier iteration, parameter tampering, and mixed 200/401/403 response patterns from API gateway and WAF logs. Use when investigating suspected…
  • 100analyzing-api-gateway-access-logs
    Parses API Gateway access logs (AWS API Gateway, Kong, Nginx) to detect BOLA/IDOR attacks, rate limit bypass, credential scanning, and injection attempts. Uses pandas for statistical analysis of request patterns and anomaly detection. Use when investigating API abuse or building…
  • 100api-security-review
    Review OpenAPI specs, GraphQL schemas and API endpoint code against the OWASP API Security Top 10 (2023), covering BOLA, broken auth, mass assignment and data exposure, rate limits and pagination caps, BFLA, SSRF, misconfiguration and API inventory, using Spectral with the OWASP…
  • 90security-api-security
    Use this skill when asked about API security, OWASP API Top 10, rate limiting, API authentication, JWT security, OAuth2, API key management, API gateway, WAF, API abuse, request signing, or API threat modeling. This skill enforces: OWASP API Top 10 threat modeling,…
  • 100api-audit
    Audit REST, GraphQL, and RPC APIs against the OWASP API Security Top 10 (2023). Use when the user mentions 'API security,' 'API audit,' 'BOLA,' 'broken object level authorization,' 'BFLA,' 'function-level authorization,' 'mass assignment,' 'API rate limiting,' 'GraphQL…
  • 100abuse-detection
    Detect and analyze abusive accounts on Pollinations. IP clustering, multi-signal scoring, ban recommendations. Use when investigating abuse, bot farms, or suspicious usage patterns.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.