api-security-attack

api-security-attack is a skill for Claude Code from H4D3ZS/vscodium-rust. It costs 62 tokens per session (3,054 once invoked), scanned B, original, MIT.

A step-by-step method for testing the backend APIs used by mobile apps. It covers finding requests and checking access controls, tokens, GraphQL, rate limits, and server-side request handling.

In plain words
What is it for?
Use it to capture mobile traffic, list API endpoints, and test for IDOR/BOLA, weak permissions, JWT problems, mass assignment, SSRF, token theft, and rate-limit bypasses.
Why use it?
It gives security testers a structured way to find cases where users can access other users’ data or perform actions they should not be allowed to perform.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Good fit Use it to capture mobile traffic, list API endpoints, and test for IDOR/BOLA, weak permissions, JWT problems, mass assignment, SSRF, token theft, and rate-limit bypasses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/h4d3zs/vscodium-rust/api-security-attack
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 H4D3ZS/vscodium-rust --skill api-security-attack
Clone the repo
git clone --depth 1 https://github.com/H4D3ZS/vscodium-rust

Made for: Claude Code.

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 api-security-attack

README.md
[![agentmods](https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/api-security-attack/github.svg)](https://agentmods.dev/skills/h4d3zs/vscodium-rust/api-security-attack)
Your own site
<a href="https://agentmods.dev/skills/h4d3zs/vscodium-rust/api-security-attack"><img src="https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/api-security-attack/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 api-security-attack

Your own site · 80×15
<a href="https://agentmods.dev/skills/h4d3zs/vscodium-rust/api-security-attack"><img src="https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/api-security-attack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,054 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00062 $0.03054
Opus 5.5 $0.00025 $0.01222
Sonnet 5.5 $0.00012 $0.00611
Haiku 4.5 $0.00006 $0.00305

Measured yesterday against content hash 9ed174088f7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

api-security-attack scanned grade B with 3 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 yesterday.

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.

Sends data to an external URLlowData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

r = requests.post('https://api.target.com/api/v1/auth/verify-otp',

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

{"imageUrl": "http://169.254.169.254/latest/meta-data/"} # AWS metadata

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

r = requests.get(base_url.format(id=uid), headers={"Authorization": f"Bearer {token}"})
crates/engine/bundles/mobile-security-skills/skills/api-security-attack/SKILL.md · 369 lines

How it starts

The opening of the file, as written. The whole thing — 369 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mobile API Security Attack — Offensive Methodology

You are an API security researcher attacking the backend API of a mobile application. This covers the complete offensive workflow from traffic capture through chained exploitation.

Target

App / API: $ARGUMENTS


Phase 1: Traffic Capture & API Surface Discovery

1.1 Set Up Interception Proxy

iOS (preferred — Frida + mitmproxy, no proxy config needed on device):

# Option A: System proxy (device → Settings → Wi-Fi → Proxy → Manual)
mitmproxy --mode regular --ssl-insecure -p 8080

# Option B: mitmproxy transparent (no device config needed via routing)
mitmproxy --mode transparent --showhost -p 8080

# Option C: Frida http_intercept.js (for apps that bypass system proxy)
frida -U -f com.target.app -l http_intercept.js --no-pause

Capture all unique endpoints:

# From mitmproxy CLI, export to HAR then grep
mitmdump -w traffic.mitm
# Convert: mitmproxy --rfile traffic.mitm --script har_dump.py

# From Frida intercept log
grep '\[REQ\]' frida_output.log | awk '{print $2, $3}' | sort -u

1.2 Build API Inventory

For every endpoint, capture:

  • Method: GET/POST/PUT/PATCH/DELETE
  • Path + path parameters
  • Query parameters
  • Request headers (especially: Authorization, X-User-Id, X-Role, X-Device-Id)
  • Request body (JSON fields, especially IDs, roles, amounts)
  • Response structure (especially IDs, roles, PII, sensitive data)

Phase 2: Authentication & Authorization Attacks

2.1 BOLA / IDOR — Broken Object-Level Authorization

The most common high/critical finding in mobile apps. Every object ID is a potential IDOR.

Methodology:
1. Create Account A and Account B
2. With Account A, perform any action that returns an object ID
   (order ID, user ID, document ID, message ID, etc.)
3. Replay the exact same request using Account B's token
   but Account A's object ID
4. If you get Account A's data → IDOR (Critical)

Attack patterns:

# Original (Account A):
GET /api/v1/users/10482/profile
Authorization: Bearer <token_A>

# Attack (Account B's token, Account A's ID):
GET /api/v1/users/10482/profile
Authorization: Bearer <token_B>

# Horizontal privilege escalation — same role, different account
# Vertical privilege escalation — access admin/staff endpoints with user token

Read the full file on GitHub · 369 lines

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. yesterday First seen · 369 lines · 62 tokens per session scan B 9ed174088f7f

Subscribe to this mod's changes

api-security-attack is a skill published in the GitHub repository H4D3ZS/vscodium-rust (257 stars, last pushed today), licensed MIT. It adds 62 tokens to every session and 3,054 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 3 findings (sends data to an external url, cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.

Related

api-security-attack compared with skills from other repositories

api-security-attack next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-security-attackH4D3ZS/vscodium-rustSkill257todayMITB62Claude Code
mem0-oss-to-platformmem0ai/mem0Skill70k5d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.3ktodayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3ktodayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill701todayMITA105Claude Code, Codex