opencode-skills-collection 4.0.43 → 4.0.44

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 (270) hide show
  1. package/bundled-skills/.antigravity-install-manifest.json +47 -1
  2. package/bundled-skills/api-rate-limit-handler/SKILL.md +282 -0
  3. package/bundled-skills/api-security/SKILL.md +205 -0
  4. package/bundled-skills/api-security/references/jwt-oauth-testing.md +123 -0
  5. package/bundled-skills/api-security/references/rest-graphql-testing.md +137 -0
  6. package/bundled-skills/apk-reverse/SKILL.md +438 -0
  7. package/bundled-skills/apk-reverse/references/android-advanced.md +365 -0
  8. package/bundled-skills/apk-reverse/references/apk-security-checklist.md +230 -0
  9. package/bundled-skills/apk-reverse/references/frida-bypass-kit.md +70 -0
  10. package/bundled-skills/apk-reverse/references/frida-cookbook.md +472 -0
  11. package/bundled-skills/attack-chain/SKILL.md +185 -0
  12. package/bundled-skills/attack-chain/references/attack-playbooks.md +126 -0
  13. package/bundled-skills/attack-chain/references/evasion-cheatsheet.md +133 -0
  14. package/bundled-skills/attack-chain/references/lifecycle-checklist.md +37 -0
  15. package/bundled-skills/attack-chain/references/phases.md +490 -0
  16. package/bundled-skills/binary-diff/SKILL.md +320 -0
  17. package/bundled-skills/binary-diff/references/prompt-template.md +173 -0
  18. package/bundled-skills/browser-extension-reverse/SKILL.md +99 -0
  19. package/bundled-skills/browser-extension-reverse/references/extension-analysis.md +10 -0
  20. package/bundled-skills/case-review/SKILL.md +167 -0
  21. package/bundled-skills/cloud-k8s/SKILL.md +124 -0
  22. package/bundled-skills/cloud-k8s/references/k8s-cloud-checklist.md +16 -0
  23. package/bundled-skills/code-audit/SKILL.md +92 -0
  24. package/bundled-skills/code-audit/references/sast-review-checklist.md +10 -0
  25. package/bundled-skills/database-security/SKILL.md +81 -0
  26. package/bundled-skills/database-security/references/db-misconfig-checklist.md +9 -0
  27. package/bundled-skills/diagram-generator/SKILL.md +199 -0
  28. package/bundled-skills/diagram-generator/references/README.md +3 -0
  29. package/bundled-skills/diagram-generator/references/diagram-patterns.md +254 -0
  30. package/bundled-skills/digital-forensics/SKILL.md +93 -0
  31. package/bundled-skills/digital-forensics/references/forensics-triage.md +10 -0
  32. package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
  33. package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
  34. package/bundled-skills/docs/maintainers/repo-growth-seo.md +1 -1
  35. package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
  36. package/bundled-skills/docs/sources/sources.md +9 -0
  37. package/bundled-skills/docs/users/aas-core.md +1 -1
  38. package/bundled-skills/docs/users/bundles.md +1 -1
  39. package/bundled-skills/docs/users/claude-code-skills.md +1 -1
  40. package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
  41. package/bundled-skills/docs/users/kiro-integration.md +1 -1
  42. package/bundled-skills/docs/users/usage.md +3 -3
  43. package/bundled-skills/docs/users/visual-guide.md +4 -4
  44. package/bundled-skills/docs-generator/SKILL.md +197 -0
  45. package/bundled-skills/docs-generator/references/security-report-templates.md +348 -0
  46. package/bundled-skills/docs-generator/references/templates.md +102 -0
  47. package/bundled-skills/docs-generator/references/vendor-report-rules.md +263 -0
  48. package/bundled-skills/dotnet-reverse/SKILL.md +197 -0
  49. package/bundled-skills/dotnet-reverse/references/common-workflow.md +171 -0
  50. package/bundled-skills/dotnet-reverse/references/obfuscators.md +145 -0
  51. package/bundled-skills/dotnet-reverse/references/sharp-tools.md +164 -0
  52. package/bundled-skills/edr-bypass-re/SKILL.md +248 -0
  53. package/bundled-skills/edr-bypass-re/references/hook-survey.md +226 -0
  54. package/bundled-skills/edr-bypass-re/references/telemetry-blinding.md +346 -0
  55. package/bundled-skills/edr-bypass-re/references/unhook-techniques.md +338 -0
  56. package/bundled-skills/email-security/SKILL.md +81 -0
  57. package/bundled-skills/email-security/references/email-auth-checklist.md +8 -0
  58. package/bundled-skills/firmware-pentest/SKILL.md +381 -0
  59. package/bundled-skills/firmware-pentest/references/emba-automated-analysis.md +192 -0
  60. package/bundled-skills/firmware-pentest/references/emulation-and-fuzz.md +337 -0
  61. package/bundled-skills/firmware-pentest/references/extraction-methodology.md +285 -0
  62. package/bundled-skills/ghidra-reverse/SKILL.md +98 -0
  63. package/bundled-skills/ghidra-reverse/references/ghidra-cheatsheet.md +12 -0
  64. package/bundled-skills/go-rust-reverse/SKILL.md +82 -0
  65. package/bundled-skills/go-rust-reverse/references/go-rust-notes.md +5 -0
  66. package/bundled-skills/hardware-security/SKILL.md +80 -0
  67. package/bundled-skills/hardware-security/references/debug-interface-triage.md +7 -0
  68. package/bundled-skills/ida-reverse/SKILL.md +401 -0
  69. package/bundled-skills/ida-reverse/references/LOCAL-SETUP.md +66 -0
  70. package/bundled-skills/ida-reverse/references/ida-mcp-cheatsheet.md +515 -0
  71. package/bundled-skills/identity-federation/SKILL.md +81 -0
  72. package/bundled-skills/identity-federation/references/sso-flow-checklist.md +9 -0
  73. package/bundled-skills/instructree/SKILL.md +94 -0
  74. package/bundled-skills/js-reverse/SKILL.md +239 -0
  75. package/bundled-skills/js-reverse/references/ast-deobfuscation.md +3 -0
  76. package/bundled-skills/js-reverse/references/automation-entry.md +12 -0
  77. package/bundled-skills/js-reverse/references/env-patching.md +6 -0
  78. package/bundled-skills/js-reverse/references/fallbacks.md +8 -0
  79. package/bundled-skills/js-reverse/references/instrumentation.md +9 -0
  80. package/bundled-skills/js-reverse/references/local-rebuild.md +11 -0
  81. package/bundled-skills/js-reverse/references/mcp-task-template.md +30 -0
  82. package/bundled-skills/js-reverse/references/node-env-rebuild.md +9 -0
  83. package/bundled-skills/js-reverse/references/output-contract.md +9 -0
  84. package/bundled-skills/js-reverse/references/task-artifacts.md +11 -0
  85. package/bundled-skills/js-reverse/references/task-input-template.md +11 -0
  86. package/bundled-skills/js-reverse/references/tool-defaults.md +7 -0
  87. package/bundled-skills/llm-security/SKILL.md +160 -0
  88. package/bundled-skills/llm-security/references/agent-obedience-engineering.md +243 -0
  89. package/bundled-skills/llm-security/references/agent-security-testing.md +116 -0
  90. package/bundled-skills/llm-security/references/owasp-llm-top10.md +48 -0
  91. package/bundled-skills/llm-security/references/prompt-injection-methodology.md +107 -0
  92. package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package-lock.json +4 -4
  93. package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package.json +1 -1
  94. package/bundled-skills/macos-reverse/SKILL.md +85 -0
  95. package/bundled-skills/macos-reverse/references/macho-triage.md +10 -0
  96. package/bundled-skills/malware-analysis/SKILL.md +311 -0
  97. package/bundled-skills/malware-analysis/references/anti-analysis-techniques.md +205 -0
  98. package/bundled-skills/malware-analysis/references/sandbox-orchestration.md +204 -0
  99. package/bundled-skills/malware-analysis/references/yara-sigma-rules.md +232 -0
  100. package/bundled-skills/mobile-reverse/SKILL.md +222 -0
  101. package/bundled-skills/mobile-reverse/references/anti-detection-bypass.md +182 -0
  102. package/bundled-skills/mobile-reverse/references/frida-objection-deep.md +218 -0
  103. package/bundled-skills/mobile-reverse/references/ios-reverse-guide.md +177 -0
  104. package/bundled-skills/muapi-media/SKILL.md +311 -0
  105. package/bundled-skills/ot-ics/SKILL.md +117 -0
  106. package/bundled-skills/ot-ics/references/ot-safe-assessment.md +10 -0
  107. package/bundled-skills/patch-diff-exploit/SKILL.md +278 -0
  108. package/bundled-skills/patch-diff-exploit/references/diff-tools-comparison.md +271 -0
  109. package/bundled-skills/patch-diff-exploit/references/patch-tuesday-workflow.md +253 -0
  110. package/bundled-skills/patch-diff-exploit/references/root-cause-and-poc.md +198 -0
  111. package/bundled-skills/pentest-tools/SKILL.md +346 -0
  112. package/bundled-skills/pentest-tools/references/ai-pentest-agents.md +148 -0
  113. package/bundled-skills/pentest-tools/references/ai-pentesting-landscape-2026.md +73 -0
  114. package/bundled-skills/pentest-tools/references/automation-loop-pattern.md +153 -0
  115. package/bundled-skills/pentest-tools/references/awesome-pentest-digest.md +175 -0
  116. package/bundled-skills/pentest-tools/references/burpsuite-mcp-guide.md +769 -0
  117. package/bundled-skills/pentest-tools/references/client-side-lab-playbook.md +155 -0
  118. package/bundled-skills/pentest-tools/references/kali-mcp-ecosystem.md +119 -0
  119. package/bundled-skills/pentest-tools/references/msf-protocol.md +169 -0
  120. package/bundled-skills/pentest-tools/references/network-attack-defense.md +350 -0
  121. package/bundled-skills/pentest-tools/references/nuclei-guide-2026.md +157 -0
  122. package/bundled-skills/pentest-tools/references/payloads.md +32 -0
  123. package/bundled-skills/pentest-tools/references/pentest-ai-agents-matrix.md +117 -0
  124. package/bundled-skills/pentest-tools/references/pentest-loop.md +270 -0
  125. package/bundled-skills/pentest-tools/references/recon-pipeline.md +154 -0
  126. package/bundled-skills/pentest-tools/references/templates/findings.md +21 -0
  127. package/bundled-skills/pentest-tools/references/templates/progress.md +17 -0
  128. package/bundled-skills/pentest-tools/references/templates/rules.md +35 -0
  129. package/bundled-skills/pentest-tools/references/templates/scope.md +29 -0
  130. package/bundled-skills/pentest-tools/references/templates/task_plan.md +27 -0
  131. package/bundled-skills/pentest-tools/references/web-attack-cheatsheet.md +387 -0
  132. package/bundled-skills/pentest-tools/src-hunter/SKILL.md +243 -0
  133. package/bundled-skills/pentest-tools/src-hunter/references/README.en.md +115 -0
  134. package/bundled-skills/pentest-tools/src-hunter/references/README.md +148 -0
  135. package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/00-index.md +44 -0
  136. package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/chinese-srcfingerprints.md +515 -0
  137. package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/default-credentials-cn.md +274 -0
  138. package/bundled-skills/pentest-tools/src-hunter/references/industry/00-index.md +66 -0
  139. package/bundled-skills/pentest-tools/src-hunter/references/industry/banking-finance.md +338 -0
  140. package/bundled-skills/pentest-tools/src-hunter/references/industry/telecom-isp.md +315 -0
  141. package/bundled-skills/pentest-tools/src-hunter/references/methodology/00-index.md +68 -0
  142. package/bundled-skills/pentest-tools/src-hunter/references/methodology/01-attack-priority.md +143 -0
  143. package/bundled-skills/pentest-tools/src-hunter/references/methodology/02-bypass-toolkit.md +357 -0
  144. package/bundled-skills/pentest-tools/src-hunter/references/methodology/03-evidence-discipline.md +205 -0
  145. package/bundled-skills/pentest-tools/src-hunter/references/methodology/04-control-gap-hunting.md +238 -0
  146. package/bundled-skills/pentest-tools/src-hunter/references/methodology/05-srctimebox-priority.md +161 -0
  147. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/adcs/346/224/273/345/207/273.md +254 -0
  148. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/exchange/346/224/273/345/207/273.md +254 -0
  149. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/sharepoint/346/224/273/345/207/273.md +113 -0
  150. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//344/277/241/346/201/257/346/224/266/351/233/206.md +947 -0
  151. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/205/215/346/235/200/344/270/216/350/247/204/351/201/277.md +780 -0
  152. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/207/255/350/257/201/347/252/203/345/217/226.md +1259 -0
  153. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/237/237/346/270/227/351/200/217/346/224/273/345/207/273.md +753 -0
  154. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/235/203/351/231/220/346/217/220/345/215/207.md +819 -0
  155. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/235/203/351/231/220/347/273/264/346/214/201.md +577 -0
  156. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/250/252/345/220/221/347/247/273/345/212/250.md +838 -0
  157. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//351/232/247/351/201/223/344/273/243/347/220/206.md +604 -0
  158. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ai/345/256/211/345/205/250.md +698 -0
  159. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/api/345/256/211/345/205/250.md +1935 -0
  160. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/csrf/350/267/250/347/253/231/350/257/267/346/261/202/344/274/252/351/200/240.md +952 -0
  161. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/jwt/345/256/211/345/205/250.md +496 -0
  162. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/lfi-rfi/346/226/207/344/273/266/345/214/205/345/220/253.md +1365 -0
  163. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/rce/350/277/234/347/250/213/344/273/243/347/240/201/346/211/247/350/241/214.md +1329 -0
  164. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/sql-nosql/346/263/250/345/205/245.md +1924 -0
  165. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ssrf/346/234/215/345/212/241/347/253/257/350/257/267/346/261/202/344/274/252/351/200/240.md +1256 -0
  166. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ssti/346/250/241/346/235/277/346/263/250/345/205/245.md +1151 -0
  167. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/websocket/345/256/211/345/205/250.md +487 -0
  168. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/xss/350/267/250/347/253/231/350/204/232/346/234/254.md +1465 -0
  169. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/xxe/345/256/236/344/275/223/346/263/250/345/205/245.md +815 -0
  170. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/270/232/345/212/241/351/200/273/350/276/221/346/274/217/346/264/236.md +594 -0
  171. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/272/221/345/256/211/345/205/250/346/274/217/346/264/236.md +561 -0
  172. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/276/233/345/272/224/351/223/276/346/224/273/345/207/273.md +399 -0
  173. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//345/216/237/345/236/213/351/223/276/346/261/241/346/237/223.md +401 -0
  174. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//345/274/200/346/224/276/351/207/215/345/256/232/345/220/221.md +396 -0
  175. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//346/226/207/344/273/266/346/274/217/346/264/236.md +0 -0
  176. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//346/241/206/346/236/266/346/274/217/346/264/236.md +2304 -0
  177. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//347/202/271/345/207/273/345/212/253/346/214/201.md +339 -0
  178. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//347/274/223/345/255/230/344/270/216cdn/345/256/211/345/205/250.md +497 -0
  179. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//350/256/244/350/257/201/346/274/217/346/264/236.md +1778 -0
  180. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//350/257/267/346/261/202/350/265/260/347/247/201.md +854 -0
  181. package/bundled-skills/pentest-tools/src-hunter/references/payloader/index.md +69 -0
  182. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools/web/346/270/227/351/200/217.md +662 -0
  183. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools/windows/346/270/227/351/200/217.md +100 -0
  184. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//344/277/241/346/201/257/346/224/266/351/233/206.md +852 -0
  185. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/206/205/347/275/221/346/270/227/351/200/217.md +873 -0
  186. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/207/255/350/257/201/347/252/203/345/217/226.md +186 -0
  187. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/237/237/346/270/227/351/200/217.md +50 -0
  188. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/257/206/347/240/201/346/224/273/345/207/273.md +462 -0
  189. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//346/235/203/351/231/220/346/217/220/345/215/207.md +168 -0
  190. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//346/274/217/346/264/236/345/210/251/347/224/250.md +445 -0
  191. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/263/273/347/273/237/345/221/275/344/273/244.md +410 -0
  192. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/272/242/351/230/237/345/267/245/345/205/267.md +64 -0
  193. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/274/226/347/240/201/350/247/243/347/240/201.md +226 -0
  194. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//351/232/247/351/201/223/344/273/243/347/220/206.md +84 -0
  195. package/bundled-skills/pentest-tools/src-hunter/references/payloader/waf-bypass.md +6504 -0
  196. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/00-index.md +57 -0
  197. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/api-rest.md +2050 -0
  198. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/arbitrary-x-authz.md +481 -0
  199. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/dos.md +615 -0
  200. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/file-upload.md +1365 -0
  201. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/graphql.md +253 -0
  202. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/http-smuggling.md +924 -0
  203. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/info-disclosure.md +432 -0
  204. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/intranet-postexp.md +4845 -0
  205. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/llm-prompt-injection.md +1394 -0
  206. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/logic-flaws.md +1796 -0
  207. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/mobile.md +397 -0
  208. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/oauth-saml-jwt.md +2504 -0
  209. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/path-traversal.md +1297 -0
  210. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/race-conditions.md +207 -0
  211. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/rce.md +4829 -0
  212. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/sqli.md +1620 -0
  213. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/ssrf-cache-host.md +2098 -0
  214. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/unauth-access.md +330 -0
  215. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/xss.md +1159 -0
  216. package/bundled-skills/pentest-tools/src-hunter/references/templates/report-submission.md +346 -0
  217. package/bundled-skills/pentest-tools/src-hunter/references/tools/mcp-jshook.md +174 -0
  218. package/bundled-skills/protocol-reverse/SKILL.md +108 -0
  219. package/bundled-skills/protocol-reverse/references/protocol-workflow.md +29 -0
  220. package/bundled-skills/pwn-chain/SKILL.md +209 -0
  221. package/bundled-skills/pwn-chain/references/heap-pwn.md +283 -0
  222. package/bundled-skills/pwn-chain/references/kernel-pwn.md +370 -0
  223. package/bundled-skills/pwn-chain/references/stack-pwn.md +312 -0
  224. package/bundled-skills/radare2/SKILL.md +460 -0
  225. package/bundled-skills/radare2/references/cheatsheet.md +129 -0
  226. package/bundled-skills/radio-sdr/SKILL.md +77 -0
  227. package/bundled-skills/radio-sdr/references/sdr-lab-rules.md +6 -0
  228. package/bundled-skills/reverse-browser-automation/SKILL.md +249 -0
  229. package/bundled-skills/reverse-browser-automation/references/playwright-cheatsheet.md +425 -0
  230. package/bundled-skills/reverse-engineering/SKILL.md +213 -0
  231. package/bundled-skills/reverse-engineering/dsl-vm-reverse/SKILL.md +388 -0
  232. package/bundled-skills/reverse-engineering/references/ai-assisted-re.md +149 -0
  233. package/bundled-skills/reverse-engineering/references/anti-analysis.md +836 -0
  234. package/bundled-skills/reverse-engineering/references/awesome-re-resources.md +135 -0
  235. package/bundled-skills/reverse-engineering/references/crypto-decode-tools.md +220 -0
  236. package/bundled-skills/reverse-engineering/references/elf-analysis.md +296 -0
  237. package/bundled-skills/reverse-engineering/references/field-notes.md +540 -0
  238. package/bundled-skills/reverse-engineering/references/go-reverse.md +240 -0
  239. package/bundled-skills/reverse-engineering/references/kernel-driver-reverse.md +298 -0
  240. package/bundled-skills/reverse-engineering/references/languages-compiled.md +587 -0
  241. package/bundled-skills/reverse-engineering/references/languages-platforms.md +486 -0
  242. package/bundled-skills/reverse-engineering/references/languages.md +499 -0
  243. package/bundled-skills/reverse-engineering/references/nonpe-format-cookbook.md +301 -0
  244. package/bundled-skills/reverse-engineering/references/ollvm-deobfuscation.md +501 -0
  245. package/bundled-skills/reverse-engineering/references/patterns-ctf-2.md +397 -0
  246. package/bundled-skills/reverse-engineering/references/patterns-ctf-3.md +719 -0
  247. package/bundled-skills/reverse-engineering/references/patterns-ctf.md +532 -0
  248. package/bundled-skills/reverse-engineering/references/patterns.md +801 -0
  249. package/bundled-skills/reverse-engineering/references/platforms-hardware.md +304 -0
  250. package/bundled-skills/reverse-engineering/references/platforms.md +442 -0
  251. package/bundled-skills/reverse-engineering/references/re-agent-workflow.md +240 -0
  252. package/bundled-skills/reverse-engineering/references/tools-advanced.md +822 -0
  253. package/bundled-skills/reverse-engineering/references/tools-dynamic.md +846 -0
  254. package/bundled-skills/reverse-engineering/references/tools.md +546 -0
  255. package/bundled-skills/supply-chain-security/SKILL.md +180 -0
  256. package/bundled-skills/supply-chain-security/references/cicd-pipeline-security.md +137 -0
  257. package/bundled-skills/supply-chain-security/references/sbom-sca-methodology.md +74 -0
  258. package/bundled-skills/thick-client/SKILL.md +104 -0
  259. package/bundled-skills/thick-client/references/thick-client-checklist.md +9 -0
  260. package/bundled-skills/threat-hunting/SKILL.md +94 -0
  261. package/bundled-skills/threat-hunting/references/hunting-loop.md +5 -0
  262. package/bundled-skills/threat-intelligence/SKILL.md +176 -0
  263. package/bundled-skills/threat-intelligence/references/x-public-intelligence.md +93 -0
  264. package/bundled-skills/tree-ring-memory/SKILL.md +29 -9
  265. package/bundled-skills/wifi-wireless/SKILL.md +80 -0
  266. package/bundled-skills/wifi-wireless/references/wireless-lab-rules.md +6 -0
  267. package/bundled-skills/windows-ad/SKILL.md +109 -0
  268. package/bundled-skills/windows-ad/references/ad-attack-paths.md +12 -0
  269. package/package.json +1 -1
  270. package/skills_index.json +1214 -2
