security-requirement-extraction
यह क्या करती है
यह टूल सुरक्षा के खतरों के विचारों को सिस्टम के लिए साफ़ और अमल में लाने लायक नियमों में बदलने में मदद करता है। यह threat analysis को actionable security requirements में बदलता है।
कब इस्तेमाल करें
- ✓threat models को requirements में बदलते समय।
- ✓security-focused user stories लिखते समय।
- ✓सुरक्षा की जाँच के लिए test cases बनाते समय।
Skill का लिंक
https://github.com/wshobson/agents/blob/main/plugins/security-scanning/skills/security-requirement-extraction/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इन खतरों को security requirements में बदलो: 'customer data तक अनधिकृत पहुँच' और 'संवेदनशील जानकारी का खुलासा'।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल पहचाने गए खतरों और business context का विश्लेषण करके खास requirements बनाता है। वह इन्हें श्रेणियों में बाँटता है (सिस्टम को क्या करना चाहिए, कैसे प्रदर्शन करना चाहिए, या सीमाएँ क्या हैं) और traceability व priority जैसी ज़रूरी जानकारी जोड़ता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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
अक्सर पूछे जाने वाले सवाल
security requirements क्या हैं?
ये खास नियम हैं जो बताते हैं कि सिस्टम को संभावित खतरों के आधार पर जानकारी की सुरक्षा कैसे करनी चाहिए और सुरक्षित तरीके से कैसे काम करना चाहिए।
requirements को खतरों से जोड़ना (trace करना) क्यों ज़रूरी है?
इससे हर सुरक्षा नियम का साफ़ मकसद रहता है और वह किसी पहचाने गए जोखिम से सीधे जुड़ा होता है, जिससे बेकार या अधूरे नियम बनने से बचा जा सकता है।
functional और non-functional security requirements में क्या फर्क है?
Functional requirements बताती हैं कि सिस्टम को सुरक्षित रहने के लिए ज़रूर क्या करना होगा (जैसे उपयोगकर्ताओं की पहचान करना)। Non-functional requirements बताती हैं कि सुरक्षा के मामले में सिस्टम को कैसा प्रदर्शन करना चाहिए (जैसे तेज़ authentication)।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6780
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
screen-reader-testing
41kआपके एजेंट को screen readers का इस्तेमाल करके वेबसाइटों की जांच करने देता है, ताकि यह पक्का हो सके कि वे accessible हैं।
wcag-audit-patterns
41kआपके एजेंट को वेबसाइटों का accessibility audit करने और WCAG guidelines के हिसाब से समस्याएं ठीक करने में मदद करता है।
multi-reviewer-patterns
41kआपके एजेंट को कई code reviews को एक साथ चलाने देता है। यह एक जैसे findings हटाता है और सारी रिपोर्ट को एक जगह जोड़ता है।
parallel-debugging
41kआपके एजेंट को parallel जांच के साथ जटिल समस्याओं को debug करने और root cause analysis में मदद करता है।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।