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

security-scan

Skill này làm gì

Skill này chạy quét bảo mật theo mẫu trên mã của bạn, tìm vấn đề phụ thuộc, bí mật được ghi cứng trong mã và các mẫu mã rủi ro. Skill dành cho lập trình viên muốn một lượt kiểm tra bảo mật sơ bộ trước khi rà soát hoặc phát hành.

Khi nào nên dùng

  • ✓Khi bạn đang rà soát một pull request về vấn đề bảo mật.
  • ✓Khi bạn muốn kiểm tra bảo mật trước khi triển khai lên production.
  • ✓Khi bạn muốn quét nhanh, chuẩn hoặc sâu cho mã.

Liên kết skill

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-security-audit/skills/security-scan/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/plugins/ruflo-security-audit/skills/security-scan/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

“Hãy quét bảo mật mức chuẩn cho codebase này và cho tôi biết những phát hiện nào cần kiểm tra thủ công trước.”

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

Cách hoạt động

Skill chạy bộ quét ở mức độ bạn chọn. Các phụ thuộc được kiểm tra đầy đủ, còn bí mật và mẫu mã được tìm đến độ sâu do mức quét quyết định. Skill coi mọi phát hiện là một đầu mối và mở file để xác nhận trước khi báo cáo.

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.

Run a security scan at the specified depth.

Via CLI:

npx @claude-flow/cli@latest security scan --depth DEPTH --output json
npx @claude-flow/cli@latest security cve --list
npx @claude-flow/cli@latest security threats --model stride --export md

What the scan really does (v3/@claude-flow/cli/src/commands/security.ts): phase 1 runs npm audit for dependencies, phase 2 greps for hard-coded secrets, phase 3 greps source for risky code patterns. --type deps|code|all picks phases; --depth only sets how many directory levels phases 2 and 3 descend:

Depth Dependencies Secrets (levels) Code patterns (levels)
quick yes 3 skipped
standard yes 5 5
deep yes 10 10

It is a pattern scanner, not a taint or auth-flow analyser, and security threats is a separate STRIDE/DREAD/PASTA template, not a scan of your code. Treat every finding as a lead, not a verdict: open the file at the reported line before reporting it, and drop matches in comments, error strings, generated bundles (coverage/, playwright-report/) and test fixtures. Say which of the phases above you ran and which you did not.

Store findings via MCP: mcp__plugin_ruflo-core_ruflo__memory_store({ key: "scan-findings", value: "SUMMARY", namespace: "security-findings" })

Train patterns: mcp__plugin_ruflo-core_ruflo__hooks_post-task({ taskId: "security-scan", success: true, storeResults: true })

Câu hỏi thường gặp

Đây có phải là một kiểm toán bảo mật đầy đủ không?

Không. Nguồn gọi nó là bộ quét mẫu, không phải công cụ phân tích taint hay xác thực, nên kết quả chỉ là đầu mối cần xác minh.

Các mức độ sâu thay đổi những gì?

Chỉ thay đổi số cấp thư mục mà các kiểm tra bí mật và mã tìm kiếm, từ nhanh đến sâu.

Kết quả có được lưu không?

Có. Một bản tóm tắt có thể được lưu vào không gian bộ nhớ security-findings.

Chi tiết

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

Run full security scans on the codebase using Ruflo security tools. Use when reviewing PRs for security regressions, auditing auth/input-handling code, before production deploys, or when the user asks for a security check at quick/standard/deep depth.

repo: ruvnet/ruflo

Độ phổ biến

Sao GitHub
81k
Vị trí xếp hạng
#1694
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ự