Skills for Real Engineers. Straight from my .agents directory.
analyzing-api-gateway-access-logs
Agent skill frommukul975/Anthropic-Cybersecurity-Skills
'Parses API Gateway access logs (AWS API Gateway, Kong, Nginx) to detect
How to install analyzing-api-gateway-access-logs
npx skills add mukul975/Anthropic-Cybersecurity-Skills# or add only this skill to Claude Code: copy the folder
skills/analyzing-api-gateway-access-logs/
# into
~/.claude/skills/analyzing-api-gateway-access-logs/ (all projects)
.claude/skills/analyzing-api-gateway-access-logs/ (one project)
1# Analyzing API Gateway Access Logs234## When to Use56- When investigating security incidents that require analyzing api gateway access logs7- When building detection rules or threat hunting queries for this domain8- When SOC analysts need structured procedures for this analysis type9- When validating security monitoring coverage for related attack techniques1011## Prerequisites1213- Familiarity with security operations concepts and tools14- Access to a test or lab environment for safe execution15- Python 3.8+ with required dependencies installed16- Appropriate authorization for any testing activities1718## Instructions1920Parse API gateway access logs to identify attack patterns including broken object21level authorization (BOLA), excessive data exposure, and injection attempts.2223```python24import pandas as pd2526df = pd.read_json("api_gateway_logs.json", lines=True)27# Detect BOLA: same user accessing many different resource IDs28bola = df.groupby(["user_id", "endpoint"]).agg(29 unique_ids=("resource_id", "nunique")).reset_index()30suspicious = bola[bola["unique_ids"] > 50]31```3233Key detection patterns:341. BOLA/IDOR: sequential resource ID enumeration352. Rate limit bypass via header manipulation363. Credential scanning (401 surges from single source)374. SQL/NoSQL injection in query parameters385. Unusual HTTP methods (DELETE, PATCH) on read-only endpoints3940## Examples4142```python43# Detect 401 surges indicating credential scanning44auth_failures = df[df["status_code"] == 401]45…
Excerpt shown under the repository's Apache-2.0 license.
More skills in Anthropic-Cybersecurity-Skills
- ▸abusing-dpapi-for-credential-access
- ▸abusing-shadow-credentials-for-privesc
- ▸achieving-cmmc-level-2-compliance
- ▸acquiring-disk-image-with-dd-and-dcfldd
- ▸analyzing-active-directory-acl-abuse
- ▸analyzing-android-malware-with-apktool
- ▸analyzing-apt-group-with-mitre-navigator
- ▸analyzing-azure-activity-logs-for-threats
- ▸analyzing-bootkit-and-rootkit-samples
- ▸analyzing-browser-forensics-with-hindsight
- ▸analyzing-campaign-attribution-evidence
- ▸analyzing-certificate-transparency-for-phishing
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
