Przejdź do treści
Biblioteka skilli
Bezpieczeństwo · Przegląd i audyt

api-and-infrastructure

/api-and-infrastructure

Przegląda konfigurację bezpieczeństwa API i infrastruktury: punkty końcowe, nagłówki, transport i ustawienia wdrożenia.

Licencja
CC0-1.0
Ostatnia zmiana repozytorium
03.06.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 03.06.2026, bez odwołań do wycofanych modeli i API.

Licencja

CC0-1.0, otwarta.

Co robi i kiedy

Przegląda konfigurację bezpieczeństwa API i infrastruktury: punkty końcowe, nagłówki, transport i ustawienia wdrożenia.

Argumenty

/api-and-infrastructure [path or scope]
Oryginalny opis (EN)

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

Jak działa

  1. API & Infrastructure Security
  2. Provide:
  3. Constraints & style:
Sekcje z nagłówków SKILL.md, w oryginale · 73 linii, 277 słów
Podgląd SKILL.md
---
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.

Wersje

W bazie nie ma innych skilli o nazwie api-and-infrastructure.

Migawka bazy z 13.11.2026 · wersja paczki 284e15f0c147 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90audit-vercel
    Sprawdza wdrożenie Vercel i Next.js: konfigurację, trasy API bez uwierzytelnienia, sekrety w zmiennych i nagłówki bezpieczeństwa.
  • 100api-security-hardening
    Utwardza bezpieczeństwo REST API: uwierzytelnianie, limity żądań, walidację danych i nagłówki zabezpieczeń dla produkcji.
  • 100secure-code-reviewer
    Przegląda kod, zależności, uwierzytelnianie, sekrety, API i konfigurację infrastruktury, wydając oceny ryzyka i poprawki.
  • 100security-engineer
    Orkiestruje role inżyniera bezpieczeństwa: przegląd kodu, utwardzanie pipeline'ów, reagowanie na podatności i przegląd infrastruktury, dobierając skille do rodzaju zadania.
  • 90security-misconfiguration
    Wykrywa niebezpieczne domyślne ustawienia, zbyt szerokie CORS, odsłonięte endpointy debugowe i brakujące nagłówki bezpieczeństwa w konfiguracji.
  • 100container-hardening
    Utwardza obrazy kontenerów i konfigurację uruchomieniową: przegląda i audytuje Containerfile, Dockerfile, pliki compose oraz ustawienia bezpieczeństwa podów Kubernetes.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.