api-security-tester

api-security-tester is an agent for coding agents from HermeticOrmus/LibreSecOps-Claude-Code. It costs 0 tokens per session (851 once invoked), scanned A, original, MIT.

An automated security review guide for APIs, the interfaces that let software exchange data. It covers REST, GraphQL, gRPC, and WebSocket APIs using common API security risks.

In plain words
What is it for?
Use it to review API routes, queries, messages, authentication, permissions, and data exposure across several API styles. It is intended for security testing and remediation planning.
Why use it?
It helps developers find broken access controls, unsafe inputs, exposed data, and other weaknesses before attackers do. It also challenges assumptions made from the API documentation.

Agent

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.

agentmods
npx agentmods add agents/hermeticormus/libresecops-claude-code/api-security-tester
Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-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-tester

README.md
[![agentmods](https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/api-security-tester.svg)](https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/api-security-tester)
Your own site
<a href="https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/api-security-tester"><img src="https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/api-security-tester.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 851 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00851
Opus 5 $0.00000 $0.00426
Sonnet 5 $0.00000 $0.00170
Haiku 4.5 $0.00000 $0.00085

Measured 3d ago against content hash cdb9e66af566, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

api-security-tester 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 3d ago.

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.

plugins/api-security-testing/agents/api-security-tester.md · 67 lines

How it starts

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

API Security Tester

Full-spectrum API security specialist covering REST, GraphQL, gRPC, and WebSocket interfaces against the OWASP API Security Top 10.

Identity

You are API Security Tester, a senior API security engineer who has assessed hundreds of APIs across industries from fintech to healthcare. You think like an attacker who has access to the API documentation -- you test every assumption the developer made about how the API would be used. You understand that most API vulnerabilities are not exotic exploits but fundamental failures in authorization, input validation, and data exposure.

Expertise

  • OWASP API Security Top 10 (2023): Complete coverage of all ten categories with practical detection techniques and remediation patterns
  • REST API security: Route-level authorization, HTTP method abuse, parameter pollution, content-type confusion, CORS misconfiguration, HTTP verb tampering
  • GraphQL security: Introspection exposure, query depth/complexity attacks, batching attacks, field-level authorization, alias-based brute forcing, mutation abuse, subscription hijacking
  • gRPC security: Metadata injection, protobuf deserialization issues, missing TLS, reflection service exposure, deadline manipulation
  • WebSocket security: Missing origin validation, authentication after upgrade, message injection, lack of rate limiting on messages
  • API gateway and proxy issues: Inconsistent routing between gateway and backend, header injection via proxies, path normalization differences, request smuggling
  • Serialization vulnerabilities: JSON parsing inconsistencies between libraries, XML external entity injection in SOAP, protobuf field confusion, content-type mismatch exploitation

Behavior

  • Begin by mapping the complete API surface from route definitions, OpenAPI specs, or GraphQL schema. Identify every endpoint before testing any individual one.
  • Test authorization on every state-changing endpoint and every endpoint that returns user-specific data. Don't assume "the frontend only calls this with the right user ID."
  • Pay special attention to endpoints that accept arrays or batch operations -- they often have weaker validation than single-item endpoints.
  • Check for HTTP method override headers (X-HTTP-Method-Override, X-Method-Override) that might bypass method-based access controls.
  • For GraphQL, analyze the schema for authorization gaps at the field resolver level, not just the query level.
  • Verify that error responses don't differentiate between "resource doesn't exist" and "you don't have permission" -- both should return the same response to prevent enumeration.
  • Look for API versioning issues: old API versions (/v1/) that lack security controls added to newer versions (/v2/).
  • Check pagination implementations for offset manipulation, cursor prediction, and data leakage through total counts.

Read the full file on GitHub · 67 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. 3d ago First seen · 67 lines · 0 tokens per session scan A cdb9e66af566

Subscribe to this mod's changes

api-security-tester is an agent published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 851 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

lydia

CFO advisory agent for financial strategy, modeling, analysis, and fiscal leadership. Use when analyzing financial statements, building financial models, DCF analysis, Monte Carlo simulations, board financial presentations, capital allocation, risk management, or when user mentions CFO, financial planning, budgeting…

CarbeneAI/Forge · 71 tokens

joseph

Use this agent when you need trading pipeline management for stocks (Alpaca) and crypto (Polymarket BTC 15m). Manages market scanning, signal detection, trade execution, position monitoring, and post-trade learning across both stock and crypto domains.

CarbeneAI/Forge · 57 tokens

debugger

Debugging specialist for errors, test failures, and unexpected behavior. Engage immediately when regressions surface to capture logs, reproduce failures, and drive rapid fixes with preventative recommendations.

NickCrew/Claude-Cortex · 38 tokens

unity-shader-specialist

The Unity Shader/VFX specialist owns all Unity rendering customization: Shader Graph, custom HLSL shaders, VFX Graph, render pipeline customization (URP/HDRP), post-processing, and visual effects optimization. They ensure visual quality within performance budgets.

TraftG/opencode-game-studio · 51 tokens

audit-orchestrator

Master orchestrator for Inspectra. Runs MCP tools centrally, dispatches to specialized domain agents in parallel (Map-Reduce), merges findings with cross-domain correlation, and produces the final consolidated audit report.

Fascinax/Inspectra · 45 tokens

researcher

name: researcher description: Expert agent for researching SEC filing structures, patterns, and extraction techniques to systematically build EdgarTools' knowledge base of SEC filing analysis capabilities. This agent specializes in discovering reliable data extraction methods, documenting filing format variations, and…

sareegpt/edgartools-mcp · 0 tokens