Skip to content
Skills Library
Security · Review & audit

api-and-infrastructure

/api-and-infrastructure

Reviews API and infrastructure security configuration, including endpoints, headers, transport, and deployment settings. Use when auditing API or infrastructure hardening.

Licence
CC0-1.0
Last repository change
03.06.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 03.06.2026, without references to retired models or APIs.

Licence

CC0-1.0, otwarta.

What it does and when to use it

Reviews API and infrastructure security configuration, including endpoints, headers, transport, and deployment settings. Use when auditing API or infrastructure hardening.

Arguments

/api-and-infrastructure [path or scope]
Original author description

Reviews API and infrastructure security configuration, including endpoints, headers, transport, and deployment settings. Use when auditing API or infrastructure hardening.

How it works

  1. API & Infrastructure Security
  2. Provide:
  3. Constraints & style:
Original SKILL.md headings · 73 lines, 277 words
SKILL.md preview
---
name: api-and-infrastructure
description: Reviews API and infrastructure security configuration, including endpoints, headers, transport, and deployment settings. Use when auditing API or infrastructure hardening.
license: CC0-1.0
metadata:
  category: security
allowed-tools: Read Grep Glob Write
disable-model-invocation: true
argument-hint: "[path or scope]"
---

**Target:** $ARGUMENTS

If no target path is given above, review the entire codebase.

---

## API & Infrastructure Security

Review API-specific security configurations.


Check for:
1. CORS configuration
   - Not using wildcard (*) in production
   - Proper origin validation
   - Credentials handling

2. Rate Limiting
   - Implemented on all endpoints
   - Different limits for different operations
   - Distributed rate limiting for scaled apps

3. API Versioning security
   - Deprecated version handling
   - Breaking change management

4. Request size limits
   - Body parser limits
   - File upload restrictions
   - JSON depth limits

5. HTTP Security Headers
   - Helmet.js configuration
   - CSP headers
   - X-Frame-Options
   - X-Content-Type-Options
   - Strict-Transport-Security

6. API key/token management
   - Secure storage
   - Rotation policy
   - Scope limitations

7. Error handling
   - No stack traces in production
   - Generic error messages
   - Proper status codes

## Provide:

A structured finding report with the following for each issue:

Title, Severity (Critical/High/Medium/Low), CWE (if applicable), Evidence (file, function, line ranges), and a short Why it matters.

Exploitability notes and, where safe, a minimal PoC or reproduction steps (no real secrets).

Remediation: precise code-level fix or config change (snippets welcome), plus defense-in-depth guidance.

A summary risk score (0–10) and top 3–5 prioritized fixes that reduce risk fastest.

A checklist diff: which items from the “Check for” list are Pass/Fail/Not Applicable.

## Constraints & style:

Be concrete and cite exact code locations and identifiers.

Prefer minimal, drop-in fix snippets over prose.

Do not invent files or functions that aren’t present; if context is missing, mark as Unable to verify and say what code would prove it.

Write this into a markdown file and place it in the audits/ folder.

Versions

The database has no other skills named api-and-infrastructure.

Database snapshot: 13.11.2026 · package version 284e15f0c147 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 4 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90audit-vercel
    Vercel / Next.js deployment auditor. Reviews vercel.json, next.config, cron endpoints (CRON_SECRET), API routes without authentication, public env vars that look like secrets, middleware coverage, security headers, source maps, Next.js CVE-2025-29927, the live site, and (with a…
  • 100api-security-hardening
    REST API security hardening with authentication, rate limiting, input validation, security headers. Use for production APIs, security audits, defense-in-depth, or encountering vulnerabilities, injection attacks, CORS issues.
  • 100secure-code-reviewer
    Reviews source code, dependencies, authentication, secrets, APIs and infrastructure configurations for security vulnerabilities. Produces evidence-based findings, risk classifications, remediation guidance and security regression tests. Use when auditing repositories, reviewing…
  • 100security-engineer
    Security Engineer role bundle for building security into products and infrastructure. Orchestrates code review, pipeline hardening, vulnerability response, and infrastructure review workflows. Auto-invoked when the user needs help with secure development practices, CI/CD…
  • 90security-misconfiguration
    Detects insecure defaults, overly permissive CORS, exposed debug endpoints, and missing security headers. Use when writing server configuration, setting environment variables, configuring CORS policies, enabling debug modes, setting up default credentials, or deploying…
  • 100container-hardening
    Harden container images and runtime configuration. Use when building, reviewing, or auditing Containerfiles, Dockerfiles, container compose files, or Kubernetes pod security settings.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.