fix-finding
O que ela faz
Esta skill corrige um achado de segurança específico no código com uma alteração mínima e verifica se a correção funciona. Ela é para desenvolvedores que querem um reparo revisado e direcionado, em vez de uma reescrita ampla.
Quando usar
- ✓Quando você pede para corrigir e verificar uma vulnerabilidade de segurança validada ou plausível.
- ✓Quando você quer uma alteração mínima que feche um limite de segurança mantendo o comportamento normal.
- ✓Quando você suspeita que o código já está seguro e quer isso comprovado com evidências.
Link da skill
https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/fix-finding/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
“Corrija a vulnerabilidade de path traversal no manipulador de upload de arquivos e execute as verificações para confirmar que ela foi fechada.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A IA lê primeiro o código afetado, seus chamadores e seus testes, e classifica o estado atual. Depois faz a menor alteração que se encaixa no repositório e executa as verificações exigidas pelo modo de verificação escolhido.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Fix Finding
Before choosing paths or saving retained output, read ../../references/artifact-storage.md and follow its storage policy.
Objective
Turn a current security finding into a minimal, validated code change. If the code is already safe, prove that and report that no change was needed.
Classify the current state from evidence, close the broken security boundary, preserve legitimate behavior, and pass the checks required by the selected verification mode. Prefer the smallest repository-native change that meets those requirements.
Verification Mode
Use standard verification unless the caller explicitly selects verificationMode: static. The selected mode applies throughout this skill, including delegated reviews and workbench stages; pass it to every delegated agent.
In static mode, assess source and diff evidence only. Do not install dependencies or run builds, tests, reproducers, or the application, including when validation instructions request them. Repository-reading tools remain available. State that runtime checks were not performed; do not count them as passed or require them for this assessment. Missing runtime tooling alone is not a blocker, but a material gap in the source evidence still requires blocked.
Patch Contract
Before editing, inspect the affected implementation, its direct callers, nearby helpers, and relevant existing tests. Establish from repository evidence:
- the attacker-controlled input and concrete source-to-sink path or broken control
- the security invariant and narrowest shared enforcement boundary
- legitimate behavior, APIs, error semantics, and compatibility constraints that must remain
- the closest existing implementation, validation, and error-handling precedents
Treat the finding as a data-flow and boundary problem, not merely the named input example. Check equivalent encodings, parser forms, aliases, callers, sinks, and every representation or copy of security-sensitive state that could bypass the proposed change. Handle unsafe state explicitly; do not silently accept, truncate, or reinterpret it into another reachable form.
Implementation Workflow
- Trace the reported path and inspect only the context needed to identify the real shared boundary. Return
no_changewhen repository evidence shows that the reported path is already safe; do not make a speculative change. - In standard mode, when feasible, run the smallest high-signal reproduction through that boundary and one legitimate control through the same path.
- Implement the smallest repository-native fix at the shared boundary. Prefer nearby helpers and established APIs. Do not broaden into unrelated redesign, cleanup, or sibling findings.
- Before verification, challenge the patch rather than defending it: inspect every direct caller of each changed helper and both outcomes of each changed condition. Look for one sibling path, representation, or copy that still reaches the vulnerable sink and one ordinary or default input that the patch newly rejects or reinterprets; revise the implementation if either exists.
- In standard mode, verify the resulting change:
- inspect the final diff and run the narrowest syntax, import, build, or type check relevant to it
- rerun the security trigger or strongest focused substitute and review one alternate malicious input class
- rerun the legitimate control, nearest existing tests, and the owning package's applicable required checks
In static mode, use these verification gates instead: inspect the final diff; trace the original exploit path and relevant alternate inputs through the changed control; then inspect callers and existing tests as source to establish that legitimate behavior and compatibility remain intact. Cite the source evidence for each gate and identify anything it cannot establish.
Return blocked if the vulnerability may be real, but essential evidence, tooling, access, or a product or compatibility decision is missing, so a safe fix cannot be responsibly completed or verified.
Review the fix
Challenge the patch for surviving bypasses and regressions in legitimate behavior. Use independent investigation or review when the complexity, uncertainty, or security impact warrants it. Give a fresh read-only reviewer the finding, repository root, authorized scope, repository policy, verification mode, and candidate diff so they can assess it from source without the author's rationale or claimed test results. If delegati
Perguntas frequentes
Ela corrige também bugs comuns?
Não. Ela é só para vulnerabilidades de segurança, e não para correções gerais de bugs ou problemas de revisão de design.
Ela consegue verificar uma correção sem executar o código?
Sim. Um modo estático avalia apenas as evidências da fonte e do diff, sem instalar dependências nem executar testes.
E se o código já estiver seguro?
A skill comprova isso com base nas evidências e informa que nenhuma alteração era necessária.
Detalhes
Descrição original do autor
Use only when the user explicitly asks to fix and verify a validated or plausible security vulnerability. Do not use for ordinary bug fixes, correctness or design review findings, general validation, or full PR, commit, branch, patch, or repository scans.
repo: openai/codex-security
Popularidade
- Estrelas no GitHub
- 11 mil
- Posição no ranking
- #11752
- 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.