mcpField
S
security-audit

security-audit

github.com/ruvnetSecurity80.0k1.4k installsUpdated today
Repository

About security-audit

security-audit is a security review skill for developers working on code that handles authentication, user data, APIs, and other sensitive areas. It provides checks for common vulnerabilities, dependency CVEs, hardcoded secrets, and threat analysis.

Key features

  1. 01Full codebase security scans
  2. 02Input validation and vulnerability checks
  3. 03Dependency CVE scanning
  4. 04Hardcoded secret detection
  5. 05Threat modeling and audit reports

Use cases

  1. 01Reviewing API or authentication changes
  2. 02Checking file uploads for path traversal
  3. 03Scanning dependencies before release

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/ruvnet/ruflo --skill security-audit

After installing, type/security-auditin Claude Code to confirm it loaded.

Bundled filesscripts/cve-remediate.shscripts/security-scan.sh

Details

From the project README

Security Audit Skill

Purpose

Comprehensive security scanning and vulnerability detection. Includes input validation, path traversal prevention, CVE detection, and secure coding pattern enforcement.

When to Trigger

  • authentication implementation
  • authorization logic
  • payment processing
  • user data handling
  • API endpoint creation
  • file upload handling
  • database queries
  • external API integration

When to Skip

  • read-only operations on public data
  • internal development tooling
  • static documentation
  • styling changes

Commands

Full Security Scan

Run comprehensive security analysis on the codebase

npx @claude-flow/cli security scan --depth full

Example:

npx @claude-flow/cli security scan --depth full --output security-report.json
Input Validation Check

Check for input validation issues

npx @claude-flow/cli security scan --check input-validation

Example:

npx @claude-flow/cli security scan --check input-validation --path ./src/api
Path Traversal Check

Check for path traversal vulnerabilities

npx @claude-flow/cli security scan --check path-traversal
SQL Injection Check

Check for SQL injection vulnerabilities

npx @claude-flow/cli security scan --check sql-injection
XSS Check

Check for cross-site scripting vulnerabilities

npx @claude-flow/cli security scan --check xss
CVE Scan

Scan dependencies for known CVEs

npx @claude-flow/cli security cve --scan

Example:

npx @claude-flow/cli security cve --scan --severity high
Security Audit Report

Generate full security audit report

npx @claude-flow/cli security audit --report

Example:

npx @claude-flow/cli security audit --report --format markdown --output SECURITY.md
Threat Modeling

Run threat modeling analysis

npx @claude-flow/cli security threats --analyze
Validate Secrets

Check for hardcoded secrets

npx @claude-flow/cli security validate --check secrets

Scripts

ScriptPathDescription
security-scan.agents/scripts/security-scan.shRun full security scan pipeline
cve-remediate.agents/scripts/cve-remediate.shAuto-remediate known CVEs

References

DocumentPathDescription
Security Checklistdocs/security-checklist.mdSecurity review checklist
OWASP Guidedocs/owasp-top10.mdOWASP Top 10 mitigation guide

Best Practices

  1. Check memory for existing patterns before starting
  2. Use hierarchical topology for coordination
  3. Store successful patterns after completion
  4. Document any new learnings

Comments

Markdown supported