api-security
Secure APIs as hard gate: BOLA, authn/authz, property-level authz, consumption limits, SSRF, misconfig, inventory.
Skill by chnetajibc
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/chnetajibc-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.
About
Use cases: backend, security
Reviews
Write a reviewNo 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. Checked Oct 25, 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
- Secure APIs as hard gate: BOLA, authn/authz, property-level authz, consumption limits, SSRF, misconfig, inventory. Ask: can A access Bs object? Can low-privilege hit admin?
- License
- MIT
- Instructions
- 45 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# api-security Every endpoint answers: who can call this, on whose objects, with what fields, at what cost. ## Activate when - Designing, implementing, or reviewing any API; adding endpoints, fields, webhooks, or integrations. ## Do NOT activate for - Non-API app code (see secure-baseline); identity mechanics (see authentication). ## Inspection Inventory routes with methods, auth requirements, object scoping, accepted fields, and cost profile (compute, I/O, third-party calls). ## Decision rules - BOLA first: every object access scoped to the caller; test user-A vs user-B on each endpoint. - Function-level: role checks on every route including admin/internal ones; no security by obscurity. - Property-level: mass-assignment allowlists per role; sensitive fields never writable/readable by default. - Consumption: rate limits + cost caps on expensive endpoints; pagination bounded; no unbounded exports. - SSRF: no server-side fetches of user URLs without allowlist + no-metadata-IP egress; validate webhooks with signatures. - Hygiene: security headers, CORS allowlisted, error responses uniform, deprecated versions inventoried and sunset. ## Procedure 1. Threat-list the new surface (spoofing, tampering, repudiation, info disclosure, DoS, elevation) in one pass. 2. Implement authz + validation + limits before business logic; deny by default. 3. Write the attacker tests: cross-user, low-privilege-admin, over-posting, quota-busting, SSRF probe. 4. Verify: attacker matrix green, headers audited, inventory updated, findings mapped to OWASP API Top 10. ## Failure modes - Auth on most routes but not export/admin/debug ones; client-enforced roles; verbose errors leaking internals; unlimited pagination; SSRF via webhook URLs or image fetches. ## Escalation Deep auth design → authentication/authorization; full audit → security/secure-baseline. ## References - Related: `../authentication/`, `../authorization/`, `../validation/`, `../rate-limiting/`, `../../security/secure-baseline/`.
From chnetajibc/skill-repo, MIT.
More from chnetajibc/skill-repo
- 0.524score
api-design
chnetajibc
API contract design: resources, error envelopes, pagination, versioning, evolution.
SkillBFreshness: BClaude Code +9 - 0.524score
agent-architecture
chnetajibc
Design agent loops: planning, tool use, subagents, memory, RAG, evals, budgets.
SkillBFreshness: BClaude Code +9 - 0.524score
mcp-engineering
chnetajibc
Build MCP servers with well-named tools, workflow-oriented coverage, and clear errors.
SkillBFreshness: BClaude Code +9 - 0.524score
skill-design
chnetajibc
Author Agent Skills with progressive disclosure: thin SKILL.md, details in references, scripts for execution.
SkillBFreshness: BClaude Code +9 - 0.524score
api-design
chnetajibc
Implement backend APIs: REST/GraphQL/gRPC/WebSocket/SSE/webhooks, auth, pagination, idempotency, retries, versioning, docs.
SkillBFreshness: BClaude Code +9 - 0.521score
domain-modeling
chnetajibc
Model entities, value objects, aggregates, ownership, invariants.
SkillBFreshness: BClaude Code +9 - 0.521score
error-handling
chnetajibc
Handle errors explicitly: typed errors, no silent swallowing, no catch-all.
SkillBFreshness: BClaude Code +9 - 0.521score
language-modularity
chnetajibc
Per-language module structure: Python, TypeScript, JavaScript, Go, Rust, Java.
SkillBFreshness: BClaude Code +9 - 0.521score
modularity
chnetajibc
Enforce module contracts and boundaries: frontend/backend separation, repo guardrails.
SkillBFreshness: BClaude Code +9 - 0.521score
solid
chnetajibc
SOLID as diagnostic tool per language, not ceremony.
SkillBFreshness: BClaude Code +9 - 0.521score
authentication
chnetajibc
Authentication: JWT/OAuth-OIDC/sessions/API keys, password storage, secrets, CSRF/CORS/cookies.
SkillBFreshness: BClaude Code +9 - 0.521score
clean-code
chnetajibc
Write readable maintainable code: clear names, small units, low coupling, high cohesion.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 22, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/chnetajibc/skill-repo
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from chnetajibc
- 0.524score
api-design
chnetajibc
Implement backend APIs: REST/GraphQL/gRPC/WebSocket/SSE/webhooks, auth, pagination, idempotency, retries, versioning, docs.
SkillBFreshness: BClaude Code +9 - 0.524score
agent-architecture
chnetajibc
Design agent loops: planning, tool use, subagents, memory, RAG, evals, budgets.
SkillBFreshness: BClaude Code +9 - 0.524score
mcp-engineering
chnetajibc
Build MCP servers with well-named tools, workflow-oriented coverage, and clear errors.
SkillBFreshness: BClaude Code +9 - 0.524score
skill-design
chnetajibc
Author Agent Skills with progressive disclosure: thin SKILL.md, details in references, scripts for execution.
SkillBFreshness: BClaude Code +9 - 0.524score
api-design
chnetajibc
API contract design: resources, error envelopes, pagination, versioning, evolution.
SkillBFreshness: BClaude Code +9 - 0.521score
solid
chnetajibc
SOLID as diagnostic tool per language, not ceremony.
SkillBFreshness: BClaude Code +9
Cite this page
api-security skill. Agent Mart. https://agentmart.dev/skills/chnetajibc-api-security (last updated 2026-10-24)