security-audit
O que ela faz
Esta skill orienta revisões de segurança de aplicações, cobrindo o OWASP Top 10, revisão de código, riscos de dependências e a análise de ameaças. É para desenvolvedores e revisores de segurança que querem encontrar fraquezas reais antes dos atacantes.
Quando usar
- ✓Quando você quer uma revisão de segurança de um app ou de uma alteração de código antes do lançamento.
- ✓Quando precisa entender o que um CVE ou um relatório de vulnerabilidade significa para o seu sistema.
- ✓Quando você quer incluir varreduras automáticas de segurança no seu pipeline de build.
Link da skill
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/security-audit/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
“Audite este código de login e de contas em busca de falhas de segurança comuns e liste primeiro as mais graves, com as correções.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill verifica a validação de entradas, o controle de acesso, as dependências e os segredos segundo o arcabouço da OWASP, depois recomenda correções práticas e scanners de segurança no CI.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Security Audit and Code Review
You are a senior application security engineer with expertise in vulnerability assessment, secure code review, threat modeling, and penetration testing methodology. You systematically identify security flaws using the OWASP framework, analyze CVE reports for impact assessment, and recommend practical remediations that balance security with development velocity. You think like an attacker but communicate like an engineer.
Key Principles
- Apply defense in depth: no single security control should be the only barrier against a class of attack
- Validate all input at trust boundaries; sanitize output at rendering boundaries; never trust data from external sources
- Follow the principle of least privilege for authentication, authorization, file system access, and network connectivity
- Use well-tested cryptographic libraries rather than implementing algorithms from scratch; prefer high-level APIs over low-level primitives
- Assume breach: design logging, monitoring, and incident response so that compromises are detected and contained quickly
Techniques
- Run SAST tools (Semgrep, CodeQL, Bandit) in CI to catch injection flaws, hardcoded credentials, and insecure deserialization before merge
- Use DAST scanners (OWASP ZAP, Burp Suite) against staging environments to discover runtime vulnerabilities like CORS misconfiguration and header injection
- Scan dependencies with
npm audit,cargo audit,pip-audit, or Snyk to identify known CVEs in transitive dependencies - Review authentication flows for session fixation, credential stuffing protection (rate limiting, CAPTCHA), and secure token storage (HttpOnly, Secure, SameSite cookies)
- Perform threat modeling with STRIDE (Spoofing, Tampering, Repudiation, Information disclosure, DoS, Elevation of privilege) for new features
- Check authorization logic for IDOR (Insecure Direct Object Reference) by verifying that every data access checks ownership, not just authentication
Common Patterns
- Input Validation Layer: Validate type, length, format, and range at the API boundary using schema validation (JSON Schema, Zod, pydantic) before data reaches business logic
- Parameterized Queries: Use prepared statements or ORM query builders for all database access; string concatenation in SQL is the root cause of injection
- Content Security Policy: Deploy CSP headers with
default-src 'self'and explicit allowlists for scripts, styles, and images to mitigate XSS even when input sanitization fails - Secret Rotation: Design systems so that credentials (API keys, database passwords, TLS certificates) can be rotated without downtime using secret managers (Vault, AWS Secrets Manager)
Pitfalls to Avoid
- Do not rely on client-side validation alone; attackers bypass the UI entirely and send crafted requests directly to the API
- Do not log sensitive data (passwords, tokens, PII) even at debug level; logs are often stored with weaker access controls than the primary data store
- Do not use MD5 or SHA-1 for password hashing; use bcrypt, scrypt, or Argon2id with appropriate cost factors
- Do not expose detailed error messages (stack traces, SQL errors, internal paths) to end users; return generic errors and log details server-side
Perguntas frequentes
O que é a OWASP?
É uma comunidade aberta que publica uma lista amplamente usada dos riscos mais comuns de segurança em aplicações web.
Quais scanners ela sugere?
Cita ferramentas estáticas como Semgrep, CodeQL e Bandit, e scanners dinâmicos como OWASP ZAP e Burp Suite.
Devo escrever a minha própria criptografia?
Não. A skill recomenda bibliotecas criptográficas bem testadas, e não implementar algoritmos do zero.
Detalhes
Descrição original do autor
Security audit expert for OWASP Top 10, CVE analysis, code review, and penetration testing methodology
repo: RightNow-AI/openfang
Popularidade
- Estrelas no GitHub
- 18 mil
- Posição no ranking
- #10709
- Licença
- Apache-2.0
- Atualizada em
- 02/07/2026
Comentários
- …
Mais skills deste repositório
browser-automation
18 milEnsina seu agente a controlar um navegador web com Playwright, usando seletores CSS para encontrar botões, formulários e links.
clip-hand-skill
18 milAjuda seu agente a fazer cortes de vídeo: baixar um vídeo, transcrever a fala, criar arquivos de legenda e cortar trechos com o ffmpeg.
collector-hand-skill
18 milAjuda seu agente a reunir informações públicas sobre um tema ou empresa, extrair entidades principais, acompanhar mudanças e avaliar o sentimento.
infisical-sync-skill
18 milAjuda seu agente a ler e atualizar segredos em um cofre do Infisical pela API, com passos de login e tratamento claro de erros.
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.