security-audit
यह क्या करती है
यह स्किल AI एजेंट को छोटे सवालों से लेकर पूरे ऑडिट तक, सॉफ़्टवेयर की सुरक्षा समीक्षा में मार्गदर्शन देती है। यह उन डेवलपर्स और सुरक्षा टीमों के लिए है जिन्हें साफ़ और सबूत-आधारित नतीजे चाहिए।
कब इस्तेमाल करें
- ✓जब आप किसी कोड या API के बारे में एक केंद्रित सुरक्षा सवाल पूछते हैं।
- ✓जब आप किसी कोडबेस का सुरक्षा ऑडिट या penetration test चाहते हैं।
- ✓जब आपको सबसे कम और असरदार सुधारों के साथ कमज़ोरियों की प्राथमिकता सूची चाहिए।
Skill का लिंक
https://github.com/cloudflare/security-audit-skill/blob/main/skills/security-audit/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे login API की सुरक्षा समीक्षा कीजिए, किसी भी समस्या के लिए साफ़ सबूत और हर एक का सुझाया गया सुधार दीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट पहले सोर्स कोड पढ़ता है और ऐसी कमज़ोरियाँ ढूँढता है जो किसी असली trust boundary को पार करती हों। पूरे ऑडिट के लिए वह कई चरणों में काम करता है और रिपोर्ट लिख सकता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Security Audit
Find vulnerabilities that violate a real trust boundary, then give owners the source evidence, safe reproduction, priority, and smallest effective fix. This is a defensive, source-first workflow. A candidate without a concrete affected principal, resource, or security outcome is not a confirmed finding.
Operating modes
This skill is guidance by default. Loading it does not authorize the complete audit workflow or file creation.
- Guidance mode: For security questions, focused reviews, methodology, triage, or investigation of specific findings, use only the relevant parts of this skill. Do not automatically run all six phases, create an output directory, or write audit artifacts. You may launch focused agents when useful; they return results to the current task.
- Full audit mode: Use the complete workflow when the user explicitly asks to audit or pen-test a codebase, asks for a full, comprehensive, or end-to-end security review, or requests report artifacts. Run all six phases and write the files defined below.
If the request could mean either mode, ask one focused question before creating files or starting the complete workflow.
Platform terminology
This skill is agent-neutral:
- Parent is the agent that coordinates the run and owns shared state.
- Task tool is the platform's delegation or sub-agent mechanism.
researchagent is a delegated agent for focused source exploration and factual verification.generalagent is a delegated agent for broad investigation and bounded local execution.subagent_type:in a heading names which of these two delegated agent roles runs that work.
Use equivalent platform capabilities while preserving role, write-isolation, prompt, and independence boundaries.
Universal execution safety
These rules apply in both operating modes. Source inspection is read-only. Run target-controlled builds, tests, processes, browsers, emulators, fuzzers, and fixture processing only inside an OS-enforced sandbox that provides all of these controls:
- no external network; use only an isolated loopback namespace when the check needs local client/server traffic;
- an empty environment populated from an explicit allowlist with safe values, with scratch-local
HOME, temporary directories, and caches; - a read-only target and toolchain, with the target-controlled process able to write only inside its assigned
scratch/directory; and - explicit low CPU, memory, process, file-size, disk, and wall-clock limits.
The agent, outside the target-controlled process, may make a disposable source copy in an assigned scratch/ directory when a build must write beside source. In guidance mode, do not retain target-controlled files. In full audit mode, only trusted parent-side code may promote the minimum non-secret result to retained artifacts/ using the procedure under Write isolation. Never expose a retained output directory (other than the agent's own assigned scratch/), another agent's directory, the host home directory, credentials, sockets, or shared services to target code. Do not install dependencies or let builds fetch them. Use only tools and dependencies already available locally. If every control cannot be enforced, do not execute target code: report the missing sandbox capability as a needs-validation blocker and give a safe validation plan.
Use dummy principals, fixtures, and secrets. Do not probe deployed endpoints, external services, shared infrastructure, production identities, other users' data, or live control planes. Do not test availability against a live or shared process, publish artifacts, alter releases, spend paid API quota, or continue beyond the minimum local effect needed to establish a defect. If the decisive fact is outside source or the sandboxed fixture, report it as needing validation.
Full audit setup
In full audit mode, resolve these values before reconnaissance:
- Skill directory: the absolute directory containing this
SKILL.md. - Target: the absolute repository root under review.
- Repo name: a stable repository identifier from the directory or local Git remote.
- Output directory: a new writable directory outside the target, defaulting to
~/security-audit-skill/<repo-name>/run-<N>, where<N>is the next unused integer. Use a directory inside the target only when the user explicitly selects it and the parent verifies that version control ignores the whole directory. Otherwi
अक्सर पूछे जाने वाले सवाल
क्या हर सुरक्षा सवाल पूरा ऑडिट शुरू करता है?
नहीं। स्किल के अनुसार केंद्रित सवाल सिर्फ़ प्रासंगिक हिस्सों का इस्तेमाल करता है, और पूरा ऑडिट तभी चलता है जब आप माँगें या रिपोर्ट का अनुरोध करें।
क्या यह मेरे कंप्यूटर पर फ़ाइलें बनाएगी?
सिर्फ़ पूरे ऑडिट मोड में, जहाँ रिपोर्ट फ़ाइलें लिखी जाती हैं। मार्गदर्शन मोड में ऑडिट फ़ाइलें नहीं बनतीं।
पुष्ट खोज किसे माना जाता है?
स्किल कहती है कि किसी उम्मीदवार को पुष्ट होने के लिए एक ठोस प्रभावित यूज़र, संसाधन या सुरक्षा परिणाम चाहिए।
जानकारी
लेखक का मूल विवरण
Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.
लोकप्रियता
- GitHub स्टार
- 57k
- रैंकिंग में स्थान
- #3276
- लाइसेंस
- MIT
- अपडेट की गई
- 14/9/2026
कमेंट
- …
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।