security-audit

Audit Rust project dependencies, code, and configuration for security vulnerabilities.

11|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/bug-ops/claude-plugins --skill security-audit-bug-ops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-audit
Source: https://github.com/bug-ops/claude-plugins/tree/main/rust-code/skills/security-audit
Command: npx skills add https://github.com/bug-ops/claude-plugins --skill security-audit-bug-ops

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cargo, cargo-audit, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill identifies and addresses security vulnerabilities in Rust projects by auditing dependencies, code, and configuration.

Core Features & Use Cases

  • Dependency Audit: Checks for vulnerabilities in dependencies using Cargo's built-in tools.
  • Code Analysis: Scans for unsafe code patterns, hardcoded secrets, and input validation issues.
  • Configuration Review: Evaluates Cargo.toml and other configuration files for security best practices.
  • Use Case: Before deploying a new version of a Rust project, use this Skill to ensure all known vulnerabilities have been addressed.

Quick Start

Run the security audit skill on your project to identify potential security issues.

Frequently Asked Questions about security-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Rust dependencies for security vulnerabilities?

To audit Rust dependencies for security vulnerabilities, this Skill uses Cargo for dependency resolution and cargo-audit for scanning. It identifies known vulnerabilities across both direct and transitive dependencies in your Rust project.

What does a Rust security audit check for besides dependency vulnerabilities?

Beyond dependency vulnerabilities, a Rust security audit scans source code for unsafe patterns, hardcoded secrets, and input validation flaws. It also evaluates Cargo.toml and other configuration files for security best practices.

Do I need Cargo and cargo-audit installed to scan my Rust project?

Yes, running a security audit requires both Cargo and cargo-audit. Cargo handles dependency resolution while cargo-audit performs the vulnerability scanning against the advisory database for your Rust project.

When should I run a security audit on my Rust codebase?

Run a security audit on your Rust codebase before deploying a new version to ensure all known vulnerabilities in dependencies, code, and configuration have been addressed. It is also useful when adding new dependencies to your project.

What's the best way to find unsafe code patterns in a Rust project?

Finding unsafe code patterns in a Rust project is best handled by an automated audit that scans source files for unsafe blocks, hardcoded secrets, and input validation issues. This Skill combines code analysis with dependency vulnerability scanning and configuration review.