Zum Inhalt springen
Skillpedia
Sicherheit41k · #6552

security-review

Was er macht

Dieser Skill führt den Agenten durch eine Sicherheitsprüfung von Code, einem Modul oder einer Funktion. Er sucht nach Schwachstellen, die ein Angreifer wirklich ausnutzen könnte, und erklärt, wie man jede behebt.

Wann du ihn nutzt

  • ✓Wenn du eine Sicherheitsprüfung neuen Codes willst, bevor er live geht.
  • ✓Wenn du vermutest, dass eine Funktion Nutzern erlaubt, Daten zu sehen oder zu ändern, die sie nicht sehen dürfen.
  • ✓Wenn du in einem Projekt nach geleakten Passwörtern, Schlüsseln oder unsicheren Befehlen suchen willst.

Link zum Skill

https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/security-review/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/security-review/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Kannst du meine Anmeldefunktion auf Sicherheitslücken prüfen und mir sagen, wie ich riskante Stellen behebe?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent erfasst, wo äußere Eingaben in den Code gelangen und wo sie Schaden anrichten können. Dann verfolgt er diese Daten Schritt für Schritt und meldet nur Probleme, die er genau benennen kann, mit Datei und Korrektur.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Security Review

Produce findings a reviewer can verify, not a vibes pass. Every finding names the file, the reachable path that makes it real, and the fix.

Scope the review first

  • What is under review: a diff, a module, a plugin bundle, a network surface. Say the boundary out loud before reading.
  • Trust boundaries: where untrusted input enters (HTTP handlers, MCP tool args, file parsers, CLI flags, env vars, rendered content) and where authority is exercised (fs writes, network egress, process spawn, credential reads, signing).
  • Prerequisites: a checked-out tree and the project's own test runner. Ask for credentials only if a live path genuinely needs them; never read secrets from the environment or keychain yourself.

Procedure

  1. Map entry points and sinks. rg for the handlers, deserializers, and exec/fs/net calls in scope. Follow data from entry to sink before judging it.
  2. Authn/authz. Every mutating or sensitive handler checks identity and object-level authorization. Look for checks that exist on one path but not its sibling, and for checks done on the client only.
  3. Injection. Command lines, SQL, template eval, shell expansion, path joins under user influence, and markup that will render later — including generated HTML/markdown that carries repo content into a browser surface.
  4. Secrets. rg for token/key/secret patterns and git log -p the diff for credentials. Also check what gets logged or embedded in receipts, exports, or error messages.
  5. Dependencies. Run the project's audit gate if it exists (cargo audit, npm audit, osv-scanner) — report versions and CVEs, not "deps look old".
  6. Denial and abuse paths. Unbounded reads/allocations, missing timeouts on network calls, resource leaks in error paths, retry storms.
  7. Verify a finding before reporting it. Trace the real call path or write a minimal proof. A finding that "looks suspicious" but has no reachable path is a note, not a finding.

Findings format

For each: severity (exploitability × impact), file:line, the reachable path, a one-paragraph explanation, and the fix. Order by severity. Then a short "checked and clean" list naming what was audited and cleared — the scope statement means something only if the clear list is honest.

Recovery and limits

  • If you cannot prove reachability, downgrade the claim and say what evidence is missing.
  • Do not claim a formal audit, certification, or absence of vulnerabilities. This review finds defects; it does not prove none exist.
  • Never fix-and-stay-quiet on a security finding in someone else's in-flight code — report it first.

Completion criteria

  • Every entry point in scope was traced to its sinks.
  • Findings carry file:line + reachability + fix; the clear list names what was actually checked.
  • Severity ordering is defensible by exploitability, not by how loudly the code smells.
Häufige Fragen

Ist das dasselbe wie ein normales Code-Review?

Nein. Der Fokus liegt auf ausnutzbaren Schwachstellen, nicht auf allgemeiner Qualität, Stil oder Sauberkeit des Codes.

Liest der Agent meine Passwörter oder Schlüssel?

Laut Skill soll der Agent Geheimnisse weder aus der Umgebung noch aus dem Schlüsselbund selbst lesen. Zugangsdaten fragt er nur ab, wenn ein Live-Test sie wirklich braucht.

Hat jeder Befund eine Korrektur?

Ja. Jeder Befund nennt die Datei, den Pfad, der ihn zu einem echten Risiko macht, und die vorgeschlagene Korrektur.

Details

Originalbeschreibung des Autors

Review a change, module, or surface for exploitable defects — trust boundaries, authn/authz, injection, secret exposure, filesystem and network reach, dependency risk. Use when the user asks for a security review, audit, or vulnerability check of concrete code. Not for general code review, lint, or compliance paperwork.

repo: codewhale-hq/Codewhale

Beliebtheit

GitHub-Sterne
41k
Platz im Ranking
#6552
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills