finding-discovery
Was er macht
Dieser Skill durchsucht Code nach möglichen Sicherheitsschwächen und listet sie als Kandidaten auf. Er ist für Sicherheitsteams gedacht, die eine erste Liste von Hinweisen wollen, die später geprüft werden können.
Wann du ihn nutzt
- ✓Wenn ein Sicherheitsscan in der Entdeckungsphase Kandidaten für Probleme braucht.
- ✓Wenn du mögliche Schwachstellen in einer Codeänderung finden willst.
- ✓Wenn du eine Liste vermuteter Schwächen in einem Repository mit den Belegen dazu willst.
Link zum Skill
https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/finding-discovery/SKILL.mdKopiere 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
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Schau dir die Änderungen in diesem Branch auf mögliche Sicherheitsschwächen an und liste jeden Kandidaten mit seinen Belegen auf.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Die KI prüft den freigegebenen Quellcode und jede geänderte Datei gegen das Bedrohungsmodell und die Sicherheitsanleitung des Projekts. Sie hält jeden Kandidaten mit seinen Belegen fest, legt aber keinen endgültigen Schweregrad fest.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Security Finding Discovery
Identify technically plausible security vulnerabilities in the authorized source, using the threat model and applicable security policy. Discovery preserves evidence for later validation; it does not decide final severity.
Read ../../references/artifact-storage.md before saving output and ../../references/security-guidance.md before source review. Resolve applicable policy for each reviewed path, including delegated assignments. Honor explicit input and output paths; ask for an explicitly required input only when its absence prevents the requested analysis.
Select the Workflow
Standard and Deep workers use their coordinator's self-contained prompts rather than this phase skill.
- Running compact diff: read the supplied inventory through
list_codex_security_review_items, review every assigned changed file, and record all candidates once withrecord_codex_security_discovery_candidates. Do not create ranked worklists, per-finding ledgers, receipts, or discovery reports. - Standalone diff without a compact inventory: use
../security-scan/references/scan-artifacts-and-ledger.mdfor the changed-file worklist and retained phase artifacts. - Standalone repository discovery: apply the evidence criteria below to the authorized source and return the candidates and coverage limitations. Do not start a scan or run the diff worklist pipeline.
For a diff, inspect the actual changed behavior, including deleted files at the baseline revision. Follow supporting code far enough to understand the affected boundary; expand to sibling callers when a changed shared control affects them. Do not broaden into an unrelated repository audit.
Evidence Criteria
- Trace attacker-controlled input or a privileged operation through the closest relevant control to the sink and security impact. Explain why the control is absent, bypassable, or applied to the wrong value or boundary.
- Check runtime reachability and deployment assumptions. Record effective guards and containment as counterevidence; a safe sibling implementation does not establish that the candidate path is safe.
- Preserve the root-control location as well as entrypoints, wrappers, concrete implementations, and sinks needed to understand the claim. When the claim covers several implementations, inspect those implementations rather than asserting that all are affected.
- Keep independently reachable vulnerable instances addressable. Merge duplicate observations of the same source/control/sink/impact instead of splitting cosmetic variants; retain all affected locations and original candidate IDs when merging.
- Follow explicit user or advisory seeds to their exact source and control. Record the evidence that supports, disproves, or leaves the seed unresolved; a nearby issue in the same family does not close it. Use only authorized source material and do not fetch advisory links without permission.
- Distinguish concrete security impact from maintainability or robustness concerns. A crash, dangerous API, optional feature, or missing check is a lead, not a finding by itself. Carry plausible candidates with explicit proof gaps to validation rather than inventing evidence or discarding them for lack of a runnable reproduction.
Divide independent review assignments among available workers when useful, with the target, scope, relevant policy/model, and required result fields. The parent reviews unassigned work and reconciles duplicates. Do not repeat validation or attack-path phases inside discovery.
Candidate Output
For each candidate, retain:
- Stable candidate ID and title; preserve supplied seed or ledger IDs and advisory references.
- Affected file/line locations, labeling
entrypoint/wrapper,root_control,sink, andconcrete_implementationwhere useful. - Attacker-controlled source, closest control, sink or broken control, plausible impact, and the source evidence connecting them.
- Counterevidence, deployment preconditions, unresolved questions, and what validation needs to establish.
- CWE IDs when known, otherwise an empty list.
- For repository or scoped-path instances, an instance key
<family>:<file>:<line>when required by the caller. - For diff findings,
relevant_linesonly where relevant buggy behavior overlaps the diff.
Use the caller's structured candidate contract. For a legacy diff, save the discovery report and discovery receipts at the paths in ../../references/scan-artifacts.md; subsequent
Häufige Fragen
Entscheidet die Entdeckung, welche Probleme echt sind?
Nein. Die Entdeckung sammelt nur Kandidaten mit Belegen, die spätere Validierung entscheidet über den Schweregrad.
Welcher Anleitung folgt er?
Er wendet die Sicherheitsrichtlinie des Projekts auf jeden geprüften Pfad an, einschließlich verschachtelter Anleitungsdateien.
Deckt er das ganze Repository ab?
Er deckt den Quellcode ab, den er bekommt, und meldet Abdeckungslücken, damit Lücken sichtbar bleiben.
Details
Originalbeschreibung des Autors
Use when Codex is already in the finding-discovery phase of a security scan or the user explicitly asks to discover candidate security findings in a repository or code change. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.
repo: openai/codex-security
Beliebtheit
- GitHub-Sterne
- 11k
- Platz im Ranking
- #11751
- Lizenz
- Apache-2.0
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
assess-patch-risk
11kHilft deinem Agenten, das Risiko eines Code-Patches vor dem Zusammenführen einzuschätzen, mit Blick auf betroffene Bereiche, abdeckende Tests und die Frage, ob er rückgängig gemacht werden kann.
attack-path-analysis
11kHilft deinem Agenten, einen Sicherheitsfund vom Einstiegspunkt bis zum Ziel zu verfolgen und dann die tatsächliche Auswirkung und die Meldepflicht zu beurteilen.
cloud-findings
11kLässt deinen Agenten vorhandene Befunde, Berichte und den Scanstatus aus deinem verbundenen Codex-Security-Cloud-Konto lesen, ohne etwas zu verändern.
deep-security-scan
11kHilft deinem Agenten, einen gründlichen Sicherheitsscan in mehreren Durchgängen über ein Repository oder einen Ordner durchzuführen, indem unabhängige Prüfungen wiederholt und bestätigte Befunde zusammengeführt werden.
Ähnliche Skills
reverse-engineer-anything
422kHilft deinem Agenten, fertige Apps und Pakete zu untersuchen, um Funktionen zu erklären, Versionen zu vergleichen oder einen Nachbau zu leiten, mit dem REA-Tool.
1password
394kHilft deinem Agenten, die 1Password-Kommandozeile einzurichten, sich anzumelden und Geheimnisse zu lesen oder einzufügen, ohne deren Werte im Chat auszugeben.
healthcheck
394kHilft deinem Agenten, den Computer oder Server, auf dem OpenClaw läuft, auf Sicherheitsrisiken wie SSH, Firewall, Updates und Backups zu prüfen und sichere Korrekturen vorzuschlagen.