finding-discovery
O que ela faz
Esta skill procura no código possíveis fragilidades de segurança e as lista como candidatas. Ela é para equipes de segurança que querem um primeiro conjunto de pistas que possam ser verificadas depois.
Quando usar
- ✓Quando uma varredura de segurança está na fase de descoberta e precisa de problemas candidatos.
- ✓Quando você quer encontrar possíveis vulnerabilidades em uma alteração de código.
- ✓Quando você quer uma lista de fragilidades suspeitas em um repositório, com as evidências de cada uma.
Link da skill
https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/finding-discovery/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Procure nas alterações desta branch possíveis fragilidades de segurança e liste cada candidato com as suas evidências.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A IA revisa a fonte autorizada e cada arquivo alterado em relação ao modelo de ameaças e às orientações de segurança do projeto. Registra cada candidato com suas evidências, mas não decide a gravidade final.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
A descoberta decide quais problemas são reais?
Não. A descoberta apenas reúne candidatos com evidências, e a validação posterior decide a gravidade.
Que orientação ela segue?
Ela aplica a política de segurança do projeto a cada caminho revisado, incluindo arquivos de orientação aninhados.
Ela cobre o repositório inteiro?
Ela cobre a fonte que recebe, e informa os limites de cobertura para que as lacunas continuem visíveis.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 11 mil
- Posição no ranking
- #11751
- Licença
- Apache-2.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
assess-patch-risk
11 milAjuda seu agente a avaliar o quanto um patch de código é arriscado antes do merge, cobrindo o que ele afeta, quais testes o cobrem e se pode ser revertido.
attack-path-analysis
11 milAjuda seu agente a rastrear um achado de segurança desde o ponto de entrada até o alvo, depois avaliar o impacto real e se ele deve ser reportado.
cloud-findings
11 milPermite que seu agente leia achados, relatórios e o status de varreduras já existentes do Codex Security Cloud na sua conta conectada, sem alterar nada.
deep-security-scan
11 milAjuda seu agente a executar uma varredura de segurança profunda e em várias passagens em um repositório ou pasta, repetindo verificações independentes e combinando os achados validados.
Skills parecidas
reverse-engineer-anything
422 milAjuda seu agente a analisar apps e pacotes já publicados para explicar recursos, comparar versões ou orientar uma reconstrução, usando a ferramenta REA.
1password
394 milAjuda seu agente a configurar a CLI do 1Password, fazer login e ler ou injetar segredos sem imprimir seus valores no chat.
healthcheck
394 milAjuda seu agente a auditar o computador ou servidor que roda o OpenClaw em busca de riscos como SSH, firewall, atualizações e backups, com correções seguras.