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

security-audit

/security-audit

Skanuje kod pod kątem użycia eval i exec, błędów ścieżek plików, zaszytych sekretów i wstrzyknięć, z oznaczeniami CWE.

Repozytorium
attune-ai ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
24.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
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 24.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

Skanuje kod pod kątem użycia eval i exec, błędów ścieżek plików, zaszytych sekretów i wstrzyknięć, z oznaczeniami CWE.

Oryginalny opis (EN)

Scan code for security vulnerabilities including eval/exec usage, path traversal, hardcoded secrets, and injection risks. Triggers on: security, vulnerability, audit, scan, CVE, CWE, secrets, injection, eval, exec, OWASP.

Jak działa

  1. Scoping
  2. Execution
  3. Output Format
  4. What It Checks
  5. Help
  6. Follow-Up
Sekcje z nagłówków SKILL.md, w oryginale · 112 linii, 487 słów
Podgląd SKILL.md
---
name: security-audit
description: "Scan code for security vulnerabilities including eval/exec usage, path traversal, hardcoded secrets, and injection risks. Triggers on: security, vulnerability, audit, scan, CVE, CWE, secrets, injection, eval, exec, OWASP."
---
# Security Audit

**IMPORTANT: Start your response with a context preamble.**

Call `help_lookup(topic="security-audit", mode="preamble")` and
display the returned `preamble` text as a blockquote. Then
tell the user they can say "tell me more" for a step-by-step
guide, or answer the scoping questions below to proceed.

If the MCP call fails, fall back to:

> **Security Audit** — Scans your code for security
> vulnerabilities — eval/exec, path traversal, hardcoded
> secrets, injection risks.

## Scoping

Before running, ask:

1. **Scope**: "Which path should I scan?" Default to the
   project root if the user says "everything."
2. **Focus**: "Any specific concern — secrets, injection,
   dependencies, or a full sweep?"

## Execution

### Shared command workspace (preferred)

Open adapter `security-audit` with the validated path and focus. The invocation
authorizes this read-only scan, so the running workspace has no confirmation
action. Call `security_audit` and publish its exact outcome as `scan_result`,
including health score, files scanned, and categorized path/line/severity/CWE
findings. An incomplete scan must say “did not complete,” never “clean.”

Critical/high findings render one per page with bound Previous/Next actions,
avoiding a tall unscrollable form. `finish_security_audit` records the report;
`handoff_to_fix` prepares an explicit Fix input containing all critical/high
receipts but performs no mutation. Fix retains its own exact-command approval.
Present the terminal widget or Markdown and preserve the same pagination,
failure, and handoff semantics in text fallback.

Call the `security_audit` MCP tool with the scoped path:

```
security_audit(path="<user-specified path>")
```

## Output Format

The `security_audit` tool returns a `health_score`, the `summary_markdown`,
and a pre-rendered **`panel_html`** (present on the report path).

**Prefer the rich panel.** Pass the response's `panel_html` straight to
`mcp__visualize__show_widget` — it renders the report's sections
(findings cards and/or category bullet lists — security / quality /
performance / architecture) under the title + score. Display-only and
injection-safe (generated by `attune.workflows.report_panel`, the
universal renderer shared by every analysis workflow). A failed run shows
an explicit "did not complete" state, never a false "clean".

**Fall back to a markdown table** (from `summary_markdown` / `findings`)
when the widget surface is unavailable:

```markdown
## Security Audit Results

**Score:** X/100 | **Files Scanned:** Y | **Issues:** Z

### Critical
| File | Line | Issue | CWE |
|------|------|-------|-----|

### High / Medium / Low
| File | Line | Issue | CWE |
|------|------|-------|-----|
```

Use clickable file links: `[file.py:123](path#L123)`

## What It Checks

- `eval()` and `exec()` usage (CWE-95)
- Path traversal vulnerabilities (CWE-22)
- Hardcoded secrets and API keys
- SQL injection patterns (CWE-89)
- Command injection risks (CWE-78)
- Broad exception handling that masks errors
- Missing input validation

## Help

After presenting results, call:

```
help_lookup(
    topic="security-audit",
    mode="workflow_help"
)
```

If templates are returned, offer: "I have tips about
security audits — want to see them?"

## Follow-Up

After presenting results, offer:

- "Want me to fix the critical issues?"
- "Should I generate security tests for the flagged
  files?"
- "Want a deeper scan of a specific directory?"

Wersje

RepozytoriumWynikLicencja
Ta strona · smart-ai-memory/attune-ai100Apache-2.0
posthog/posthog100MIT
mono/SkiaSharp100MIT
iuliandita/skills100MIT
gtlpanda/PandaStack100MIT
ericrisco/rsc-harness100MIT
matthewliu/matt-agent-playbook100MIT
drvoss/everything-copilot-cli100MIT
stella/stella100Apache-2.0

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

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

  • 90modernize-harden
    Skanuje stary kod pod kątem podatności OWASP, CWE, CVE i sekretów oraz proponuje poprawki do przeglądu.
  • 100source-code-scanning
    Skanuje kod źródłowy pod kątem podatności OWASP, CVE w zależnościach, sekretów i niebezpiecznych wzorców.
  • 100pr-security-review
    Przegląda pull request pod kątem problemów bezpieczeństwa: analizuje diff w poszukiwaniu podatności, zaszytych sekretów, ryzyka wstrzyknięć i błędów kontroli dostępu przed merge.
  • 95orbitant-owasp-scan
    Skanuje repozytorium Node.js lub Python pod kątem luk z OWASP Top 10: sekretów w kodzie, słabej kryptografii i brakujących nagłówków.
  • 100security-scan
    Skanuje bazę kodu lub zmianę pod kątem XSS, wstrzyknięć, SSRF, przejścia katalogów i sekretów, raportując zweryfikowane znaleziska.
  • 100local-awesome-security-audit-25299cef
    Przegląda kod pod kątem wstrzyknięć, sekretów, błędów uwierzytelniania i CVE, mapując ustalenia na CWE i OWASP.

Uwagi i zgłoszenia

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