analyzing-api-gateway-access-logs

analyzing-api-gateway-access-logs is a skill for Claude Code from Mikaru0Mystic/sectinel. It costs 72 tokens per session (500 once invoked), scanned A, a copy of analyzing-api-gateway-access-logs, Apache-2.0.

A procedure for examining API gateway access logs, which record requests passing through services such as AWS API Gateway, Kong, or Nginx.

In plain words
What is it for?
It parses logs with pandas, studies request patterns, and helps detect BOLA or IDOR attacks, rate-limit bypasses, credential scanning, and injection attempts.
Why use it?
It helps identify API abuse, including attempts to access other users’ records, bypass request limits, scan for credentials, or inject malicious input.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cybersecurity-skills plugin — 56 skills shipped together

Good fit It parses logs with pandas, studies request patterns, and helps detect BOLA or IDOR attacks, rate-limit bypasses, credential scanning, and injection attempts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mikaru0mystic/sectinel/analyzing-api-gateway-access-logs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Mikaru0Mystic/sectinel --skill analyzing-api-gateway-access-logs
Clone the repo
git clone --depth 1 https://github.com/Mikaru0Mystic/sectinel

Made for: Claude Code.

Or install cybersecurity-skills, the plugin that ships this one along with the rest of its 56 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for analyzing-api-gateway-access-logs

README.md
[![agentmods](https://agentmods.dev/badge/skills/mikaru0mystic/sectinel/analyzing-api-gateway-access-logs/github.svg)](https://agentmods.dev/skills/mikaru0mystic/sectinel/analyzing-api-gateway-access-logs)
Your own site
<a href="https://agentmods.dev/skills/mikaru0mystic/sectinel/analyzing-api-gateway-access-logs"><img src="https://agentmods.dev/badge/skills/mikaru0mystic/sectinel/analyzing-api-gateway-access-logs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for analyzing-api-gateway-access-logs

Your own site · 80×15
<a href="https://agentmods.dev/skills/mikaru0mystic/sectinel/analyzing-api-gateway-access-logs"><img src="https://agentmods.dev/badge/skills/mikaru0mystic/sectinel/analyzing-api-gateway-access-logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 500 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.00500
Opus 5 $0.00036 $0.00250
Sonnet 5 $0.00014 $0.00100
Haiku 4.5 $0.00007 $0.00050

Measured 10d ago against content hash d18100e444b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

analyzing-api-gateway-access-logs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/agent.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

89% identical to analyzing-api-gateway-access-logs — 22 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

arsenal/Anthropic-Cybersecurity-Skills/skills/analyzing-api-gateway-access-logs/SKILL.md · 72 lines

What it actually says

Analyzing API Gateway Access Logs

When to Use

  • When investigating security incidents that require analyzing api gateway access logs
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

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.

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

# 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]
Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 72 lines · 72 tokens per session scan A d18100e444b9

Subscribe to this mod's changes

analyzing-api-gateway-access-logs is a skill published in the GitHub repository Mikaru0Mystic/sectinel (11 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 72 tokens to every session and 500 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to analyzing-api-gateway-access-logs, differing in 22 lines, and is treated as a copy.

Related

Other skills, from other repositories

analyzing-api-gateway-access-logs

Use when 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 API-specific threat detection…

oyi77/1ai-skills · 73 tokens

analyzing-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 API-specific threat detection rules.

autohandai/community-skills · 72 tokens

analyzing-api-gateway-access-logs

A log-analysis guide for API gateways such as AWS API Gateway, Kong, and Nginx. It uses request records to spot patterns linked to common API attacks.

killvxk/cybersecurity-skills-zh · 85 tokens

analyzing-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 API-specific threat detection rules.

plurigrid/asi · 72 tokens

analyzing-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 API-specific threat detection rules.

pinkpixel-dev/skills-collection-1 · 72 tokens

analyzing-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 API-specific threat detection rules.

marysatasselshaped667/skills-collection-1 · 72 tokens