@@ -0,0 +1,320 @@
1
+ ---
2
+ name: binary-diff
3
+ description: "Cross-version binary symbol migration: diff updated binaries, recover function names without PDBs, and propagate annotations after software updates using BinDiff-style tooling."
4
+ risk: safe
5
+ source: "https://github.com/zhaoxuya520/reverse-skill"
6
+ source_repo: "zhaoxuya520/reverse-skill"
7
+ source_type: community
8
+ date_added: "2026-08-25"
9
+ license: "MIT"
10
+ license_source: "https://github.com/zhaoxuya520/reverse-skill/blob/main/LICENSE"
11
+ ---
12
+ # 跨版本符号迁移 (Binary Diff)
13
+ ## When to Use
14
+
15
+ - A program updated and old annotations/symbols must be migrated to the new build.
16
+ - Recovering changed functions between two versions of a stripped binary.
17
+
18
+
19
+ ## 适用范围
20
+
21
+ 当任务属于以下场景时使用本 skill:
22
+
23
+ 1. **内核/驱动缺 PDB** — 有旧版 ntoskrnl.exe 的符号,新版 PDB 被微软下架,需要用旧版符号推导新版非导出函数地址
24
+ 2. **程序更新后符号迁移** — 曾经逆向过某个程序,程序更新了,不想重新逆一遍,用旧版结果批量迁移
25
+ 3. **保护机制更新** — 旧版有完整逆向结果,新版需要快速定位同一函数的新偏移
26
+ 4. **任何"有旧版符号 + 新版无符号"的二进制对比场景**
27
+
28
+ ### 与其他 skill 的分工
29
+
30
+ | 场景 | 用什么 |
31
+ |------|--------|
32
+ | 从零开始逆向一个二进制 | `ida-reverse/` 或 `radare2/` |
33
+ | 有旧版结果,迁移到新版 | **本 skill** |
34
+ | 两个完全不同的二进制对比 | BinDiff / Diaphora(传统工具) |
35
+
36
+ ### 核心优势
37
+
38
+ 相比传统方案:
39
+
40
+ | 方案 | 200 个函数成本 | 时间 | 准确率 |
41
+ |------|--------------|------|--------|
42
+ | 人工开两个 IDA 窗口对比 | 免费但耗命 | 数小时 | 高 |
43
+ | BinDiff 自动匹配 | 免费 | 快 | 中(结构变化大时失效) |
44
+ | 完全交给 Agent(CC/Codex) | 50-100 元 | 慢 | 高 |
45
+ | **本 skill(LLM 批量比对)** | **~1 元** | **~10 秒/函数** | **高** |
46
+
47
+ ## 核心原理
48
+
49
+ ```text
50
+ 旧版函数(有符号) 新版同一函数(无符号)
51
+ ↓ ↓
52
+ 导出反汇编 + 伪代码 导出反汇编 + 伪代码
53
+ ↓ ↓
54
+ └──────── LLM 结构化比对 ────────┘
55
+
56
+ 输出 YAML(符号映射表)
57
+
58
+ 程序化解析 → 批量应用到新版 IDB
59
+ ```
60
+
61
+ 关键点:
62
+ - prompt 是固定模板,程序化填充
63
+ - 输入输出格式确定,程序化解析
64
+ - LLM 只负责"看两段代码,找出对应关系"这一步
65
+ - 时间成本和 token 成本极低
66
+
67
+ ## Prompt 模板
68
+
69
+ ### 标准比对 Prompt
70
+
71
+ ```text
72
+ I have disassembly outputs and procedure code of the same function.
73
+
74
+ This is the function for reference:
75
+
76
+ **Disassembly for Reference**
77
+ ```c
78
+ {disasm_for_reference}
79
+ ```
80
+
81
+ **Procedure code for Reference**
82
+ ```c
83
+ {procedure_for_reference}
84
+ ```
85
+
86
+ This is the function you need to reverse-engineering:
87
+
88
+ **Disassembly to reverse-engineering**
89
+ ```c
90
+ {disasm_code}
91
+ ```
92
+
93
+ **Procedure code to reverse-engineering**
94
+ ```c
95
+ {procedure}
96
+ ```
97
+
98
+ What you need to do is to collect all references to "{symbol_name_list}" in the function you need to reverse-engineering and output those references as YAML.
99
+
100
+ Example:
101
+ ```yaml
102
+ found_vcall: # This is for indirect call to virtual function or virtual function pointer fetching.
103
+ - insn_va: '0x180777700' # Always be the instruction with displacement offset
104
+ insn_disasm: call [rax+68h] # Always be the instruction with displacement offset
105
+ vfunc_offset: '0x68'
106
+ func_name: ILoopMode_OnLoopActivate
107
+ - insn_va: '0x180777778' # Always be the instruction with displacement offset
108
+ insn_disasm: mov rax, [rax+80h] # Always be the instruction with displacement offset
109
+ vfunc_offset: '0x80'
110
+ func_name: INetworkMessages_GetNetworkGroupCount
111
+
112
+ found_call: # This is for direct call to non-virtual regular function.
113
+ - insn_va: '0x180888800'
114
+ insn_disasm: call sub_180999900
115
+ func_name: CLoopMode_RegisterEventMapInternal
116
+ - insn_va: '0x180888880'
117
+ insn_disasm: call sub_180555500
118
+ func_name: CLoopMode_SetSystemState
119
+
120
+ found_funcptr: # This is for non-virtual regular function pointer.
121
+ - insn_va: '0x180666600' # Must load/reference the function pointer target address
122
+ insn_disasm: lea rdx, sub_15BC910 # Must load/reference the function pointer target address
123
+ funcptr_name: CLoopMode_OnClientPollNetworking
124
+
125
+ found_gv: # This is for reference to global variable.
126
+ - insn_va: '0x180444400'
127
+ insn_disasm: mov rcx, cs:qword_180666600 # Must load/reference the global variable
128
+ gv_name: g_pNetworkMessages
129
+ - insn_va: '0x180333300'
130
+ insn_disasm: lea rax, unk_180222200 # Must load/reference the global variable
131
+ gv_name: s_EventManager
132
+
133
+ found_struct_offset: # This is for reference to struct offset. NOTE THAT virtual function pointer should not be here! virtual function pointer should ALWAYS be in found_vcall !
134
+ - insn_va: '0x1801BA12A' # Always be the instruction with displacement offset
135
+ insn_disasm: mov rcx, [r14+58h] # Always be the instruction with displacement offset
136
+ offset: '0x58'
137
+ size: 8
138
+ struct_name: CResourceService
139
+ member_name: m_pEntitySystem
140
+ ```
141
+
142
+ If nothing found, output an empty YAML. DO NOT output anything other than the desired YAML. DO NOT collect unrelated symbols.
143
+ ```
144
+
145
+ ### 变量说明
146
+
147
+ | 变量 | 来源 | 说明 |
148
+ |------|------|------|
149
+ | `{disasm_for_reference}` | 旧版 IDA 导出 | 有符号的反汇编 |
150
+ | `{procedure_for_reference}` | 旧版 IDA 导出 | 有符号的伪代码 |
151
+ | `{disasm_code}` | 新版 IDA 导出 | 无符号的反汇编 |
152
+ | `{procedure}` | 新版 IDA 导出 | 无符号的伪代码 |
153
+ | `{symbol_name_list}` | 从旧版提取 | 需要在新版中定位的符号列表 |
154
+
155
+ ## 工作流
156
+
157
+ ### 完整流程
158
+
159
+ ```text
160
+ Step 1: 准备数据
161
+ - 旧版二进制加载到 IDA(有 PDB/符号)
162
+ - 新版二进制加载到 IDA(无符号)
163
+ - 找到两个版本中相同的锚点函数(导出函数、字符串引用等)
164
+
165
+ Step 2: 批量导出
166
+ - 从旧版导出:锚点函数的反汇编 + 伪代码(含符号名)
167
+ - 从新版导出:同一锚点函数的反汇编 + 伪代码(无符号名)
168
+
169
+ Step 3: LLM 比对
170
+ - 用 prompt 模板填充数据
171
+ - 调用 LLM API(推荐:deepseek 量大便宜,超大函数切 gpt)
172
+ - 解析返回的 YAML
173
+
174
+ Step 4: 应用结果
175
+ - 将 YAML 中的符号映射批量应用到新版 IDB
176
+ - 用 idapro_rename 或 IDAPython 脚本批量重命名
177
+
178
+ Step 5: 迭代
179
+ - 第一轮迁移的函数成为新的锚点
180
+ - 进入这些函数,继续对比内部调用
181
+ - 重复直到覆盖所有目标函数
182
+ ```
183
+
184
+ ### 锚点选择策略
185
+
186
+ | 锚点类型 | 可靠性 | 说明 |
187
+ |---------|--------|------|
188
+ | 导出函数 | 最高 | 名字不变,地址可能变 |
189
+ | 字符串引用 | 高 | 字符串内容不变,引用位置可能变 |
190
+ | 常量/魔数 | 中 | 特征值不变 |
191
+ | 代码模式 | 中 | 函数结构相似但地址全变 |
192
+
193
+ ### 批量处理建议
194
+
195
+ - 每次比对 1 个函数(避免 context 爆炸)
196
+ - 中等函数(<200 行)用 deepseek
197
+ - 超大函数(>500 行)切 gpt-4o 或 claude
198
+ - 并发调用提高速度(10-20 并发)
199
+ - 结果缓存,避免重复调用
200
+
201
+ ## 输出格式
202
+
203
+ ### YAML 输出的 5 种符号类型
204
+
205
+ | 类型 | 含义 | 关键字段 |
206
+ |------|------|---------|
207
+ | `found_vcall` | 虚函数调用(间接 call) | `vfunc_offset`, `func_name` |
208
+ | `found_call` | 直接函数调用 | `insn_va`, `func_name` |
209
+ | `found_funcptr` | 函数指针引用 | `insn_va`, `funcptr_name` |
210
+ | `found_gv` | 全局变量引用 | `insn_va`, `gv_name` |
211
+ | `found_struct_offset` | 结构体偏移引用 | `offset`, `struct_name`, `member_name` |
212
+
213
+ ### 解析后的应用动作
214
+
215
+ ```text
216
+ found_call → idapro_rename(addr=call_target, name=func_name)
217
+ found_vcall → idapro_set_comments(addr=insn_va, comment="vcall: {func_name} @ +{offset}")
218
+ found_funcptr → idapro_rename(addr=funcptr_target, name=funcptr_name)
219
+ found_gv → idapro_rename(addr=gv_addr, name=gv_name)
220
+ found_struct_offset → idapro_set_comments(addr=insn_va, comment="{struct_name}.{member_name}")
221
+ ```
222
+
223
+ ## 典型场景示例
224
+
225
+ ### 场景 1:ntoskrnl.exe 缺 PDB
226
+
227
+ ```text
228
+ 已有:ntoskrnl.exe 10.0.26100.2000 + 完整 PDB
229
+ 目标:ntoskrnl.exe 10.0.26100.2605(PDB 被下架)
230
+ 需求:定位 PspSetCreateProcessNotifyRoutine 的新地址
231
+
232
+ 步骤:
233
+ 1. 两个版本都加载到 IDA
234
+ 2. 找到导出函数 PsSetCreateProcessNotifyRoutine(两个版本都有)
235
+ 3. 旧版中它调用了 PspSetCreateProcessNotifyRoutine(有符号)
236
+ 4. 新版中它调用了 sub_140822108(无符号)
237
+ 5. LLM 一眼看出:sub_140822108 = PspSetCreateProcessNotifyRoutine
238
+ 6. 批量应用
239
+ ```
240
+
241
+ ### 场景 2:应用更新后迁移
242
+
243
+ ```text
244
+ 已有:target.exe v1.0 的完整逆向结果(200+ 函数已命名)
245
+ 目标:target.exe v1.1(所有符号丢失)
246
+ 需求:批量迁移 200 个函数名
247
+
248
+ 步骤:
249
+ 1. 从旧版导出所有已命名函数的反汇编+伪代码
250
+ 2. 在新版中通过导出函数/字符串找到对应锚点
251
+ 3. 批量调用 LLM 比对
252
+ 4. 解析 YAML,批量 rename
253
+ 5. 迭代深入
254
+ ```
255
+
256
+ ## LLM 选择建议
257
+
258
+ | 模型 | 适合场景 | 成本 | 速度 |
259
+ |------|---------|------|------|
260
+ | DeepSeek V3 | 中小函数(<200 行),批量处理 | 极低 | 快 |
261
+ | GPT-4o | 超大函数,复杂控制流 | 中 | 快 |
262
+ | Claude Sonnet | 中大函数,需要推理 | 中 | 快 |
263
+ | Claude Opus | 极复杂函数,需要深度理解 | 高 | 慢 |
264
+
265
+ 推荐策略:默认 DeepSeek,遇到 context 超限或结果不准时自动升级。
266
+
267
+ ## 注意事项
268
+
269
+ - **不要把整个二进制丢给 LLM** — 一次只比对一个函数
270
+ - **锚点必须可靠** — 如果锚点本身就对错了,后续全部白费
271
+ - **结果需要人工抽检** — LLM 不是 100% 准确,关键符号要验证
272
+ - **缓存中间结果** — 避免重复调用浪费 token
273
+ - **注意 context 限制** — 超大函数(>1000 行反汇编)需要拆分或用大 context 模型
274
+
275
+ ---
276
+
277
+ ## 按需自举(On-Demand Bootstrap)
278
+
279
+ ### 工具依赖
280
+
281
+ | 工具 | 用途 | 可自动安装 |
282
+ |------|------|-----------|
283
+ | IDA Pro | 导出反汇编/伪代码 | ✗(商业软件) |
284
+ | Python | 脚本执行、API 调用 | ✓ |
285
+ | PyYAML | 解析 LLM 返回的 YAML | ✓(pip install pyyaml) |
286
+ | LLM API | 执行比对 | 需要 API key |
287
+
288
+ ### 说明
289
+
290
+ 本 skill 的核心不依赖重型工具安装,主要依赖:
291
+ - IDA Pro 已有(用 `ida-reverse/` skill 管理)
292
+ - Python + requests/httpx(调 API)
293
+ - 一个 LLM API endpoint
294
+
295
+ ---
296
+
297
+ ## 路由上下文
298
+
299
+ **上游入口**: `skills/SKILL.md`(总控)、`routing.md`
300
+ **触发条件**: 有旧版符号/逆向结果,需要迁移到新版本
301
+ **下游出口**:
302
+ - 需要先打开二进制 → `ida-reverse/`
303
+ - 需要快速侦察确认版本差异 → `radare2/`
304
+
305
+ **同级关联模块**: `ida-reverse/`(数据导出和符号应用都通过 IDA)
306
+
307
+
308
+ ## 任务完成自检(声称完成前 MUST 通过)
309
+
310
+ - [ ] 我是否执行了工作流中的每一步(而不是只阅读)?
311
+ - [ ] 我是否基于 `tool-index` 使用了真实工具路径?
312
+ - [ ] 我是否产出了可复现证据(命令/脚本/截图/报告)?
313
+ - [ ] 我是否完成并回写了 RULES 要求的 Checklist 项?
314
+
315
+ ## Limitations
316
+
317
+ - Diff quality degrades with heavy recompilation or obfuscation between versions.
318
+ - Requires local diff tooling (e.g., BinDiff, Diaphora, radiff2).
319
+
320
+ > Adapted from [zhaoxuya520/reverse-skill](https://github.com/zhaoxuya520/reverse-skill) (MIT).
@@ -0,0 +1,173 @@
1
+ # Symbol Migration Prompt Template
2
+
3
+ ## 标准比对 Prompt(直接复制使用)
4
+
5
+ ```text
6
+ I have disassembly outputs and procedure code of the same function.
7
+
8
+ This is the function for reference:
9
+
10
+ **Disassembly for Reference**
11
+ ```c
12
+ {disasm_for_reference}
13
+ ```
14
+
15
+ **Procedure code for Reference**
16
+ ```c
17
+ {procedure_for_reference}
18
+ ```
19
+
20
+ This is the function you need to reverse-engineering:
21
+
22
+ **Disassembly to reverse-engineering**
23
+ ```c
24
+ {disasm_code}
25
+ ```
26
+
27
+ **Procedure code to reverse-engineering**
28
+ ```c
29
+ {procedure}
30
+ ```
31
+
32
+ What you need to do is to collect all references to "{symbol_name_list}" in the function you need to reverse-engineering and output those references as YAML.
33
+
34
+ Example:
35
+ ```yaml
36
+ found_vcall:
37
+ - insn_va: '0x180777700'
38
+ insn_disasm: call [rax+68h]
39
+ vfunc_offset: '0x68'
40
+ func_name: ILoopMode_OnLoopActivate
41
+
42
+ found_call:
43
+ - insn_va: '0x180888800'
44
+ insn_disasm: call sub_180999900
45
+ func_name: CLoopMode_RegisterEventMapInternal
46
+
47
+ found_funcptr:
48
+ - insn_va: '0x180666600'
49
+ insn_disasm: lea rdx, sub_15BC910
50
+ funcptr_name: CLoopMode_OnClientPollNetworking
51
+
52
+ found_gv:
53
+ - insn_va: '0x180444400'
54
+ insn_disasm: mov rcx, cs:qword_180666600
55
+ gv_name: g_pNetworkMessages
56
+
57
+ found_struct_offset:
58
+ - insn_va: '0x1801BA12A'
59
+ insn_disasm: mov rcx, [r14+58h]
60
+ offset: '0x58'
61
+ size: 8
62
+ struct_name: CResourceService
63
+ member_name: m_pEntitySystem
64
+ ```
65
+
66
+ If nothing found, output an empty YAML. DO NOT output anything other than the desired YAML. DO NOT collect unrelated symbols.
67
+ ```
68
+
69
+ ## 变量填充说明
70
+
71
+ | 变量 | 来源 | 获取方式 |
72
+ |------|------|---------|
73
+ | `{disasm_for_reference}` | 旧版 IDA | `idapro_disasm(addr="函数名")` |
74
+ | `{procedure_for_reference}` | 旧版 IDA | `idapro_decompile(addr="函数名")` |
75
+ | `{disasm_code}` | 新版 IDA | `idapro_disasm(addr="对应地址")` |
76
+ | `{procedure}` | 新版 IDA | `idapro_decompile(addr="对应地址")` |
77
+ | `{symbol_name_list}` | 旧版提取 | 从 reference 代码中提取所有非 sub_/loc_ 的符号名 |
78
+
79
+ ## 批量调用脚本骨架(Python)
80
+
81
+ ```python
82
+ import yaml
83
+ import httpx
84
+ import json
85
+ from pathlib import Path
86
+
87
+ PROMPT_TEMPLATE = open("prompt-template.txt").read()
88
+
89
+ def migrate_function(ref_disasm, ref_procedure, target_disasm, target_procedure, symbols, api_url, api_key, model="deepseek-chat"):
90
+ prompt = PROMPT_TEMPLATE.format(
91
+ disasm_for_reference=ref_disasm,
92
+ procedure_for_reference=ref_procedure,
93
+ disasm_code=target_disasm,
94
+ procedure=target_procedure,
95
+ symbol_name_list=", ".join(symbols)
96
+ )
97
+
98
+ resp = httpx.post(api_url, json={
99
+ "model": model,
100
+ "messages": [{"role": "user", "content": prompt}],
101
+ "temperature": 0
102
+ }, headers={"Authorization": f"Bearer {api_key}"}, timeout=60)
103
+
104
+ content = resp.json()["choices"][0]["message"]["content"]
105
+
106
+ # 提取 YAML 块
107
+ if "```yaml" in content:
108
+ yaml_str = content.split("```yaml")[1].split("```")[0]
109
+ elif "```" in content:
110
+ yaml_str = content.split("```")[1].split("```")[0]
111
+ else:
112
+ yaml_str = content
113
+
114
+ return yaml.safe_load(yaml_str)
115
+
116
+
117
+ def apply_results(results, ida_session):
118
+ """将解析后的 YAML 结果应用到 IDA"""
119
+ if not results:
120
+ return
121
+
122
+ renames = []
123
+ comments = []
124
+
125
+ if "found_call" in results:
126
+ for item in results["found_call"]:
127
+ # 从 insn_disasm 中提取 call target
128
+ # call sub_XXXXXXX → 提取 sub_XXXXXXX 的地址
129
+ renames.append({"addr": item["insn_va"], "name": item["func_name"], "type": "call_target"})
130
+
131
+ if "found_funcptr" in results:
132
+ for item in results["found_funcptr"]:
133
+ renames.append({"addr": item["insn_va"], "name": item["funcptr_name"], "type": "funcptr_target"})
134
+
135
+ if "found_gv" in results:
136
+ for item in results["found_gv"]:
137
+ renames.append({"addr": item["insn_va"], "name": item["gv_name"], "type": "gv"})
138
+
139
+ if "found_vcall" in results:
140
+ for item in results["found_vcall"]:
141
+ comments.append({
142
+ "addr": item["insn_va"],
143
+ "comment": f"vcall: {item['func_name']} @ +{item['vfunc_offset']}"
144
+ })
145
+
146
+ if "found_struct_offset" in results:
147
+ for item in results["found_struct_offset"]:
148
+ comments.append({
149
+ "addr": item["insn_va"],
150
+ "comment": f"{item['struct_name']}.{item['member_name']} @ +{item['offset']}"
151
+ })
152
+
153
+ return {"renames": renames, "comments": comments}
154
+ ```
155
+
156
+ ## API 配置建议
157
+
158
+ ```yaml
159
+ # 默认用 DeepSeek(便宜)
160
+ default:
161
+ api_url: "https://api.deepseek.com/v1/chat/completions"
162
+ model: "deepseek-chat"
163
+
164
+ # 超大函数回退到 GPT
165
+ fallback:
166
+ api_url: "https://api.openai.com/v1/chat/completions"
167
+ model: "gpt-4o"
168
+
169
+ # 或者用 Claude
170
+ alternative:
171
+ api_url: "https://api.anthropic.com/v1/messages"
172
+ model: "claude-sonnet-4-20250514"
173
+ ```
@@ -0,0 +1,99 @@
1
+ ---
2
+ name: browser-extension-reverse
3
+ description: "Authorized reverse engineering of Chrome/Firefox extensions: manifest analysis, background workers, content scripts, and extension-based credential or data-exposure research."
4
+ risk: offensive
5
+ source: "https://github.com/zhaoxuya520/reverse-skill"
6
+ source_repo: "zhaoxuya520/reverse-skill"
7
+ source_type: community
8
+ date_added: "2026-08-25"
9
+ license: "MIT"
10
+ license_source: "https://github.com/zhaoxuya520/reverse-skill/blob/main/LICENSE"
11
+ ---
12
+ > **⚠️ AUTHORIZED USE ONLY**
13
+ > This skill is for educational purposes or authorized security assessments only.
14
+ > You must have explicit, written permission from the system owner before using this tool.
15
+ > Misuse of this tool is illegal and strictly prohibited.
16
+
17
+ > **Mandatory confirmation gate**
18
+ > Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:
19
+ > 1. Ask the user to state the exact target URL, IP, account, or resource.
20
+ > 2. Ask the user to confirm written authorization and the permitted scope.
21
+ > 3. Show the exact command(s) and explain their expected effect.
22
+ > 4. Wait for explicit confirmation in the current conversation.
23
+ >
24
+ > Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
25
+
26
+ # Browser Extension Reverse Engineering
27
+ ## When to Use
28
+
29
+ - Auditing a browser extension's behavior and permissions in an authorized review.
30
+ - Investigating how an extension handles credentials or sensitive page data.
31
+
32
+
33
+ ## 适用场景
34
+
35
+ - Chrome/Edge MV2/MV3 扩展分析
36
+ - Firefox 扩展
37
+ - 恶意扩展 IOC、供应链扩展投毒调查
38
+ - 扩展实现的签名/加密/代理逻辑还原
39
+
40
+ ## 工作流
41
+
42
+ ### 1. 包体
43
+
44
+ ```text
45
+ □ crx 解压 / 从 profile 取扩展目录
46
+ □ manifest.json:permissions、host_permissions、background、content_scripts
47
+ □ 评估过度权限(<all_urls>、webRequest、debugger)
48
+ ```
49
+
50
+ ### 2. 逻辑
51
+
52
+ ```text
53
+ □ service_worker / background 入口
54
+ □ content_script 注入点与世界(isolated)
55
+ □ chrome.storage / IndexedDB 密钥
56
+ □ 与 `js-reverse` 相同:Observe 网络与消息传递(runtime.sendMessage)
57
+ ```
58
+
59
+ ### 3. 动态
60
+
61
+ ```text
62
+ □ 开发者模式加载解压目录
63
+ □ chrome://extensions 检查错误
64
+ □ DevTools 附加 service worker
65
+ □ 必要时 Frida/浏览器 CDP(jshookmcp)
66
+ ```
67
+
68
+ ## 工具链
69
+
70
+ | 工具 | 用途 |
71
+ |------|------|
72
+ | 解压/jq | manifest |
73
+ | Chrome DevTools | worker 调试 |
74
+ | js-reverse 工具链 | 深度 JS |
75
+ | YARA | 恶意扩展规则 |
76
+
77
+ ## 参考
78
+
79
+ - `references/extension-analysis.md`
80
+ - field-journal 扩展恢复相关条目
81
+ - `../js-reverse/` `../malware-analysis/`
82
+
83
+ ## 路由上下文
84
+
85
+ **上游**: MASTER R30
86
+ **下游**: 复杂混淆 JS → `js-reverse`;投毒调查 → supply-chain / malware
87
+
88
+ ## 任务完成自检
89
+
90
+ - [ ] 是否列出权限面与入口脚本?
91
+ - [ ] 是否还原关键数据流?
92
+ - [ ] Checklist?
93
+
94
+ ## Limitations
95
+
96
+ - Extension stores update frequently; findings can go stale.
97
+ - Dynamic analysis requires a profile isolated from personal accounts.
98
+
99
+ > Adapted from [zhaoxuya520/reverse-skill](https://github.com/zhaoxuya520/reverse-skill) (MIT).
@@ -0,0 +1,10 @@
1
+ # 扩展分析要点
2
+
3
+ | 字段 | 风险信号 |
4
+ |------|----------|
5
+ | host_permissions `<all_urls>` | 可读写任意站 |
6
+ | webRequestBlocking | 中间人式改写 |
7
+ | nativeMessaging | 出浏览器到本机 |
8
+ | externally_connectable | 网页驱动扩展 |
9
+
10
+ MV3:关注 service_worker 生命周期与 declarativeNetRequest。