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

security-requirement-extraction

Skill này làm gì

Công cụ này giúp biến các ý tưởng về mối đe dọa bảo mật thành quy tắc rõ ràng, có thể thực hiện được cho hệ thống. Nó chuyển phân tích mối đe dọa thành các yêu cầu bảo mật cụ thể.

Khi nào nên dùng

  • ✓Khi bạn chuyển mô hình mối đe dọa thành yêu cầu.
  • ✓Khi bạn viết các user story tập trung vào bảo mật.
  • ✓Khi bạn tạo các ca kiểm thử để xác minh bảo mật.

Liên kết skill

https://github.com/wshobson/agents/blob/main/plugins/security-scanning/skills/security-requirement-extraction/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/wshobson/agents/blob/main/plugins/security-scanning/skills/security-requirement-extraction/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

“Chuyển các mối đe dọa này thành yêu cầu bảo mật: “Truy cập trái phép vào dữ liệu khách hàng” và “Lộ thông tin nhạy cảm”.”

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

Cách hoạt động

Công cụ phân tích các mối đe dọa đã xác định và bối cảnh nghiệp vụ để tạo ra các yêu cầu cụ thể. Nó phân loại các yêu cầu này (hệ thống phải làm gì, phải hoạt động như thế nào, hoặc các giới hạn) và thêm các chi tiết quan trọng như khả năng truy vết và mức ưu tiên.

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

Transform threat analysis into actionable security requirements.

When to Use This Skill

  • Converting threat models to requirements
  • Writing security user stories
  • Creating security test cases
  • Building security acceptance criteria
  • Compliance requirement mapping
  • Security architecture documentation

Core Concepts

1. Requirement Categories

Business Requirements → Security Requirements → Technical Controls
         ↓                       ↓                      ↓
  "Protect customer    "Encrypt PII at rest"   "AES-256 encryption
   data"                                        with KMS key rotation"

2. Security Requirement Types

Type Focus Example
Functional What system must do "System must authenticate users"
Non-functional How system must perform "Authentication must complete in <2s"
Constraint Limitations imposed "Must use approved crypto libraries"

3. Requirement Attributes

Attribute Description
Traceability Links to threats/compliance
Testability Can be verified
Priority Business importance
Risk Level Impact if not met

Templates and detailed worked examples

Full template library lives in references/details.md. Read that file when you need concrete templates for this skill.

Best Practices

Do's

  • Trace to threats - Every requirement should map to threats
  • Be specific - Vague requirements can't be tested
  • Include acceptance criteria - Define "done"
  • Consider compliance - Map to frameworks early
  • Review regularly - Requirements evolve with threats

Don'ts

  • Don't be generic - "Be secure" is not a requirement
  • Don't skip rationale - Explain why it matters
  • Don't ignore priorities - Not all requirements are equal
  • Don't forget testability - If you can't test it, you can't verify it
  • Don't work in isolation - Involve stakeholders
Câu hỏi thường gặp

Yêu cầu bảo mật là gì?

Đó là các quy tắc cụ thể định nghĩa cách một hệ thống phải bảo vệ thông tin và vận hành an toàn, dựa trên các mối đe dọa tiềm ẩn.

Tại sao cần truy vết yêu cầu về mối đe dọa?

Điều này đảm bảo mọi quy tắc bảo mật được tạo ra đều có mục đích rõ ràng và liên kết trực tiếp với một rủi ro đã xác định, tránh các yêu cầu thừa hoặc thiếu sót.

Khác nhau giữa yêu cầu bảo mật chức năng và phi chức năng là gì?

Yêu cầu chức năng nêu hệ thống PHẢI LÀM GÌ để an toàn (ví dụ xác thực người dùng). Yêu cầu phi chức năng nêu hệ thống PHẢI HOẠT ĐỘNG RA SAO về bảo mật (ví dụ xác thực nhanh).

Chi tiết

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

Derive security requirements from threat models and business context. Use when translating threats into actionable requirements, creating security user stories, or building security test cases.

repo: wshobson/agents

Độ phổ biến

Sao GitHub
41k
Vị trí xếp hạng
#6780
Giấy phép
MIT
Cập nhật
15/10/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ự