security-review
यह क्या करती है
यह स्किल एजेंट को कोड, किसी मॉड्यूल या फ़ीचर की सुरक्षा जाँच में मार्गदर्शन देती है। यह ऐसी कमज़ोरियाँ खोजती है जिनका हमलावर सच में फ़ायदा उठा सके, और हर एक को ठीक करने का तरीका समझाती है।
कब इस्तेमाल करें
- ✓जब आप नए कोड के लाइव होने से पहले उसकी सुरक्षा समीक्षा चाहें।
- ✓जब आपको शक हो कि कोई फ़ीचर उपयोगकर्ताओं को ऐसा डेटा देखने या बदलने दे रहा है जो उन्हें नहीं देखना चाहिए।
- ✓जब आप प्रोजेक्ट में लीक हुए पासवर्ड, key या असुरक्षित कमांड की जाँच चाहें।
Skill का लिंक
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/security-review/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरे लॉगिन फ़ीचर में सुरक्षा छेद जाँच सकते हैं, और बता सकते हैं कि जोखिम भरी चीज़ें कैसे ठीक करूँ?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट बताता है कि बाहरी इनपुट कोड में कहाँ आता है और कहाँ नुकसान कर सकता है। फिर वह उस डेटा को चरण-दर-चरण फ़ॉलो करता है, और केवल वही समस्याएँ रिपोर्ट करता है जिन्हें फ़ाइल, मार्ग और सुधार के साथ दिखा सके।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Security Review
Produce findings a reviewer can verify, not a vibes pass. Every finding names the file, the reachable path that makes it real, and the fix.
Scope the review first
- What is under review: a diff, a module, a plugin bundle, a network surface. Say the boundary out loud before reading.
- Trust boundaries: where untrusted input enters (HTTP handlers, MCP tool args, file parsers, CLI flags, env vars, rendered content) and where authority is exercised (fs writes, network egress, process spawn, credential reads, signing).
- Prerequisites: a checked-out tree and the project's own test runner. Ask for credentials only if a live path genuinely needs them; never read secrets from the environment or keychain yourself.
Procedure
- Map entry points and sinks.
rgfor the handlers, deserializers, and exec/fs/net calls in scope. Follow data from entry to sink before judging it. - Authn/authz. Every mutating or sensitive handler checks identity and object-level authorization. Look for checks that exist on one path but not its sibling, and for checks done on the client only.
- Injection. Command lines, SQL, template eval, shell expansion, path joins under user influence, and markup that will render later — including generated HTML/markdown that carries repo content into a browser surface.
- Secrets.
rgfor token/key/secret patterns andgit log -pthe diff for credentials. Also check what gets logged or embedded in receipts, exports, or error messages. - Dependencies. Run the project's audit gate if it exists
(
cargo audit,npm audit,osv-scanner) — report versions and CVEs, not "deps look old". - Denial and abuse paths. Unbounded reads/allocations, missing timeouts on network calls, resource leaks in error paths, retry storms.
- Verify a finding before reporting it. Trace the real call path or write a minimal proof. A finding that "looks suspicious" but has no reachable path is a note, not a finding.
Findings format
For each: severity (exploitability × impact), file:line, the reachable path, a one-paragraph explanation, and the fix. Order by severity. Then a short "checked and clean" list naming what was audited and cleared — the scope statement means something only if the clear list is honest.
Recovery and limits
- If you cannot prove reachability, downgrade the claim and say what evidence is missing.
- Do not claim a formal audit, certification, or absence of vulnerabilities. This review finds defects; it does not prove none exist.
- Never fix-and-stay-quiet on a security finding in someone else's in-flight code — report it first.
Completion criteria
- Every entry point in scope was traced to its sinks.
- Findings carry file:line + reachability + fix; the clear list names what was actually checked.
- Severity ordering is defensible by exploitability, not by how loudly the code smells.
अक्सर पूछे जाने वाले सवाल
क्या यह सामान्य कोड समीक्षा जैसी है?
नहीं। यह सामान्य गुणवत्ता, स्टाइल या साफ़-सफ़ाई के बजाय ऐसी कमज़ोरियों पर केंद्रित है जिनका फ़ायदा उठाया जा सके।
क्या एजेंट मेरे पासवर्ड या key पढ़ेगा?
स्किल कहती है कि एजेंट एनवायरनमेंट या keychain से सीक्रेट खुद न पढ़े, और क्रेडेंशियल तभी माँगे जब लाइव टेस्ट को सच में उनकी ज़रूरत हो।
क्या हर नतीजे के साथ सुधार होता है?
हाँ। हर नतीजा फ़ाइल, वह मार्ग जो उसे असली जोखिम बनाता है, और सुझाया गया सुधार बताता है।
जानकारी
लेखक का मूल विवरण
Review a change, module, or surface for exploitable defects — trust boundaries, authn/authz, injection, secret exposure, filesystem and network reach, dependency risk. Use when the user asks for a security review, audit, or vulnerability check of concrete code. Not for general code review, lint, or compliance paperwork.
repo: codewhale-hq/Codewhale
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6552
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
best-of-n
41kआपके एजेंट को किसी कठिन समस्या के लिए कई स्वतंत्र उत्तर बनवाने, उन्हें एक ही मापदंड पर आँकने, और केवल वही लागू करने में मदद करती है जो जाँच पास करे।
dataviz
41kआपके एजेंट को आपके डेटा के लिए सही चार्ट या डैशबोर्ड चुनने में मदद करती है, साफ़ लेबल, स्रोत नोट्स और एक्सिस व गायब मानों की जाँच के साथ।
debug
41kआपके एजेंट को अंदाज़े लगाने के बजाय बग को दोबारा पैदा करके, दायरा छोटा करके, असली कारण ढूँढने में मदद करती है, और सुधार केवल आपकी मंज़ूरी पर करती है।
delegate
41kआपके एजेंट को किसी बड़े काम को केंद्रित समानांतर सहायकों में बाँटना सिखाती है, जबकि योजना, एकीकरण और अंतिम जाँच अपने पास रखे।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।