deepsec
यह क्या करती है
यह स्किल deepsec चलाती है, जो AI टूल है और कोड में सुरक्षा कमज़ोरियों की समीक्षा करता है। यह उन डेवलपर्स के लिए है जो मौजूदा repository या हाल के बदलावों को कमज़ोरियों के लिए स्कैन करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप पूरे codebase को सुरक्षा समस्याओं के लिए स्कैन करना चाहते हैं।
- ✓जब आप केवल अनकमिट बदलाव या main branch से तुलना वाले बदलाव जांचना चाहते हैं।
- ✓जब आप पुराने कोड की सुरक्षा समीक्षा चाहते हैं जो कभी pull request समीक्षा से नहीं गुज़रा।
Skill का लिंक
https://github.com/vercel-labs/deepsec/blob/main/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी repository को सुरक्षा कमज़ोरियों के लिए स्कैन कीजिए, लेकिन पहले पूछिए कि कोड का कौन सा हिस्सा जांचना है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट पहले पूछता है कि कौन सा दायरा स्कैन करना है, जैसे अनकमिट बदलाव, main से तुलना, या पूरा codebase। तेज़ स्कैन संभावित फ़ाइलें चिह्नित करता है, फिर AI एजेंट्स हर एक की जांच करते हैं और गंभीरता रेटिंग के साथ निष्कर्ष दर्ज करते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
/deepsec — scan this repository with deepsec
deepsec is an AI-powered vulnerability scanner.
- Modern AI models are great at security code review.
- Most review solutions only run on pull requests.
- That means most legacy code was never reviewed, and your code from 6 months ago was reviewed by older models.
- Instead deepsec does security review on ALL of your existing code using scaled VM fanout.
- Vercel's deepsec is open source, runs in your own infrastructure, and supports strong agent sandboxing.
A fast regex scan flags candidate files, then AI agents investigate each
candidate in depth and record findings with severity ratings; findings can
later be revalidated, triaged, and exported. Everything it adds to a repository
lives in a single .deepsec/ workspace (config, installed package, per-project
data). Because processing runs real AI agents, it costs money in proportion
to how much code it investigates.
Follow this runbook when the user invokes /deepsec or asks for a scan.
1. Ask for scope first
Ask the user which scope to process, using a structured question tool if you have one (AskUserQuestion in Claude Code), otherwise plain text:
- Uncommitted changes — working tree + untracked files
- Diff to main — changes vs
origin/main(usemainif there is nooriginremote) - Entire codebase — warn that this is the expensive option: AI processing investigates every candidate file and can cost real money on a large repository
Ask before doing anything else so the rest of the flow can run unattended.
2. Detect onboarding state
From the repository root:
- No
.deepsec/deepsec.config.ts→ not onboarded. Do step 3 in full. .deepsec/exists but.deepsec/node_modules/deepsecis missing, or a previous setup was interrupted → re-run the init command from step 3; it resumes from checkpoints and repairs the install rather than starting over.- Otherwise → onboarded; skip to step 4.
3. Onboard without full processing
Onboarding normally ends with an AI processing pass over the whole
repository. Since the user already chose a scope, stop setup after the
coverage phase — that still includes install, login, threat model, matcher
generation, and the final regex scan, but skips the full-repo AI process
phase. The scoped processing happens in step 4 instead.
From the repository root, inspect the read-only plan, then run setup:
npx -y deepsec init --plan --output json
npx -y deepsec init --yes --through coverage --output jsonl
Parse every output line as JSON. On a needs_input event, show the supplied
message and actions to the user rather than inventing remediation. In
particular, VERCEL_AUTH_REQUIRED normally asks the user to run
npx vercel login; after they do, follow the returned link action from
inside .deepsec (use npx vercel link when the user needs to choose a
project), then re-run the same init command. Exit code 2 means input is
needed; exit code 3 means a cost/duration boundary stopped the resumable
run — re-running the same command resumes it. Never expose credential
values, bypass --yes prompts on the user's behalf beyond the flag itself,
or launch an interactive login yourself.
4. Run the scoped processing
Run from inside .deepsec/ (the config loader only finds
deepsec.config.ts in the current directory or its ancestors; after step 3,
npx deepsec resolves to the copy installed there):
| Scope | Command |
|---|---|
| Uncommitted changes | cd .deepsec && npx deepsec process --diff-working |
| Diff to main | cd .deepsec && npx deepsec process --diff origin/main |
| Entire codebase, right after step 3 | cd .deepsec && npx deepsec process (the final scan from setup already produced the candidate set) |
| Entire codebase, previously onboarded | cd .deepsec && npx deepsec scan && npx deepsec process |
5. Interpret results
- Direct-mode (
--diff*) exit codes:0= no net-new findings,1= at least one net-new finding (not an error), anything else = runtime error. Pre-existing findings on touched files are excluded from the gate. - Summarize any findings for the user, then offer follow-ups (all from
inside
.deepsec/):npx deepsec report,npx deepsec revalidate, andnpx deepsec export --format md-dir --out ./findings.
Going deeper
After onboarding, full documentation ships with the installed package at
.deepsec/node_modules/deepsec/dist/docs/ — getting-started.md
अक्सर पूछे जाने वाले सवाल
क्या इसका खर्च लगता है?
हाँ। चूंकि यह AI एजेंट्स चलाता है, खर्च जांचे गए कोड की मात्रा के साथ बढ़ता है।
नतीजे कहां रखे जाते हैं?
सब कुछ repository के भीतर deepsec नाम के एक workspace फ़ोल्डर में रहता है।
क्या निष्कर्षों की बाद में समीक्षा हो सकती है?
हाँ। निष्कर्षों को बाद में दोबारा सत्यापित, छांटा और निर्यात किया जा सकता है।
जानकारी
लेखक का मूल विवरण
Run deepsec, an AI-powered cyber-security vulnerability scanner. Activates when the user invokes /deepsec, asks to run deepsec, or wants to scan their repo, branch, or uncommitted changes for vulnerabilities.
repo: vercel-labs/deepsec
लोकप्रियता
- GitHub स्टार
- 8.3k
- रैंकिंग में स्थान
- #12466
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 29/9/2026
कमेंट
- …
इस repository की और skills
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।