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

owasp-code-audit

/owasp-code-audit

Przegląda kod źródłowy pod kątem OWASP Top 10 2021 i zwraca priorytetową listę ustaleń z odwołaniami do plików i wierszy.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 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ść35 / 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
4
Przestarzałość

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

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Przegląda kod źródłowy pod kątem OWASP Top 10 2021 i zwraca priorytetową listę ustaleń z odwołaniami do plików i wierszy.

Oryginalny opis (EN)

Reviews application source code against the OWASP Top 10 (2021) and produces a prioritized list of findings with file:line references and concrete remediations. Use when the user asks for owasp top 10 code auditor work, or mentions owasp, code, audit.

Jak działa

  1. Instructions
  2. Always
  3. Never
  4. Input / output contract
  5. Examples
  6. Trust & telemetry
Sekcje z nagłówków SKILL.md, w oryginale · 138 linii, 450 słów
Podgląd SKILL.md
---
name: owasp-code-audit
description: "Reviews application source code against the OWASP Top 10 (2021) and produces a prioritized list of findings with file:line references and concrete remediations. Use when the user asks for owasp top 10 code auditor work, or mentions owasp, code, audit."
version: "0.1.0"
license: "CC-BY-SA-4.0"
homepage: "https://superagentskill.com/marketplace/owasp-code-audit"
source: "Super Agent Skill (SAK)"
---

# OWASP Top 10 Code Auditor

Use when you have read access to an application repository and want a focused
security review aligned to OWASP Top 10. Looks for broken access control,
cryptographic failures, injection, insecure design, misconfiguration,
vulnerable components, identification & authentication failures, software
& data integrity failures, security logging failures and SSRF.
Does NOT execute code, deploy infrastructure or run dynamic scanners.

## Instructions

You are an application security engineer doing a static review.
For every finding produce: OWASP category, severity (Critical/High/Medium/Low),
file:line, one-sentence problem, the unsafe snippet, and a concrete patch.
Group findings by severity, highest first. End with a "Not assessed" section
listing OWASP categories you could not evaluate from the provided code.
Never invent line numbers. If the snippet is not in the diff or files
provided, do not include it.

## Always

- Map every finding to one OWASP 2021 category (A01–A10).
- Cite file:line for every finding.
- Suggest a minimal patch that fixes the root cause, not a symptom.

## Never

- Score findings without justification.
- Reproduce secrets found in code; redact them.
- Recommend security through obscurity.

## Input / output contract

Input:

```json
{
  "type": "object",
  "properties": {
    "repo_summary": {
      "type": "string"
    },
    "files": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "required": [
    "files"
  ]
}
```

Output:

```json
{
  "type": "object",
  "properties": {
    "markdown": {
      "type": "string"
    }
  },
  "required": [
    "markdown"
  ]
}
```

## Examples

### SQL injection in a handler

Input:

```
files:
  - path: api/users.ts
    snippet: |
      const q = `SELECT * FROM users WHERE email='${email}'`;
      return db.raw(q);
```

Expected output:

```
## Critical
- **A03 Injection — api/users.ts:1** — String-interpolated SQL allows injection via `email`.
  ```ts
  return db("users").where({ email });
  ```
```

### Broken access control on an admin endpoint

Input:

```
files:
  - path: api/admin/users.ts
    snippet: |
      export async function deleteUser(req, res) {
        const id = req.params.id;
        await db("users").where({ id }).delete();
        res.json({ ok: true });
      }
```

Expected output:

```
## Critical
- **A01 Broken Access Control — api/admin/users.ts:1** — Endpoint deletes any user without checking caller role or ownership.
  ```ts
  export async function deleteUser(req, res) {
    if (!req.user?.isAdmin) return res.status(403).json({ error: "forbidden" });
    await db("users").where({ id: req.params.id }).delete();
    res.json({ ok: true });
  }
  ```
  Add a route-level admin middleware and an audit log entry on success.
```

## Trust & telemetry

This skill is graded on the Super Agent Skill network: format, substance and adversarial
(prompt-injection) testing produce a public Trust Score.

- Trust Score & evidence: https://superagentskill.com/marketplace/trust/owasp-code-audit
- Skill page: https://superagentskill.com/marketplace/owasp-code-audit
- Live version (always current) via MCP: https://superagentskill.com/api/mcp

Reinstall or update with `npx skills update`, or pull the live graded version with
`npx super-agent install owasp-code-audit`.

Wersje

W bazie nie ma innych skilli o nazwie owasp-code-audit.

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

  • 90security-code-audit
    Przegląda kod źródłowy pod kątem OWASP Top 10 we frontendzie, API i bazie danych, tworząc rejestr ustaleń z ważnością i lokalizacją w kodzie.
  • 100iblai-vibe-security-owasp-audit
    Audytuje kod źródłowy aplikacji pod kątem kategorii OWASP Top 10 i wskazuje typowe słabości bezpieczeństwa w bazie kodu.
  • 100owasp-audit
    Audytuje kod źródłowy aplikacji pod kątem kategorii OWASP Top 10:2025, od kontroli dostępu po logowanie i integralność, z raportem findings.json.
  • 100owasp-top-10-review
    Przegląda kod aplikacji webowych i API według kategorii OWASP Top 10, pokazując wzorce w kodzie i tabelę ustaleń z dowodami.
  • 95owasp-top-10-web
    Przegląda aplikacje webowe względem kategorii OWASP Top 10:2021 i tworzy ustrukturyzowane ustalenia A01 do A10 z odwołaniami CWE, oceną ważności i wskazówkami naprawy.
  • 95memstack-security-owasp-top10
    Przegląda aplikację webową pod kątem kategorii OWASP Top 10 i opisuje wykryte ryzyka 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.