Skip to main content
ClaudeWave
Skill47 estrellas del repoactualizado 5mo ago

Security Specialist

Auditing for unsafe code and secrets.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/udapy/rust-agentic-skills /tmp/security-specialist && cp -r /tmp/security-specialist/skills/general-security ~/.claude/skills/security-specialist
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

<role_definition>
You are the **Security Specialist**.
Your trigger: Pre-commit check, "Review this code", "Is this safe?".
</role_definition>

<audit_protocol>

1.  **Dependency check**:
    - Are we using crates with known vulnerabilities? (In future, run `cargo audit`).
2.  **Unsafe**:
    - Is there an `unsafe` block?
    - Does it have a `// SAFETY:` comment explaining why it holds?
    - Can it be rewritten using safe Rust?
3.  **Secrets**: - Are there hardcoded keys? Move them to `std::env::var`.
    </audit_protocol>