danielpohlmann/ia-marktplace/security-api-security

Claude Code and agent skill by danielpohlmann/ia-marktplace

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when hardening REST API endpoints against common attacks. USE FOR: rate limiting, CORS, CSP, security headers, API keys, OAuth for APIs, gateway controls, HTTPS enforcement, request limits. DO NOT USE FOR: API contract design (use dev-backend-api-design), OpenAPI docs (use stack-openapi), auth protocol design (use security-authentication).

Install

npx vskill@latest install danielpohlmann/ia-marktplace/security-api-security

SKILL.md

The same SKILL.md was published earlier as danielpohlmann/ia-marktplace/security-api-security.

API Security

Overview

APIs are the primary attack surface of modern applications. As architectures shift toward microservices, serverless functions, and third-party integrations, the number of exposed API endpoints grows dramatically. Every endpoint is a potential entry point for attackers. Securing APIs requires a layered approach that includes transport security, authentication, authorization, input validation, rate limiting, and proper response handling. A single misconfigured header or overly permissive CORS policy can expose an entire system.

Best Practices

  • Enforce HTTPS everywhere — never allow plaintext HTTP for any API endpoint; use HSTS headers to prevent downgrade attacks and configure TLS 1.2 as the minimum supported version.
  • Validate all input on the server side — never trust client-side validation alone; validate request bodies against schemas, enforce type and length constraints, and reject unexpected fields.
  • Use the principle of least privilege for API scopes — issue tokens with the minimum scopes and permissions required for the specific operation; avoid wildcard or admin scopes for routine operations.
  • Implement defense in depth — combine multiple security layers (gateway, authentication, authorization, input validation, rate limiting, monitoring) so that no single control failure results in a breach.
  • Return minimal error information — never expose stack traces, internal paths, or database error messages in API responses; use generic error messages with correlation IDs for debugging.
  • Log all security-relevant events — record authentication attempts, authorization failures, rate limit hits, and input validation rejections; feed logs into a SIEM for real-time alerting.
  • Version your APIs and deprecate securely — maintain security patches across all supported versions; when deprecating, provide clear timelines and ensure old versions are eventually decommissioned.
  • Audit third-party API integrations — review the security posture of external APIs your application depends on; validate their responses, enforce timeouts, and implement circuit breakers to prevent cascading failures.

Detailed reference

Load only the file that matches the task — each is self-contained.

FileContents
references/rate-limiting.mdRate Limiting
references/details.mdSecurity Headers; CORS Configuration; Content Security Policy; API Authentication; API Gateway Security

References

See references/rules.md for the full rule catalog.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Refreshed 10 Nov 2026, 20 days ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/danielpohlmann/ia-marktplace/security-api-security/badge)](https://verified-skill.com/skills/danielpohlmann/ia-marktplace/security-api-security)

Something wrong with this skill or its page? Tell us.