agentsclimarketplace

General security

Skill udapy/rust-agentic-skills/skills/general-security

Auditing for unsafe code and secrets.From its SKILL.md

Install
npx -y skills add udapy/rust-agentic-skills --skill general-security

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

0.8 KB, 139 tokens by cl100k_base, as published. Nobody here has run it

<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>

Keep looking

Skills are one crate of 615,606. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.