razor25000/cybersecurityskills/analyzing-api-gateway-access-logs

Claude Code and agent skill by razor25000/cybersecurityskills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

'Parses API Gateway access logs (AWS API Gateway, Kong, Nginx) to detect

Install

npx vskill@latest install razor25000/cybersecurityskills/analyzing-api-gateway-access-logs

SKILL.md

The same SKILL.md was published earlier as razor25000/cybersecurityskills/analyzing-api-gateway-access-logs.

Analyzing API Gateway Access Logs

When to Use

  • When a SIEM alert fires and you need a structured triage procedure to avoid false positive fatigue
  • When building new detection content and need reference queries for this technique
  • When security operations need to reduce mean-time-to-detect (MTTD) on a specific attack pattern
  • When a new log source is onboarded and needs baseline correlation rules
  • When reviewing SOC metrics and identifying detection gaps by ATT&CK tactic coverage
  • When a purple team exercise reveals detection blind spots that require new rule development

Prerequisites

  • Familiarity with security operations concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Instructions

Parse API gateway access logs to identify attack patterns including broken object level authorization (BOLA), excessive data exposure, and injection attempts.

python
import pandas as pd
df = pd.read_json("api_gateway_logs.json", lines=True)
# Detect BOLA: same user accessing many different resource IDs
bola = df.groupby(["user_id", "endpoint"]).agg(
unique_ids=("resource_id", "nunique")).reset_index()
suspicious = bola[bola["unique_ids"] > 50]

Key detection patterns:

  1. BOLA/IDOR: sequential resource ID enumeration
  2. Rate limit bypass via header manipulation
  3. Credential scanning (401 surges from single source)
  4. SQL/NoSQL injection in query parameters
  5. Unusual HTTP methods (DELETE, PATCH) on read-only endpoints

Examples

python
# Detect 401 surges indicating credential scanning
auth_failures = df[df["status_code"] == 401]
scanner_ips = auth_failures.groupby("source_ip").size()
scanners = scanner_ips[scanner_ips > 100]

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/razor25000/cybersecurityskills/analyzing-api-gateway-access-logs/badge)](https://verified-skill.com/skills/razor25000/cybersecurityskills/analyzing-api-gateway-access-logs)

Something wrong with this skill or its page? Tell us.