Skip to content
Agentmart
Submit a tool

api-security

Use when securing REST or GraphQL APIs against common auth, authorization, validation, and abuse risks.

Skill by ivegamsft

IndexedMIT★ 4
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ivegamsft-api-security

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when securing REST or GraphQL APIs against common auth, authorization, validation, and abuse risks. USE FOR: secure JWT authentication for an API, add rate limiting to endpoints, review API authorization flaws, harden GraphQL queries and mutations, prevent SQL injection in API handlers. DO NOT USE FOR: network firewall design, frontend styling work, general cloud cost reviews.

Use cases: design, frontend, backend, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/api-security

What's inside

Skill name
api-security
Description
Use when securing REST or GraphQL APIs against common auth, authorization, validation, and abuse risks. USE FOR: secure JWT authentication for an API, add rate limiting to endpoints, review API authorization flaws, harden GraphQL queries and mutations, prevent SQL injection in API handlers. DO NOT USE FOR: network firewall design, frontend styling work, general cloud cost reviews.
License
MIT
Metadata
category: security · maturity: stable
Instructions
33 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • compatibility: must be text of at most 500 characters
  • allowed-tools: must be a space-separated string

Files (4)

  • SKILL.md
  • eval.yaml
  • controls.md · references/
  • threat-model.md · references/

SKILL.md (first lines)

# API Security Skill

Production patterns for securing REST and GraphQL APIs against OWASP API Security Top 10.

## Reference Files

| File | Contents |
|------|----------|
| [`references/threat-model.md`](references/threat-model.md) | OWASP Top 10 table, JWT auth, RBAC, input validation/XSS, SQL injection prevention, GraphQL security, security logging |
| [`references/controls.md`](references/controls.md) | Rate limiting, API key verification, CORS configuration, security headers, controls checklist |

## Core Controls (Quick Reference)

| Control | Pattern |
|---------|---------|
| Authentication | JWT with short expiry (≤1 hr); rotate refresh tokens |
| Authorization | RBAC via `require_role()` on every endpoint |
| Input validation | Pydantic/Zod schema + HTML escape on user content |
| Injection prevention | Parameterized queries only — no string concatenation |
| Rate limiting | `slowapi` — 5/min on auth, 100/hr on search |
| CORS | Explicit `allow_origins` list — never `["*"]` in production |
| Transport | HTTPS + security headers (HSTS, CSP, X-Frame-Options) |

## Security Logging

Log all auth events (success + failure) with username, IP, and timestamp.
Never log passwords or tokens.

## References

- [OWASP API Security Top 10](https://owasp.org/www-project-api-security/)
- [OWASP Top 10 2021](https://owasp.org/Top10/)

From ivegamsft/basecoat, MIT.

More from ivegamsft/basecoat

Signals

Stars
4
Forks
1
Open issues
10
Last commit (this folder)
Jul 8, 2026 (3 months ago)
Last release
Oct 11, 2026 (17 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ivegamsft

Cite this page

api-security skill. Agent Mart. https://agentmart.dev/skills/ivegamsft-api-security (last updated 2026-10-24)