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.
npx agentmods add skills/transilienceai/communitytools/api-securitynpx skills add transilienceai/communitytools --skill api-securitygit clone --depth 1 https://github.com/transilienceai/communitytoolsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00024 | $0.00882 |
| Opus 5 | $0.00012 | $0.00441 |
| Sonnet 5 | $0.00005 | $0.00176 |
| Haiku 4.5 | $0.00002 | $0.00088 |
Grade A, and why
api-security 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.
API Security
Test API endpoints for security vulnerabilities across REST, GraphQL, WebSocket, and LLM-integrated APIs.
Techniques
| Type | Key Vectors |
|---|---|
| GraphQL | Introspection, batching attacks, nested query DoS, field suggestion |
| REST API | BOLA/IDOR, mass assignment, rate limiting, auth bypass, versioning |
| WebSocket | Cross-site hijacking, message manipulation, auth flaws |
| Web-LLM | Prompt injection via API, excessive agency, data exfiltration |
Workflow
- Discover API endpoints and documentation (Swagger, GraphQL schema)
- Map authentication and authorization mechanisms
- Test per API type using appropriate techniques
- Validate data exposure and access control flaws
- Capture evidence with HTTP request/response logs
API at scale (offline corpus / fixture-driven)
For a large or offline API surface — a 2000+ path Swagger, a Postman corpus, a HAR capture — do NOT hand-build the coverage machinery per engagement. Drive it deterministically:
- Ingest the corpus → per-endpoint fixtures:
python3 tools/fixture_ingest.py <openapi|postman|har> -o fixtures.jsonnormalizes every operation into a request template (method, url with path params filled, sampled body,object_reffor id-like path params, security requirement) and STRIPS baked-in auth (the harness injects tokens). This is what turns a large (thousands-of-operations) OpenAPI/Postman corpus into a resumable matrix instead of an untested pile. - Acquire per-role sessions: via
authenticated-session-acquisition(MFA/OTP/SRP → reusable tokens) into the harness's token store. - Replay the per-role authz matrix:
python3 tools/auth_replay_harness.py --requests fixtures.json --tokens tokens.json [--proxy <vantage>]replays every endpoint under every role (and cross-tenant), flags BOLA/BFLA where a role gotauthorizedon an object/action it should not, and logs anevidence_idper (endpoint × role). Egress-route via the provisioned vantage for allowlisted APIs. - Protocol-specific authz: OData (
odata-deep-authz.md), Cognito (cognito-unauth-and-srp.md), authenticated WebSocket (authenticated-per-role-authz.md).
What ships with it
42 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.
- reference/api-security-principles.md 6.8 KB
- reference/graphql-resources.md 4.0 KB
- reference/INDEX.md 4.5 KB
- reference/owasp-api-top10-coverage.md 9.2 KB
- reference/scenarios/graphql/auth-bypass-and-injection.md 3.2 KB
- reference/scenarios/graphql/csrf-and-content-type.md 2.6 KB
- reference/scenarios/graphql/dos-and-batching.md 1.9 KB
- reference/scenarios/graphql/endpoint-discovery.md 2.4 KB
- reference/scenarios/graphql/idor-and-mass-enumeration.md 4.8 KB
- reference/scenarios/graphql/introspection-and-bypass.md 4.6 KB
- reference/scenarios/graphql/rate-limit-bypass.md 3.2 KB
- reference/scenarios/graphql/schema-reconstruction.md 2.6 KB
- reference/scenarios/mcp/inspector-stdio-rce.md 6.4 KB
- reference/scenarios/rest/api-recon-and-discovery.md 4.8 KB
- reference/scenarios/rest/cognito-unauth-and-srp.md 3.7 KB
- reference/scenarios/rest/content-type-confusion-xxe.md 2.8 KB
- reference/scenarios/rest/cors-misconfiguration.md 5.2 KB
- reference/scenarios/rest/exposed-documentation.md 2.6 KB
- reference/scenarios/rest/https-downgrade-redirect-hsts.md 4.9 KB
- reference/scenarios/rest/mass-assignment.md 4.0 KB
- reference/scenarios/rest/mattermost-slash-command-dialog-hijack.md 5.3 KB
- reference/scenarios/rest/odata-deep-authz.md 3.9 KB
- reference/scenarios/rest/options-method-enumeration.md 2.7 KB
- reference/scenarios/rest/owasp-bola-bopla.md 4.0 KB
- reference/scenarios/rest/sspp-query-string.md 3.7 KB
- reference/scenarios/rest/sspp-rest-path.md 3.3 KB
- reference/scenarios/rest/unauth-existence-oracle.md 4.3 KB
- reference/scenarios/rest/unauthenticated-webhook-oracle.md 4.8 KB
- reference/scenarios/rest/verbose-error-schema-disclosure.md 5.1 KB
- reference/scenarios/rest/waf-bypass-techniques.md 4.0 KB
- reference/scenarios/web-llm/insecure-output-xss.md 4.8 KB
- reference/scenarios/web-llm/os-command-injection-via-llm.md 4.2 KB
- reference/scenarios/web-llm/prompt-injection-direct.md 3.4 KB
- reference/scenarios/web-llm/prompt-injection-indirect.md 4.2 KB
- reference/scenarios/web-llm/sqli-via-llm.md 3.5 KB
- reference/scenarios/websocket/auth-bypass-and-handshake-tricks.md 3.5 KB
- reference/scenarios/websocket/authenticated-per-role-authz.md 3.3 KB
- reference/scenarios/websocket/cswsh.md 3.9 KB
- reference/scenarios/websocket/discovery-and-handshake.md 4.0 KB
- reference/scenarios/websocket/message-injection.md 7.3 KB
- reference/web-llm-attacks-resources.md 5.1 KB
- reference/websockets-resources.md 3.9 KB
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.
- 2d ago First seen · 47 lines · 24 tokens per session scan A e20bd6730a7d
api-security is a skill published in the GitHub repository transilienceai/communitytools (498 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 882 once invoked, about $0.0001 per session on Opus 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-30.
Other skills, from other repositories
pentester-playwright
Phases 1b/3/4 authorized browser automation — SPA recon, multi-role auth, route/API catalog, PoC screenshots, Evidence landing (scoped proxy). Skill-gate read for web phases. Use when Phase 1b/3/4 web work, JS-rendered SPA, real browser needed, HAR/network capture, or Playwright PoC evidence.
osint-recon
Phase 1 conditional OSINT depth — four-dimension model (server→site→domain→people; people is conditional). Skill-gate companion to pentester-enum-services / pentester-recon. Use for passive OSINT depth, full recon dimensions, author tracking, not as Phase 0/Schema replacement.
pentester-exploit
Phase 4 exploitation — PoC construction, exploit-db/msf search, safe verification. Required Skill-gate read at Phase 4. Use when starting Phase 4, exploitation, exploit, PoC, exploit-db, msf, Metasploit, or payload delivery.
pentester-recon
Phase 1 intelligence recon methodology — passive+active recon, stack fingerprint, attack-surface map. Required Skill-gate read at Phase 1 (with pentester-enum-services). Use when starting Phase 1, intelligence gathering, recon, reconnaissance, OSINT prep, target profiling, or attack surface mapping.
pentester-toolkit
Provision the pinned pentest toolset via DotSlash for the current scanenv (host-kali or kali-target-${ID}). Adapter, not a tool wrapper.
pentester-waf-bypass
Phase 4 conditional — WAF/filter bypass for authorized CTF/range/pentest when payloads are blocked. Use at Phase 4 if blocked, or when user mentions WAF bypass, filter evasion, SQL/XSS/command-injection bypass, or security filter analysis.