Chuyển đến nội dung
Skillpedia
Bảo mật81k · #1537

security-audit

Skill này làm gì

Skill này hướng dẫn agent review bảo mật cho mã, kiểm tra các điểm yếu phổ biến như xử lý đầu vào kém và đường dẫn file không an toàn. Phù hợp với lập trình viên muốn kiểm tra bảo mật trước khi phát hành các tính năng liên quan đến đăng nhập, thanh toán hoặc dữ liệu người dùng.

Khi nào nên dùng

  • ✓Khi bạn đang xây dựng tính năng xác thực hoặc phân quyền.
  • ✓Khi mã của bạn xử lý thanh toán, dữ liệu cá nhân hoặc tải file lên.
  • ✓Khi bạn thêm một endpoint API mới hoặc kết nối với dịch vụ bên ngoài.

Liên kết skill

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/security-audit/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/security-audit/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Quét bảo mật thư mục API của tôi và liệt kê mọi vấn đề về kiểm tra đầu vào hoặc injection.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chạy các kiểm tra bảo mật trên mã, tìm các mẫu như đầu vào không an toàn, path traversal và rủi ro injection, rồi báo cáo những gì nó tìm thấy.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

Script Path Description
security-scan .agents/scripts/security-scan.sh Run full security scan pipeline
cve-remediate .agents/scripts/cve-remediate.sh Auto-remediate known CVEs

References

Document Path Description
Security Checklist docs/security-checklist.md Security review checklist
OWASP Guide docs/owasp-top10.md OWASP 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
Câu hỏi thường gặp

Nó có thay thế được kiểm toán bảo mật chuyên nghiệp không?

Không. Nó giúp phát hiện các vấn đề phổ biến, nhưng với hệ thống nhạy cảm vẫn nên có một đợt review chuyên biệt.

Nó có chỉ kiểm tra một thư mục không?

Có. Skill hỗ trợ tùy chọn đường dẫn, nên bạn có thể quét một thư mục cụ thể.

Nó có sửa lỗi giúp tôi không?

Skill tập trung vào phát hiện vấn đề, nên bạn quyết định sửa gì và cần xem lại các thay đổi.

Chi tiết

Mô tả gốc của tác giả

Comprehensive security scanning and vulnerability detection. Includes input validation, path traversal prevention, CVE detection, and secure coding pattern enforcement. Use when: authentication implementation, authorization logic, payment processing, user data handling, API endpoint creation, file upload handling, database queries, external API integration. Skip when: read-only operations on public data, internal development tooling, static documentation, styling changes.

repo: ruvnet/ruflo

Độ phổ biến

Sao GitHub
81k
Vị trí xếp hạng
#1537
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự