web-cookie-audit
यह क्या करती है
यह बताती है कि साइट की कुकी की सूची कैसे बनाएँ और परखें कि कौन सी कुकी साइट का व्यवहार बदलती है। यह उन परीक्षकों के लिए है जिन्हें सेशन पर निर्भर ऐप्स के सटीक नतीजे चाहिए।
कब इस्तेमाल करें
- ✓जब परीक्षक को ऐसा फ़ीचर दिखे जो केवल लॉगिन के बाद काम करता है और उसे जानना हो कि कौन सी कुकी मायने रखती है।
- ✓जब डेवलपर चाहे कि उसकी साइट द्वारा सेट हर कुकी और उसकी वजह की सूची हो।
- ✓जब टेस्ट नतीजा ब्लॉक हुआ लगे, पर कारण गायब सेशन कुकी हो सकता है।
Skill का लिंक
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/web-recon/cookie-audit/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारी साइट कौन सी कुकी सेट करती है, और उनमें से कौन सी चेकआउट के काम करने का तरीका बदलती हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह स्किल AI को हर कुकी दर्ज करने, हर एक के साथ और बिना परीक्षण करने, और यह नोट करने को कहती है कि कौन सी कुकी व्यवहार बदलती है। नतीजे एक टेबल में जाते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Cookie-Conditional Sink Discovery
A "sink" (eval, deserialize, exec, template render) may behave differently — or not fire at all — depending on which session cookies are present. Recon MUST enumerate every cookie the app sets and re-test each candidate sink with and without each cookie before declaring the sink unreachable. Skipping this step is the most common cause of exploit handing back a false "blind sink" verdict.
Procedure
- Walk the app unauthenticated; record every
Set-Cookie(name, attributes, source endpoint). - Authenticate (every auth tier: anon, low-priv user, high-priv user) and record the full cookie jar after each.
- For each candidate sink (parameter, route, header, body field):
- Probe with NO cookies.
- Probe with FULL authenticated jar.
- Bisect: drop one cookie at a time and re-probe. The cookie whose removal silences the sink is the gating cookie.
- Document a "Sink preconditions" table in
recon_notes.mdandSUMMARY.md:
| Sink | Endpoint | Method | Required cookies | Behavior w/o cookie | Behavior w/ cookie | Notes |
|---|---|---|---|---|---|---|
bookmark_data (deser) |
/bookmarks/import |
POST | session=...; auth_tier=user |
302 → /login | 200 + processed | gated by auth_tier |
4a. Session mutation audit. For every endpoint that READS session, trace which other endpoints WRITE to the SAME session key BEFORE the security verdict (login, password check, role lookup). This is the data race-condition exploit needs. Output a "Session-write timeline" table:
| Endpoint | Reads session keys | Writes session keys (pre-verdict) | Slow ops (bcrypt/DB/network) | Race window (ms) |
|---|---|---|---|---|
POST /login |
— | user, auth_tier (set BEFORE bcrypt) |
bcrypt ~200ms | ~200 |
GET /admin_panel |
user, auth_tier |
— | — | reads during the login bcrypt window |
If the challenge tag includes race_condition, toctou, concurrent, or smuggling_desync and recon hands off WITHOUT this table, exploit MUST flag the handoff back as "recon incomplete: session-write timeline missing".
- In the handoff to exploit/postexploit, ALWAYS include a Required session state line:
Required session state: cookies=[session, auth_tier=user]; obtained via POST /login (creds: user@example.com / hunter2)
If recon hands off without this line, exploit is required to re-run cookie enumeration before concluding any sink is unreachable.
अक्सर पूछे जाने वाले सवाल
कुकी एक-एक करके क्यों जाँचें?
एक बार में एक कुकी हटाने से पता चलता है कि कौन सी कुकी सचमुच फ़ीचर को नियंत्रित करती है।
आउटपुट कैसा दिखता है?
यह फ़ीचर, उनकी ज़रूरी कुकी और साइट के जवाब की एक टेबल होती है।
इससे किसे फ़ायदा है?
सेशन आधारित ऐप्स के साफ़ और सटीक नतीजे चाहने वाले परीक्षकों और डेवलपर्स को।
जानकारी
लेखक का मूल विवरण
Cookie-conditional sink discovery — bisect required cookies per sink, session-write timeline for race-condition challenges.
लोकप्रियता
- GitHub स्टार
- 6.5k
- रैंकिंग में स्थान
- #14154
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
detector-overview
6.5kयह आपके एजेंट को स्कैनर से चिह्नित कोड पढ़ने और तय करने में मदद करती है कि कौन सी जगहें असली सुरक्षा बग हैं और कौन सी गलत चेतावनी।
exploiter-overview
6.5kयह आपके एजेंट को कई पक्की सुरक्षा कमज़ोरियों को एक परीक्षण श्रृंखला में जोड़ने और जाँचने में मदद करती है कि वह श्रृंखला कितनी दूर तक पहुँच सकती है।
llm-redteam-overview
6.5kयह आपके एजेंट को परीक्षण के लिए सही AI रेड-टीम गाइड खोजने में मदद करती है, प्रॉम्प्ट इंजेक्शन से लेकर मॉडल के दुरुपयोग तक 15 रणनीति समूहों में।
aatmf-t01-prompt-injection
6.5kसमझाती है कि प्रॉम्प्ट इंजेक्शन क्या है, जिसमें छिपे निर्देश AI सिस्टम के नियम बदलने की कोशिश करते हैं, ताकि सुरक्षा परीक्षक उसकी जाँच कर सकें।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।