api-security-tester

api-security-tester is an agent for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 76 tokens per session (939 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 for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the api-security-testing plugin — 1 skill, 1 command, 2 agents shipped together

Good fit 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.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hermeticormus/libresecops-claude-code/api-security-tester
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.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install api-security-testing, the plugin that ships this one along with the rest of its 1 skill, 1 command, 2 agents.

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/github.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/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-tester

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 939 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 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.00076 $0.00939
Opus 5.5 $0.00030 $0.00376
Sonnet 5.5 $0.00015 $0.00188
Haiku 4.5 $0.00008 $0.00094

Measured 1mo ago against content hash 9b6016533ac4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 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 · 73 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. 1mo ago Changed · +6 lines · +76 tokens per session 9b6016533ac4
  2. 3mo 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 1mo ago), licensed MIT. It adds 76 tokens to every session and 939 once invoked, about $0.0003 per session on Opus 5.5. 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

api-security-tester compared with agents from other repositories

api-security-tester next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-security-testerHermeticOrmus/LibreSecOps-Claude-CodeAgent41mo agoMITA76Claude Code
api-securityhumaidhahm/opencode-pentesterAgent1022d agononeA50Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code