Przejdź do treści
Biblioteka skilli
Bezpieczeństwo · Analiza

api-authz-test

/api-authz-test

Opisuje ogólne zasady przeglądu kontroli dostępu w API w ramach autoryzowanego audytu, bez szczegółów technik.

Licencja
GPL-3.0
Ostatnia zmiana repozytorium
07.08.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 07.08.2026, bez odwołań do wycofanych modeli i API.

Licencja

GPL-3.0, otwarta.

Co robi i kiedy

Opisuje ogólne zasady przeglądu kontroli dostępu w API w ramach autoryzowanego audytu, bez szczegółów technik.

Oryginalny opis (EN)

Test an API's authorization — BOLA (object-level), BFLA (function-level), and BOPLA (property-level / mass assignment) — to confirm each request is authorized for the caller. Use to validate the top OWASP API risks on an authorized target.

Jak działa

SKILL.md bez nagłówków drugiego poziomu · 45 linii, 258 słów

Podgląd SKILL.md
---
name: api-authz-test
description: >-
  Test an API's authorization — BOLA (object-level), BFLA (function-level), and
  BOPLA (property-level / mass assignment) — to confirm each request is authorized
  for the caller. Use to validate the top OWASP API risks on an authorized target.
---

# Goal

Evidence on whether the API enforces authorization server-side for every object,
function, and property against the authenticated caller — or whether a user can
reach data/operations/fields they shouldn't.

# Prerequisites

- Authorization to test, ideally two users at different privilege/tenant levels and
  an admin, with identifiable objects.

# Test cases

1. **BOLA (object level)** — as User A, swap object identifiers (path/query/body,
   IDs, UUIDs, GraphQL node IDs) to read or modify User B's objects.
2. **BFLA (function level)** — call admin/privileged operations as a normal user;
   try alternate methods/verbs, hidden endpoints, and GraphQL mutations not exposed
   to your role.
3. **BOPLA / mass assignment** — add privileged properties to a write (e.g.
   `"role":"admin"`, `"isVerified":true`) and check if they're accepted; inspect
   responses for over-exposed fields.
4. **Tenant isolation** — cross-tenant object access where multi-tenant.

# Steps

1. Map objects, operations, roles, and the property model (use the schema/spec).
2. Run cases as the lower-privilege identity; capture request+response evidence.
3. Record per case: enforced / leaked / accepted, with evidence (redact secrets).
4. Identify the gap: ID trusted from request, no per-object/function/property authz,
   writable fields not allow-listed.

# Output

A results table: case · object/function/property · result · evidence · remediation
(deny-by-default authz per object/function/property tied to identity; field
allow-listing). Confirmed issues → `security-reporting:finding` (high+ for
cross-user/tenant access).

# Notes

BOLA + BFLA are the #1 and #5 API risks and cause most API breaches. Authorization
must be enforced server-side per request — never infer it from the client-supplied
ID, role, or tenant. Same class as web `access-control-test`.

Wersje

W bazie nie ma innych skilli o nazwie api-authz-test.

Migawka bazy z 13.11.2026 · wersja paczki 91c2a8ee7e3d (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

  • 100api-audit
    Sprawdza API REST, GraphQL i RPC pod kątem OWASP API Security Top 10 2023: uwierzytelnianie, autoryzację, limity i ekspozycję danych.
  • 100detecting-broken-object-property-level-authorization
    Testuje API pod kątem błędnej autoryzacji na poziomie właściwości obiektu, czyli nadmiernego ujawniania danych i masowego przypisania pól.
  • 100api-authorization-testing
    Testuje autoryzację API w autoryzowanych środowiskach: dostęp do cudzych obiektów, funkcji i właściwości oraz izolację najemców, z macierzą testów.
  • 100api-security-review
    Przegląda specyfikacje OpenAPI, schematy GraphQL i kod endpointów pod kątem OWASP API Top 10: BOLA, uwierzytelnianie, nadmierne dane i limity.
  • 90agent-runtime-validation
    Opisuje ogólne zasady ostrożnej weryfikacji środowiska uruchomieniowego agentów AI w ramach autoryzowanego przeglądu.
  • 90ai-surface-recon
    Opisuje ogólne zasady przeglądu powierzchni autoryzowanego systemu AI w ramach oceny bezpieczeństwa.

Uwagi i zgłoszenia

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