मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी5.4k · #14906

hunt-exceptional-conditions

यह क्या करती है

यह स्किल वेब endpoints पर अनपेक्षित या गलत बने इनपुट भेजती है और जाँचती है कि त्रुटियाँ आंतरिक विवरण तो नहीं दिखातीं। यह फ़ॉर्म, APIs और सर्च फ़ील्ड्स के अधिकृत परीक्षण के लिए है।

कब इस्तेमाल करें

  • ✓जब कोई API या फ़ॉर्म विशेष प्रकार की अपेक्षा करता है और आप देखना चाहते हैं कि वह कैसे विफल होता है।
  • ✓जब error पेज सर्वर की फ़ाइल पाथ या library वर्ज़न दिखा सकता है।
  • ✓जब कोई सर्च या फ़िल्टर फ़ील्ड असामान्य इनपुट को सुरक्षित रूप से न संभालता हो।

Skill का लिंक

https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-exceptional-conditions/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-exceptional-conditions/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप हमारे अधिकृत परीक्षण में हमारे feedback API को कुछ गलत बने इनपुट भेजकर जाँच सकते हैं कि त्रुटियाँ आंतरिक विवरण दिखाती हैं या नहीं?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट एक बार में एक धारणा बदलता है, जैसे गलत डेटा प्रकार या टूटा हुआ JSON, और error जवाब पढ़ता है। त्रुटि से उजागर हुए आंतरिक विवरण की रिपोर्ट देता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

HUNT-EXCEPTIONAL-CONDITIONS — Verbose Errors / Fail-Open (A10:2025)

What actually pays

Well-built apps catch errors and return a clean, generic message. A broken app, when handed input it didn't expect, throws an unhandled exception and renders a developer error page straight to the client — leaking the stack trace, the ORM/query internals, server-side file paths, and framework/library versions. That disclosure is the finding (and it arms SQLi/RCE/path attacks next).

Recon

Any endpoint that parses input is a candidate; the richest are:

JSON APIs that expect typed fields:  POST /api/* with {numbers, ids, enums}
Endpoints with numeric/id path or query params:  /item/{id}, ?page=, ?quantity=
Search / filter / sort params
File or content-type sensitive uploads

Attack — send what the code didn't anticipate

Take a known-good request and break ONE assumption at a time:

  • Wrong type: a field the app expects to be a number/string is sent as an array or object — {"rating":"x","comment":[1,2,3]}, {"quantity":{}}.
  • Malformed body: truncated/!invalid JSON, an unterminated string, a stray brace, a wrong/missing Content-Type.
  • Boundary/oversized: a very long string, a huge/negative/overflow number.
  • Null byte / control chars embedded in a value.
POST /api/Feedbacks   {"rating":"notanumber","comment":[1,2,3]}
GET  /item/' OR /item/%00   (also exercises the error path)

Watch the RESPONSE BODY, not just the status: a 500 (or even a 200/400) whose body contains a stack trace or framework error page is the signal.

What counts as a leak (the success signal)

A finding is confirmed when the response body contains a cross-framework error-disclosure signature:

  • Node/Express + Sequelize: SequelizeDatabaseError, node_modules/sequelize, a JS stack with internal paths.
  • PHP: <b>Warning</b> ... /var/www/.../file.php on line N.
  • Python: Traceback (most recent call last), werkzeug.exceptions.
  • Java: at com.app.Foo(Foo.java:42) stack frames.
  • .NET: Server Error in '/' Application, a [System.XxxException: ...] YSOD.

A clean JSON error ({"error":"Invalid input"}) with no internals is NOT a finding — that's correct handling. Disclosure of internal structure is.

Validation discipline

  • Capture the exact leaked artifact (path, ORM class, version, stack frame) — that's the evidence. "It returned 500" alone is not disclosure.
  • Note what the leak enables next (e.g. a disclosed SQL error → hunt-sqli; a disclosed absolute path → hunt-lfi).
अक्सर पूछे जाने वाले सवाल

क्या सामान्य error संदेश भी खोज है?

आम तौर पर नहीं। स्किल कहती है कि खोज तभी है जब error stack trace या फ़ाइल पाथ जैसे आंतरिक विवरण उजागर करे।

कैसे इनपुट आज़माए जाते हैं?

गलत प्रकार, टूटा JSON, बहुत बड़े मान और null bytes जैसे असामान्य वर्ण।

यह क्यों मायने रखता है?

लीक हुए आंतरिक विवरण हमलावर को आगे के हमलों की योजना में मदद कर सकते हैं, इसलिए स्किल इसे असली जोखिम मानती है।

जानकारी

लेखक का मूल विवरण

Hunt mishandling of exceptional conditions — feed an endpoint malformed/unexpected input (wrong type, broken JSON, oversized field, null byte) and make it fail OPEN or leak internals: a verbose stack-trace / framework error page that discloses ORM internals, server file paths, library versions, or a language traceback. Use on any input-accepting endpoint (JSON APIs, forms, query params). Medium-High when the leak exposes internal structure that arms a deeper attack.

repo: elementalsouls/Claude-BugHunter

लोकप्रियता

GitHub स्टार
5.4k
रैंकिंग में स्थान
#14906
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

apk-redteam-pipeline

5.4k

यह आपके एजेंट को Android ऐप में सुरक्षा कमज़ोरियाँ परखने देती है: APK फ़ाइल ढूँढने और उसे decompile करने से लेकर उजागर secrets जाँचने तक।

कोडिंगसिक्योरिटी

bugcrowd-reporting

5.4k

यह आपके एजेंट को Bugcrowd पर बेहतर कमज़ोरी रिपोर्ट लिखने देती है, सही श्रेणी चुनते हुए और दायरे से बाहर वाली आपत्तियों का जवाब देते हुए।

कोडिंगसिक्योरिटी

cloud-iam-deep

5.4k

यह आपके एजेंट को अधिकृत सुरक्षा परीक्षण में जाँचने देती है कि मिली क्लाउड credential AWS, Azure या Google Cloud पर क्या-क्या एक्सेस कर सकती है।

कोडिंगसिक्योरिटी

enterprise-vpn-attack

5.4k

यह आपके एजेंट को अधिकृत परीक्षण में Cisco, Fortinet, Citrix और अन्य VPN उपकरणों की ज्ञात कमज़ोरियाँ जाँचने देती है।

कोडिंगसिक्योरिटी

मिलती-जुलती skills