Pular para o conteúdo
Skillpedia
Segurança57 mil · #3276

security-audit

O que ela faz

Esta skill guia um agente de IA em revisões de segurança de software, de perguntas rápidas a auditorias completas. Ela é para desenvolvedores e profissionais de segurança que querem achados claros e baseados em evidências.

Quando usar

  • ✓Quando você fizer uma pergunta objetiva de segurança sobre um trecho de código ou uma API.
  • ✓Quando você quiser uma auditoria de segurança ou um teste de invasão em uma base de código.
  • ✓Quando você precisar de uma lista priorizada de vulnerabilidades, com as menores correções eficazes.

Link da skill

https://github.com/cloudflare/security-audit-skill/blob/main/skills/security-audit/SKILL.md

Copie 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

Use esta skill para me ajudar: https://github.com/cloudflare/security-audit-skill/blob/main/skills/security-audit/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Quero uma revisão de segurança da minha API de login, com evidências claras para cada problema e uma correção sugerida para cada um.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente lê primeiro o código-fonte e procura fraquezas que cruzem uma fronteira de confiança real. Em uma auditoria completa, ele percorre várias fases e pode escrever um relatório.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

Security Audit

Find vulnerabilities that violate a real trust boundary, then give owners the source evidence, safe reproduction, priority, and smallest effective fix. This is a defensive, source-first workflow. A candidate without a concrete affected principal, resource, or security outcome is not a confirmed finding.

Operating modes

This skill is guidance by default. Loading it does not authorize the complete audit workflow or file creation.

  • Guidance mode: For security questions, focused reviews, methodology, triage, or investigation of specific findings, use only the relevant parts of this skill. Do not automatically run all six phases, create an output directory, or write audit artifacts. You may launch focused agents when useful; they return results to the current task.
  • Full audit mode: Use the complete workflow when the user explicitly asks to audit or pen-test a codebase, asks for a full, comprehensive, or end-to-end security review, or requests report artifacts. Run all six phases and write the files defined below.

If the request could mean either mode, ask one focused question before creating files or starting the complete workflow.

Platform terminology

This skill is agent-neutral:

  • Parent is the agent that coordinates the run and owns shared state.
  • Task tool is the platform's delegation or sub-agent mechanism.
  • research agent is a delegated agent for focused source exploration and factual verification.
  • general agent is a delegated agent for broad investigation and bounded local execution.
  • subagent_type: in a heading names which of these two delegated agent roles runs that work.

Use equivalent platform capabilities while preserving role, write-isolation, prompt, and independence boundaries.

Universal execution safety

These rules apply in both operating modes. Source inspection is read-only. Run target-controlled builds, tests, processes, browsers, emulators, fuzzers, and fixture processing only inside an OS-enforced sandbox that provides all of these controls:

  • no external network; use only an isolated loopback namespace when the check needs local client/server traffic;
  • an empty environment populated from an explicit allowlist with safe values, with scratch-local HOME, temporary directories, and caches;
  • a read-only target and toolchain, with the target-controlled process able to write only inside its assigned scratch/ directory; and
  • explicit low CPU, memory, process, file-size, disk, and wall-clock limits.

The agent, outside the target-controlled process, may make a disposable source copy in an assigned scratch/ directory when a build must write beside source. In guidance mode, do not retain target-controlled files. In full audit mode, only trusted parent-side code may promote the minimum non-secret result to retained artifacts/ using the procedure under Write isolation. Never expose a retained output directory (other than the agent's own assigned scratch/), another agent's directory, the host home directory, credentials, sockets, or shared services to target code. Do not install dependencies or let builds fetch them. Use only tools and dependencies already available locally. If every control cannot be enforced, do not execute target code: report the missing sandbox capability as a needs-validation blocker and give a safe validation plan.

Use dummy principals, fixtures, and secrets. Do not probe deployed endpoints, external services, shared infrastructure, production identities, other users' data, or live control planes. Do not test availability against a live or shared process, publish artifacts, alter releases, spend paid API quota, or continue beyond the minimum local effect needed to establish a defect. If the decisive fact is outside source or the sandboxed fixture, report it as needing validation.

Full audit setup

In full audit mode, resolve these values before reconnaissance:

  • Skill directory: the absolute directory containing this SKILL.md.
  • Target: the absolute repository root under review.
  • Repo name: a stable repository identifier from the directory or local Git remote.
  • Output directory: a new writable directory outside the target, defaulting to ~/security-audit-skill/<repo-name>/run-<N>, where <N> is the next unused integer. Use a directory inside the target only when the user explicitly selects it and the parent verifies that version control ignores the whole directory. Otherwi
Perguntas frequentes

Toda pergunta de segurança inicia uma auditoria completa?

Não. A skill diz que uma pergunta objetiva usa apenas as partes relevantes, e a auditoria completa só roda quando você pede uma ou solicita um relatório.

Ele cria arquivos no meu computador?

Só no modo de auditoria completa, em que escreve arquivos de relatório. O modo de orientação não cria arquivos de auditoria.

O que conta como achado confirmado?

A skill diz que um candidato precisa de um usuário, recurso ou resultado de segurança concreto e afetado antes de ser considerado confirmado.

Detalhes

Descrição original do autor

Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.

repo: cloudflare/security-audit-skill

Popularidade

Estrelas no GitHub
57 mil
Posição no ranking
#3276
Licença
MIT
Atualizada em
14/09/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Skills parecidas