Skip to content
Back to search

hack-skills

SkillWorks with Claude CodeGitHub

Helping AI Agent become an awesome practical hacker!

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/yaklang-hack-skills/badge.svg)](/listings/yaklang-hack-skills)

HTML

<a href="/listings/yaklang-hack-skills"><img src="/api/listings/yaklang-hack-skills/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

The preferred entry point is `hack`:

npx skills add yaklang/hack-skills

If your tooling supports pulling a single SKILL.md directly, you can also use:

- frontmatter name: `hack` - raw URL: `https://raw.githubusercontent.com/yaklang/hack-skills/main/skills/hack/SKILL.md`

After installing, the recommended order is simple: start from the master entry, then move into category entries, and only then drill into deep topic skills.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 455 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # HACK.SKILLS - Hacker Arsenal for Agents
  2. <p align="right">English | <a href="./README_CN.md">中文</a></p>
  3. <p align="center">
  4. <img src="./assets/readme-hero-banner.jpg" alt="HackSkills Hero Banner" width="100%" />
  5. </p>
  6. <p align="center">
  7. <strong>Master Entry → Category Entries → Deep Topic Skills</strong><br/>
  8. One master entry, six category entries, and <strong>102</strong> deep topic skills across <strong>14 security domains</strong>.
  9. </p>
  10. An Agent Skills knowledge base covering web security, API security, authentication & authorization, OS privilege escalation (Linux/Windows/macOS), Active Directory attacks, mobile security, binary exploitation (Pwn), reverse engineering, cryptography attacks, blockchain & smart contract security, AI/ML & LLM security, network protocols & pivoting, and digital forensics — built for bug bounty, penetration testing, CTF competitions, and authorized security research.
  11. The current branch has converged to a standard directory structure: every skill lives in its own directory, uniformly using `skills/{semantic-identifier}/SKILL.md`. The design goal is not to expose every minor tip as an entry point, but to compress what the loader truly needs to see into one master entry, six category entries, and deep topic skills drilled down on demand.
  12. The objective is straightforward: organize security knowledge that is genuinely useful in real engagements and easy to audit and maintain into a set of installable, searchable, and composable HackSkills.
  13. ## Browse Online
  14. This repo is published in three forms — pick whichever your workflow prefers; they are kept in sync on every push to `main`.
  15. | Channel | What you get | When to use |
  16. |---|---|---|
  17. | **Web UI** — <https://skills.hackbenchmark.com> | Fuzzy search, category sidebar, P0/P1/P2 tier filter, copy-paste install commands, encrypted ZIP download | Quick lookup, sharing links to a specific skill, demoing the catalog |
  18. | **GitHub source** — this repo | Plain `SKILL.md` per skill, full markdown rendering, pull-request review | Diff review, contributing, deep reading offline |
  19. | **Encrypted ZIP** — see [Offline ZIP](#offline-zip-encrypted) | One-shot download of all `*.md` for air-gapped use | No internet on target, AV strips plain markdown |
  20. The website is a static, fully client-side build of `site/` — no tracking, no backend. Source: [`site/`](./site), workflow: [`.github/workflows/deploy-pages.yml`](./.github/workflows/deploy-pages.yml). Search uses a weighted fuzzy index over name / id / category / description with field qualifiers like `category:auth`, `tier:deep`, `lines:>200`.
  21. ```text
  22. ┌─────────────────────────────────────┐
  23. │ skills.hackbenchmark.com (static) │ ── search / filter / copy install cmd
  24. └─────────────────────────────────────┘
  25. ▲
  26. github.com/yaklang/hack-skills ───────►┤ same repo, three views
  27. ▼
  28. ┌─────────────────────────────────────┐
  29. │ hack-skills.zip (AES-256, public │ ── offline / behind AV
  30. │ password: hack-skills, via CDN) │
  31. └─────────────────────────────────────┘
  32. ```
  33. ## Knowledge Sources & Distillation Boundaries
  34. This repository is not a mirror of external materials — it is a distillation layer aimed at Agents.
  35. Primary reference sources (all publicly available, used strictly for educational distillation):
  36. | Source | What It Provides | How We Use It |
  37. |---|---|---|
  38. | `swisskyrepo/PayloadsAllTheThings` | 64 vulnerability categories, payload families, bypass techniques, exploit chains | Distilled into scenario-based indices, method matrices, per-engine/per-database payload sections |
  39. | `PentesterSpecialDict` | OS-specific payload dictionaries, Java middleware path fuzzing lists, file extension databases | Distilled into parameter naming patterns, endpoint frequency tables, middleware fingerprint matrices |
  40. | `Dictionary-Of-Pentesting` | BugBounty bypass techniques (12 topics), cloud metadata endpoints, XXE payload collections, one-liner toolchains | Distilled into bypass pattern matrices, cloud metadata endpoint tables, WAF vendor bypass sections |
  41. | `Hello-CTF` | CTF web security tutorials with hands-on tricks for PHP/Python/Java challenges | Distilled into CTF-specific technique sections (handler bypass, filter chain tricks, Flask PIN) |
  42. | `ctf-wiki` | CTF competition knowledge base covering Pwn, Crypto, Reverse Engineering, Forensics, and Misc | Distilled into binary exploitation techniques (stack/heap/kernel), crypto attack patterns (RSA/lattice/symmetric), RE methodology, steganography, and traffic analysis skills |
  43. | `hacktricks` | Penetration testing encyclopedia covering web tricks, Linux/Windows/macOS privilege escalation, Active Directory, containers, mobile, and AI security | Distilled into OS-specific privilege escalation playbooks, AD attack chains (Kerberos/ACL/ADCS), mobile pentesting checklists, container escape techniques, and network pivoting strategies |
  44. | Public security research papers and CVE advisories | Methodology frameworks, vulnerability pattern taxonomies, statistical distributions | Distilled into attack pattern matrices, systematic testing checklists, decision trees |
  45. Processing principles:
  46. - No direct copying of large dictionaries or full payload lists.
  47. - Prioritize distilling into routable, composable, and auditable security skills.
  48. - Use small, stable samples, taxonomies, and cross-references to improve Agent stability in real security scenarios.
  49. - No customer-specific information, no vendor-identifiable case details, purely educational methodology.
  50. ## Quick Start
  51. The preferred entry point is `hack`:
  52. ```bash
  53. npx skills add yaklang/hack-skills
  54. ```
  55. If your tooling supports pulling a single SKILL.md directly, you can also use:
  56. - frontmatter name: `hack`
  57. - raw URL: `https://raw.githubusercontent.com/yaklang/hack-skills/main/skills/hack/SKILL.md`
  58. After installing, the recommended order is simple: start from the master entry, then move into category entries, and only then drill into deep topic skills.
  59. ## Loader Priority
  60. | Layer | Role | Recommended Exposure | Representative Skill |
  61. |---|---|---|---|
  62. | Master Entry | Global routing, operating doctrine, test sequencing, cross-category switching | Expose first | [hack](./skills/hack/SKILL.md) |
  63. | Category Entry | Route by attack surface to stable topic families | Expose first | [recon-for-sec](./skills/recon-for-sec/SKILL.md), [api-sec](./skills/api-sec/SKILL.md), [auth-sec](./skills/auth-sec/SKILL.md) |
  64. | Deep Topic | Provide complete attack playbooks and execution details | Load on demand | [xss-cross-site-scripting](./skills/xss-cross-site-scripting/SKILL.md), [sqli-sql-injection](./skills/sqli-sql-injection/SKILL.md) |
  65. ## Main Entry Points
  66. | Type | Skill | Purpose | When to Use First |
  67. |---|---|---|---|
  68. | Master Entry | [hack](./skills/hack/SKILL.md) | Global routing, operating doctrine, phase assessment, cross-category switching | New target, unknown attack surface, authorized pentest / audit / leak / SOC task |
  69. | Category Entry | [recon-for-sec](./skills/recon-for-sec/SKILL.md) | Asset discovery, technology identification | Just received the target |
  70. | Category Entry | [api-sec](./skills/api-sec/SKILL.md) | REST, GraphQL, mobile backend routing | Observed API interfaces |
  71. | Category Entry | [auth-sec](./skills/auth-sec/SKILL.md) | Authentication, sessions, OAuth, JWT, authorization | Login, tokens, object IDs |
  72. | Category Entry | [injection-checking](./skills/injection-checking/SKILL.md) | XSS, SQLi, SSRF, XXE, SSTI, CMDi, NoSQL routing | Input enters interpreter |
  73. | Category Entry | [file-access-vuln](./skills/file-access-vuln/SKILL.md) | Upload, download, LFI, path control | File operations |
  74. | Category Entry | [business-logic-vuln](./skills/business-logic-vuln/SKILL.md) | Race conditions, pricing, workflow, state machines | Business process testing |
  75. ## Complete Skill Index (102 Skills)
  76. ### Reconnaissance & Methodology
  77. | Skill | SKILL.md | SCENARIOS.md | Key Content |
  78. |---|---|---|---|
  79. | [hack](./skills/hack/SKILL.md) | 248 lines | 895 lines | Quality gate + router, impact-first ops, test matrix, evidence standard |
  80. | [recon-for-sec](./skills/recon-for-sec/SKILL.md) | 30 lines | - | Category router for reconnaissance phase |
  81. | [attack-surface-mapping](./skills/attack-surface-mapping/SKILL.md) | 194 lines | 60 lines | Draw hosts/APIs/keys/object graph from one app; login is a shell |
  82. | [recon-and-methodology](./skills/recon-and-methodology/SKILL.md) | 389 lines | - | Methodology framework, Java middleware fingerprint matrix, leak detection checklist |
  83. ### API Security
  84. | Skill | SKILL.md | SCENARIOS.md | Key Content |
  85. |---|---|---|---|
  86. | [api-sec](./skills/api-sec/SKILL.md) | 48 lines | - | Category router for API testing |
  87. | [api-recon-and-docs](./skills/api-recon-and-docs/SKILL.md) | 60 lines | - | API discovery, OpenAPI/Swagger, hidden endpoints |
  88. | [api-authorization-and-bola](./skills/api-authorization-and-bola/SKILL.md) | 47 lines | - | BOLA/BFLA, mass assignment, object-level authz |
  89. | [api-auth-and-jwt-abuse](./skills/api-auth-and-jwt-abuse/SKILL.md) | 75 lines | - | JWT attacks, API key abuse, token manipulation |
  90. | [graphql-and-hidden-parameters](./skills/graphql-and-hidden-parameters/SKILL.md) | 49 lines | - | GraphQL introspection, batching, hidden param discovery |
  91. ### Authentication & Authorization
  92. | Skill | SKILL.md | SCENARIOS.md | Key Content |
  93. |---|---|---|---|
  94. | [auth-sec](./skills/auth-sec/SKILL.md) | 40 lines | - | Category router for auth testing |
  95. | [authbypass-authentication-flaws](./skills/authbypass-authentication-flaws/SKILL.md) | 441 lines | - | Password reset 22-pattern matrix, captcha bypass 20 methods, insecure randomness (UUID v1/mt_rand/ObjectId) |
  96. | [jwt-oauth-token-attacks](./skills/jwt-oauth-token-attacks/SKILL.md) | 301 lines | - | JWT alg confusion, key confusion, claim tampering, JWKS abuse |
  97. | [oauth-oidc-misconfiguration](./skills/oauth-oidc-misconfiguration/SKILL.md) | 45 lines | - | OAuth flow hijacking, OIDC misconfiguration |
  98. | [saml-sso-assertion-attacks](./skills/saml-sso-assertion-attacks/SKILL.md) | 40 lines | - | SAML assertion manipulation, SSO bypass |
  99. | [idor-broken-object-authorization](./skills/idor-broken-object-authorization/SKILL.md) | 336 lines | - | 8-category systematic IDOR testing, ORM filter chain leaks (Django/Prisma/Ransack) |
  100. ### Injection Attacks
  101. | Skill | SKILL.md | SCENARIOS.md | Key Content |
  102. |---|---|---|---|
  103. | [injection-checking](./skills/injection-checking/SKILL.md) | 49 lines | - | Category router for injection testing |
  104. | [xss-cross-site-scripting](./skills/xss-cross-site-scripting/SKILL.md) | 368 lines | 278 lines | Polyglot payloads, WAF bypass by vendor (Cloudflare/Akamai/Incapsula/WordFence), CSP bypass, DOM clobbering, CSS injection data exfiltration |
  105. | [sqli-sql-injection](./skills/sqli-sql-injection/SKILL.md) | 475 lines | 575 lines | DB2/Cassandra/BigQuery/SQLite specifics, SQLite RCE, WAF bypass matrix, CTF techniques (handler/prepare/innodb) |
  106. | [ssrf-server-side-request-forgery](./skills/ssrf-server-side-request-forgery/SKILL.md) | 314 lines | 226 lines | Cloud metadata 6-platform matrix, DNS rebinding, headless browser attacks, Gopher/Redis RCE chain |
  107. | [ssti-server-side-template-injection](./skills/ssti-server-side-template-injection/SKILL.md) | 340 lines | 319 lines | 15+ engine coverage (Jinja2/Twig/Pug/Handlebars/EJS/Razor/EEx/Smarty), blind SSTI, Flask PIN calculation |
  108. | [cmdi-command-injection](./skills/cmdi-command-injection/SKILL.md) | 494 lines | - | WAF bypass (wildcards/xor/base64), PHP disable_functions 6 bypass paths, component RCE (ImageMagick/FFmpeg/ES) |
  109. | [nosql-injection](./skills/nosql-injection/SKILL.md) | 341 lines | - | Blind extraction automation scripts, duplicate key bypass, aggregation pipeline injection, $where JS execution |
  110. | [xxe-xml-external-entity](./skills/xxe-xml-external-entity/SKILL.md) | 326 lines | 112 lines | Local DTD injection (17+ paths for Windows/Linux/JAR), blind XXE, Gopher/FTP OOB |
  111. | [deserialization-insecure](./skills/deserialization-insecure/SKILL.md) | 714 lines | - | Java/PHP/Python + Ruby Marshal/YAML chains, .NET BinaryFormatter/ViewState/JSON.NET, Node.js node-serialize/funcster |
  112. | [ghost-bits-cast-attack](./skills/ghost-bits-cast-attack/SKILL.md) | 400+ lines | PAYLOAD_COOKBOOK.md | Java char-to-byte narrowing WAF bypass (Black Hat Asia 2026): re-enables WAF-blocked SQLi/deser/upload/traversal/CRLF/smuggling across Tomcat/Spring/Jetty/Jackson/Fastjson/BCEL/HttpClient/Angus Mail; 255 Unicode bypass candidates per dangerous byte |
  113. | [expression-language-injection](./skills/expression-language-injection/SKILL.md) | 243 lines | - | SpEL, OGNL, Java EL injection with RCE chains |
  114. | [jndi-injection](./skills/jndi-injection/SKILL.md) | 265 lines | - | JNDI/LDAP/RMI exploitation, Log4Shell patterns |
  115. | [crlf-injection](./skills/crlf-injection/SKILL.md) | 175 lines | - | Header injection, HTTP response splitting |
  116. | [request-smuggling](./skills/request-smuggling/SKILL.md) | 298 lines | - | CL.TE/TE.CL/TE.TE with 8 obfuscation variants, HTTP/2 downgrade, client-side desync |
  117. | [prototype-pollution](./skills/prototype-pollution/SKILL.md) | 190 lines | - | Express black-box probing keys, EJS/Kibana gadget chains, CVE-2019-7609 |
  118. | [type-juggling](./skills/type-juggling/SKILL.md) | 291 lines | - | PHP loose comparison table, magic hash (MD5/SHA1/SHA256), HMAC 0e brute-force, CTF patterns |
  119. | [http-parameter-pollution](./skills/http-parameter-pollution/SKILL.md) | 208 lines | - | Server behavior matrix (9 platforms), HPP+WAF bypass combos |
  120. | [xslt-injection](./skills/xslt-injection/SKILL.md) | 281 lines | - | Three RCE chains (PHP/Java/.NET), EXSLT file write, vendor detection |
  121. | [csv-formula-injection](./skills/csv-formula-injection/SKILL.md) | 144 lines | - | DDE/rundll32 payloads, Google Sheets IMPORT* exfiltration |
  122. ### File & Path Attacks
  123. | Skill | SKILL.md | SCENARIOS.md | Key Content |
  124. |---|---|---|---|
  125. | [file-access-vuln](./skills/file-access-vuln/SKILL.md) | 32 lines | - | Category router for file access testing |
  126. | [path-traversal-lfi](./skills/path-traversal-lfi/SKILL.md) | 603 lines | - | LFI-to-RCE 7 paths, PHP wrapper matrix (filter chains/oracle/phar), pearcmd 4 methods, parameter naming dictionary |
  127. | [upload-insecure-files](./skills/upload-insecure-files/SKILL.md) | 287 lines | 158 lines | Success rate formula, editor path matrix, validation defect 5-dimension taxonomy, IIS/Apache/Nginx parsing tricks |
  128. ### Business Logic & Session
  129. | Skill | SKILL.md | SCENARIOS.md | Key Content |
  130. |---|---|---|---|
  131. | [business-logic-vuln](./skills/business-logic-vuln/SKILL.md) | 32 lines | - | Category router for business logic testing |
  132. | [business-logic-vulnerabilities](./skills/business-logic-vulnerabilities/SKILL.md) | 339 lines | 298 lines | Payment manipulation matrix (10 attacks), state machine bypass methodology, coupon/stock race |
  133. | [race-condition](./skills/race-condition/SKILL.md) | 286 lines | - | TOCTOU model, HTTP/1.1 last-byte sync, HTTP/2 single-packet attack, Turbo Intruder templates, CVE-2022-4037 |
  134. | [csrf-cross-site-request-forgery](./skills/csrf-cross-site-request-forgery/SKILL.md) | 324 lines | - | JSON CSRF 3 techniques, multipart upload CSRF, CSPT2CSRF modern variant |
  135. | [clickjacking](./skills/clickjacking/SKILL.md) | 163 lines | - | Frame-based attacks, X-Frame-Options/CSP bypass |
  136. | [cors-cross-origin-misconfiguration](./skills/cors-cross-origin-misconfiguration/SKILL.md) | 50 lines | 152 lines | Origin reflection, null origin, subdomain trust abuse |
  137. | [open-redirect](./skills/open-redirect/SKILL.md) | 184 lines | - | Redirect chain abuse, tabnabbing (reverse tabnabbing) |
  138. | [web-cache-deception](./skills/web-cache-deception/SKILL.md) | 211 lines | - | Path confusion, cache key manipulation |
  139. ### Advanced Web Security
  140. | Skill | Key Content |
  141. |---|---|
  142. | [subdomain-takeover](./skills/subdomain-takeover/SKILL.md) | Dangling DNS records (CNAME/NS/A), cloud service fingerprinting, verification bypass, multi-provider takeover playbooks |
  143. | [waf-bypass-techniques](./skills/waf-bypass-techniques/SKILL.md) | Encoding chains, chunked transfer tricks, HTTP smuggling for WAF evasion, vendor-specific bypass matrices (Cloudflare/AWS WAF/Akamai/ModSecurity) |
  144. | [csp-bypass-advanced](./skills/csp-bypass-advanced/SKILL.md) | Script gadgets, base-uri abuse, JSONP callback injection, trusted CDN exploitation, CSP nonce/hash leak, strict-dynamic bypass |
  145. | [http-host-header-attacks](./skills/http-host-header-attacks/SKILL.md) | Password reset poisoning, web cache poisoning via Host, routing-based SSRF, absolute-URL override tricks |
  146. | [dangling-markup-injection](./skills/dangling-markup-injection/SKILL.md) | HTML injection for data exfiltration without JavaScript, img/form/base tag abuse, CSP-safe data theft |
  147. | [dns-rebinding-attacks](./skills/dns-rebinding-attacks/SKILL.md) | DNS rebinding for internal network access, TTL manipulation, same-origin policy bypass, browser mitigation evasion |
  148. | [email-header-injection](./skills/email-header-injection/SKILL.md) | SMTP header injection, CC/BCC manipulation, mail relay abuse, phishing via injected headers |
  149. | [http2-specific-attacks](./skills/http2-specific-attacks/SKILL.md) | HTTP/2 request smuggling (H2.CL/H2.TE), HPACK header compression attacks, stream multiplexing abuse, HTTP/2→HTTP/1.1 downgrade |
  150. | [prototype-pollution-advanced](./skills/prototype-pollution-advanced/SKILL.md) | Server-side gadget chain discovery, framework-specific PP→RCE (Express/Fastify/Next.js), AST injection, prototype poisoning in build tools |
  151. | [401-403-bypass-techniques](./skills/401-403-bypass-techniques/SKILL.md) | Path normalization tricks, HTTP verb tampering, header-based bypass (X-Original-URL/X-Rewrite-URL), proxy misconfiguration, IP-based ACL evasion |
  152. ### Infrastructure & Network
  153. | Skill | Key Content |
  154. |---|---|
  155. | [unauthorized-access-common-services](./skills/unauthorized-access-common-services/SKILL.md) | Service exposure checklist, reverse proxy misconfiguration (Nginx off-by-slash, X-Forwarded-For trust, Caddy template injection) |
  156. | [insecure-source-code-management](./skills/insecure-source-code-management/SKILL.md) | .git/.svn/.hg/.bzr recovery, 403 vs 404 detection, backup file patterns |
  157. | [dependency-confusion](./skills/dependency-confusion/SKILL.md) | npm/pip/gem public registry hijacking, manifest identification, scope/namespace defense |
  158. | [websocket-security](./skills/websocket-security/SKILL.md) | CSWSH, Origin validation, wsrepl/ws-harness tooling |
  159. | [network-protocol-attacks](./skills/network-protocol-attacks/SKILL.md) | ARP spoofing, DNS poisoning, LLMNR/NBT-NS poisoning, DHCP starvation, IPv6 attacks, protocol-level MitM |
  160. | [tunneling-and-pivoting](./skills/tunneling-and-pivoting/SKILL.md) | SSH tunneling (local/remote/dynamic), SOCKS proxy chains, chisel/ligolo-ng, port forwarding, DNS/ICMP tunneling |
  161. | [reverse-shell-techniques](./skills/reverse-shell-techniques/SKILL.md) | Multi-language shell generation, encrypted reverse shells (OpenSSL/ncat), staged/stageless payloads, firewall evasion, web shells |
  162. ### Linux & Container Security
  163. | Skill | Key Content |
  164. |---|---|
  165. | [linux-privilege-escalation](./skills/linux-privilege-escalation/SKILL.md) | SUID/SGID abuse, kernel exploits, sudo misconfig, cron jobs, Linux Capabilities, writable service files, NFS no_root_squash |
  166. | [container-escape-techniques](./skills/container-escape-techniques/SKILL.md) | Docker socket abuse, privileged container escape, cgroup breakout, runc vulnerabilities, mounted sensitive paths |
  167. | [linux-security-bypass](./skills/linux-security-bypass/SKILL.md) | SELinux/AppArmor bypass, seccomp filter evasion, namespace abuse, LD_PRELOAD tricks |
  168. | [linux-lateral-movement](./skills/linux-lateral-movement/SKILL.md) | SSH key harvesting, credential reuse, service exploitation, NFS/shared mount abuse, cron-based persistence |
  169. | [kubernetes-pentesting](./skills/kubernetes-pentesting/SKILL.md) | Pod security policy bypass, RBAC abuse, ServiceAccount token theft, etcd access, container image backdoors, kubelet API |
  170. ### Windows & Active Directory
  171. | Skill | Key Content |
  172. |---|---|
  173. | [windows-privilege-escalation](./skills/windows-privilege-escalation/SKILL.md) | Token manipulation, service misconfig, DLL hijacking, UAC bypass, AlwaysInstallElevated, unquoted service paths, PrintSpoofer/Potato |
  174. | [active-directory-kerberos-attacks](./skills/active-directory-kerberos-attacks/SKILL.md) | Kerberoasting, AS-REP Roasting, Golden/Silver Ticket, delegation abuse (unconstrained/constrained/RBCD), Diamond Ticket |
  175. | [active-directory-acl-abuse](./skills/active-directory-acl-abuse/SKILL.md) | ACL/DACL exploitation, DCSync, object ownership abuse, WriteDACL/GenericAll/GenericWrite attack paths, BloodHound integration |
  176. | [active-directory-certificate-services](./skills/active-directory-certificate-services/SKILL.md) | ESC1–ESC8 attack patterns, certificate template abuse, PKINIT exploitation, Shadow Credentials, CA persistence |
  177. | [ntlm-relay-coercion](./skills/ntlm-relay-coercion/SKILL.md) | PetitPotam, PrinterBug, NTLM relay chains, coercion techniques, WebDAV relay, NTLM downgrade |
  178. | [windows-lateral-movement](./skills/windows-lateral-movement/SKILL.md) | PsExec, WMI, WinRM, DCOM, Pass-the-Hash/Pass-the-Ticket, RDP hijacking, scheduled tasks, service deployment |
  179. | [windows-av-evasion](./skills/windows-av-evasion/SKILL.md) | AMSI bypass, ETW patching, API unhooking, shellcode loaders, Living-off-the-Land (LOLBins), payload encryption/obfuscation |
  180. ### macOS Security
  181. | Skill | Key Content |
  182. |---|---|
  183. | [macos-security-bypass](./skills/macos-security-bypass/SKILL.md) | Gatekeeper bypass, TCC abuse, SIP/AMFI considerations, LaunchAgent/LaunchDaemon persistence, quarantine flag evasion |
  184. | [macos-process-injection](./skills/macos-process-injection/SKILL.md) | Dylib injection/hijacking, task_for_pid, XPC exploitation, Electron app injection, DYLD_INSERT_LIBRARIES |
  185. ### Mobile Security
  186. | Skill | Key Content |
  187. |---|---|
  188. | [android-pentesting-tricks](./skills/android-pentesting-tricks/SKILL.md) | APK analysis & reverse engineering, Frida hooking, Intent exploitation, root detection bypass, Content Provider leaks, WebView attacks |
  189. | [ios-pentesting-tricks](./skills/ios-pentesting-tricks/SKILL.md) | IPA analysis, Objective-C runtime manipulation, jailbreak detection bypass, Keychain access, URL scheme abuse, binary protections |
  190. | [mobile-ssl-pinning-bypass](./skills/mobile-ssl-pinning-bypass/SKILL.md) | Certificate pinning bypass for Android/iOS, Frida/Objection scripts, dynamic instrumentation, network security config manipulation |
  191. ### Binary Exploitation (Pwn)
  192. | Skill | Key Content |
  193. |---|---|
  194. | [stack-overflow-and-rop](./skills/stack-overflow-and-rop/SKILL.md) | Buffer overflow, ROP chain construction, ret2libc, SROP (Sigreturn-Oriented Programming), stack pivoting, one-gadget |
  195. | [heap-exploitation](./skills/heap-exploitation/SKILL.md) | Use-after-free, double free, tcache poisoning, fastbin attack, House of series techniques, safe-linking bypass |
  196. | [format-string-exploitation](./skills/format-string-exploitation/SKILL.md) | Format string read/write primitives, GOT overwrite, arbitrary address write, FORTIFY_SOURCE bypass |
  197. | [kernel-exploitation](./skills/kernel-exploitation/SKILL.md) | Kernel ROP, ret2usr, SMEP/SMAP/KPTI bypass, kernel race conditions, modprobe_path overwrite, msg_msg exploitation |
  198. | [browser-exploitation-v8](./skills/browser-exploitation-v8/SKILL.md) | V8 engine exploitation, JIT compilation bugs, type confusion, OOB read/write, sandbox escape chains, wasm abuse |
  199. | [sandbox-escape-techniques](./skills/sandbox-escape-techniques/SKILL.md) | Browser sandbox escape, seccomp bypass, IPC abuse, kernel exploitation for sandbox breakout, policy file manipulation |
  200. | [binary-protection-bypass](./skills/binary-protection-bypass/SKILL.md) | ASLR/NX/PIE/Canary/Full RELRO bypass techniques, information leak exploitation, partial overwrite, GOT dereference |
  201. | [arbitrary-write-to-rce](./skills/arbitrary-write-to-rce/SKILL.md) | Write primitive to code execution (GOT/__free_hook/__malloc_hook), FSOP, _IO_FILE exploitation, exit handler overwrite |
  202. ### Reverse Engineering
  203. | Skill | Key Content |
  204. |---|---|
  205. | [anti-debugging-techniques](./skills/anti-debugging-techniques/SKILL.md) | ptrace detection, timing checks, self-modifying code, anti-VM techniques, debug flag inspection, exception-based anti-debug |
  206. | [code-obfuscation-deobfuscation](./skills/code-obfuscation-deobfuscation/SKILL.md) | Control flow flattening, opaque predicates, string encryption, obfuscation tool analysis (OLLVM/Themida/VMProtect), automated deobfuscation |
  207. | [symbolic-execution-tools](./skills/symbolic-execution-tools/SKILL.md) | angr, Z3, Triton for automated vulnerability discovery, constraint solving, path exploration, concolic execution |
  208. | [vm-and-bytecode-reverse](./skills/vm-and-bytecode-reverse/SKILL.md) | Custom VM/bytecode analysis, Python/Java/.NET decompilation, VM handler reconstruction, opcode mapping |
  209. ### Cryptography Attacks
  210. | Skill | Key Content |
  211. |---|---|
  212. | [rsa-attack-techniques](./skills/rsa-attack-techniques/SKILL.md) | Wiener attack, Boneh-Durfee, Hastad broadcast, common modulus, Coppersmith (small roots), Franklin-Reiter, padding oracle (PKCS#1 v1.5) |
  213. | [symmetric-cipher-attacks](./skills/symmetric-cipher-attacks/SKILL.md) | Padding oracle (CBC), bit-flipping, ECB cut-and-paste, meet-in-the-middle, known-plaintext, IV reuse exploitation |
  214. | [lattice-crypto-attacks](./skills/lattice-crypto-attacks/SKILL.md) | LLL/BKZ lattice reduction, Hidden Number Problem, NTRU attacks, CVP/SVP solving, knapsack cryptosystem attacks |
  215. | [hash-attack-techniques](./skills/hash-attack-techniques/SKILL.md) | Length extension attack, birthday attack, hash collision exploitation, bcrypt/scrypt/argon2 analysis, HMAC timing |
  216. | [classical-cipher-analysis](./skills/classical-cipher-analysis/SKILL.md) | Frequency analysis, Vigenère/Kasiski, Hill cipher, substitution cipher, transposition cipher, Enigma-style analysis, automated solving |
  217. ### Blockchain & Smart Contract
  218. | Skill | SKILL.md | Supplementary | Key Content |
  219. |---|---|---|---|
  220. | [smart-contract-vulnerabilities](./skills/smart-contract-vulnerabilities/SKILL.md) | 314 lines | 460 lines | Reentrancy (4 variants), integer overflow, delegatecall storage collision, signature replay, CREATE2 exploitation, flash loan patterns |
  221. | [defi-attack-patterns](./skills/defi-attack-patterns/SKILL.md) | 355 lines | - | Flash loan oracle manipulation, MEV sandwich/JIT/liquidation, first depositor vault attack, governance flash borrow, bridge exploits, fee-on-transfer tokens |
  222. ### AI/ML & LLM Security
  223. | Skill | SKILL.md | Supplementary | Key Content |
  224. |---|---|---|---|
  225. | [llm-prompt-injection](./skills/llm-prompt-injection/SKILL.md) | 357 lines | 306 lines | Direct/indirect injection, RAG poisoning, tool/function abuse, markdown exfiltration, MCP security risks, encoding bypass |
  226. | [ai-ml-security](./skills/ai-ml-security/SKILL.md) | 425 lines | - | Pickle RCE in model files, adversarial examples (FGSM/PGD/C&W), training data poisoning, model extraction, membership inference, agent security |
  227. ### Forensics & Steganography
  228. | Skill | Key Content |
  229. |---|---|
  230. | [memory-forensics-volatility](./skills/memory-forensics-volatility/SKILL.md) | Volatility framework, process/module analysis, network artifact extraction, malware detection, registry hive analysis, timeline reconstruction |
  231. | [steganography-techniques](./skills/steganography-techniques/SKILL.md) | LSB extraction, file format analysis, audio/image stego tools (zsteg/stegsolve/steghide), EXIF metadata, multi-layer embedding |
  232. | [traffic-analysis-pcap](./skills/traffic-analysis-pcap/SKILL.md) | Wireshark/tshark analysis, protocol dissection, data extraction from captures, encrypted traffic identification, stream reconstruction |
  233. ## Skill Selection Guide
  234. | Symptom | Recommended Entry | Notes |
  235. |---|---|---|
  236. | New target, insufficient information | [recon-for-sec](./skills/recon-for-sec/SKILL.md) | Start with methodology and asset understanding |
  237. | REST API, GraphQL, mobile backend | [api-sec](./skills/api-sec/SKILL.md) | Route to recon, authz, token, or GraphQL |
  238. | Login, password reset, 2FA, JWT, OAuth | [auth-sec](./skills/auth-sec/SKILL.md) | Distinguish auth, authz, and protocol config |
  239. | HTML/JS reflection, template expressions | [injection-checking](./skills/injection-checking/SKILL.md) | Determine XSS, SQLi, SSRF, XXE, SSTI first |
  240. | File paths, downloads, uploads | [file-access-vuln](./skills/file-access-vuln/SKILL.md) | Distinguish LFI/Traversal from Upload |
  241. | Coupons, payments, state machines | [business-logic-vuln](./skills/business-logic-vuln/SKILL.md) | Model by business rules and race conditions |
  242. | HTTP parsing anomalies | [request-smuggling](./skills/request-smuggling/SKILL.md) | Front/back-end framing disagreement |
  243. | Node.js `__proto__` controllable | [prototype-pollution](./skills/prototype-pollution/SKILL.md) | Client-side PP→XSS, Server-side PP→RCE |
  244. | PHP weak comparison, 0e hash | [type-juggling](./skills/type-juggling/SKILL.md) | Loose comparison auth bypass |
  245. | .git/.svn/.env path accessible | [insecure-source-code-management](./skills/insecure-source-code-management/SKILL.md) | Source code recovery |
  246. | Internal package names in manifests | [dependency-confusion](./skills/dependency-confusion/SKILL.md) | Supply chain hijacking |
  247. | WebSocket protocol upgrade | [websocket-security](./skills/websocket-security/SKILL.md) | CSWSH and WS injection |
  248. | CSV/Excel export functionality | [csv-formula-injection](./skills/csv-formula-injection/SKILL.md) | DDE injection in exports |
  249. | One-time operations (coupons, rewards) | [race-condition](./skills/race-condition/SKILL.md) | Limit-overrun via concurrent requests |
  250. | Smart contract, Solidity, EVM audit | [smart-contract-vulnerabilities](./skills/smart-contract-vulnerabilities/SKILL.md) | Reentrancy, overflow, access control, delegatecall |
  251. | DeFi protocol, flash loan, oracle, MEV | [defi-attack-patterns](./skills/defi-attack-patterns/SKILL.md) | Flash loan, sandwich, governance, bridge |
  252. | LLM, chatbot, prompt injection, RAG | [llm-prompt-injection](./skills/llm-prompt-injection/SKILL.md) | Direct/indirect injection, tool abuse, MCP |
  253. | ML model, adversarial, model poisoning | [ai-ml-security](./skills/ai-ml-security/SKILL.md) | Supply chain, adversarial examples, extraction, agents |
  254. | WAF blocking payloads | [waf-bypass-techniques](./skills/waf-bypass-techniques/SKILL.md) | Encoding, chunked transfer, vendor-specific evasion |
  255. | Subdomain dangling CNAME/DNS | [subdomain-takeover](./skills/subdomain-takeover/SKILL.md) | Cloud service takeover, NS delegation hijacking |
  256. | CSP blocking XSS execution | [csp-bypass-advanced](./skills/csp-bypass-advanced/SKILL.md) | Script gadgets, JSONP, trusted CDN, strict-dynamic |
  257. | 401/403 on target endpoint | [401-403-bypass-techniques](./skills/401-403-bypass-techniques/SKILL.md) | Path normalization, verb tampering, header tricks |
  258. | HTTP/2 protocol endpoint | [http2-specific-attacks](./skills/http2-specific-attacks/SKILL.md) | H2 smuggling, HPACK abuse, downgrade attacks |
  259. | Linux host, SUID/sudo present | [linux-privilege-escalation](./skills/linux-privilege-escalation/SKILL.md) | Kernel, SUID, cron, capabilities, services |
  260. | Docker/Kubernetes environment | [container-escape-techniques](./skills/container-escape-techniques/SKILL.md) | Docker socket, privileged escape, cgroup breakout |
  261. | Kubernetes cluster access | [kubernetes-pentesting](./skills/kubernetes-pentesting/SKILL.md) | RBAC abuse, SA token, etcd, pod security bypass |
  262. | Windows host, local admin needed | [windows-privilege-escalation](./skills/windows-privilege-escalation/SKILL.md) | Token, service, DLL hijack, UAC, Potato attacks |
  263. | Active Directory, domain joined | [active-directory-kerberos-attacks](./skills/active-directory-kerberos-attacks/SKILL.md) | Kerberoast, AS-REP roast, Golden/Silver Ticket |
  264. | AD CS, certificate templates | [active-directory-certificate-services](./skills/active-directory-certificate-services/SKILL.md) | ESC1–ESC8, template abuse, Shadow Credentials |
  265. | NTLM hash, relay opportunity | [ntlm-relay-coercion](./skills/ntlm-relay-coercion/SKILL.md) | PetitPotam, PrinterBug, relay chains |
  266. | Windows AV/EDR blocking execution | [windows-av-evasion](./skills/windows-av-evasion/SKILL.md) | AMSI bypass, unhooking, LOLBins, payload obfuscation |
  267. | macOS endpoint access | [macos-security-bypass](./skills/macos-security-bypass/SKILL.md) | Gatekeeper, TCC, SIP considerations |
  268. | Android/iOS application testing | [android-pentesting-tricks](./skills/android-pentesting-tricks/SKILL.md) | APK analysis, Frida, Intent, root detection bypass |
  269. | SSL pinning blocking proxy | [mobile-ssl-pinning-bypass](./skills/mobile-ssl-pinning-bypass/SKILL.md) | Frida/Objection scripts, dynamic instrumentation |
  270. | Binary/ELF/PE exploitation | [stack-overflow-and-rop](./skills/stack-overflow-and-rop/SKILL.md) | Buffer overflow, ROP, ret2libc, SROP |
  271. | Heap corruption, UAF | [heap-exploitation](./skills/heap-exploitation/SKILL.md) | tcache/fastbin attacks, House of techniques |
  272. | Kernel-level exploitation | [kernel-exploitation](./skills/kernel-exploitation/SKILL.md) | Kernel ROP, SMEP/SMAP bypass, modprobe_path |
  273. | Browser 0-day, V8/JSC | [browser-exploitation-v8](./skills/browser-exploitation-v8/SKILL.md) | JIT bugs, type confusion, sandbox escape |
  274. | Obfuscated/packed binary | [code-obfuscation-deobfuscation](./skills/code-obfuscation-deobfuscation/SKILL.md) | Control flow, opaque predicates, VM protection |
  275. | CTF crypto challenge (RSA) | [rsa-attack-techniques](./skills/rsa-attack-techniques/SKILL.md) | Wiener, Coppersmith, common modulus, padding oracle |
  276. | CTF crypto challenge (AES/DES) | [symmetric-cipher-attacks](./skills/symmetric-cipher-attacks/SKILL.md) | Padding oracle, bit-flip, ECB mode attacks |
  277. | CTF crypto challenge (lattice) | [lattice-crypto-attacks](./skills/lattice-crypto-attacks/SKILL.md) | LLL/BKZ, Hidden Number Problem, knapsack |
  278. | CTF classical cipher | [classical-cipher-analysis](./skills/classical-cipher-analysis/SKILL.md) | Frequency analysis, Vigenère, substitution |
  279. | Memory dump analysis | [memory-forensics-volatility](./skills/memory-forensics-volatility/SKILL.md) | Volatility, process/network analysis, malware detect |
  280. | Hidden data in images/audio | [steganography-techniques](./skills/steganography-techniques/SKILL.md) | LSB, format analysis, stego tools |
  281. | PCAP traffic capture | [traffic-analysis-pcap](./skills/traffic-analysis-pcap/SKILL.md) | Wireshark, protocol dissection, stream extraction |
  282. | Need to pivot through network | [tunneling-and-pivoting](./skills/tunneling-and-pivoting/SKILL.md) | SSH tunnel, SOCKS proxy, chisel/ligolo-ng |
  283. | Need reverse shell on target | [reverse-shell-techniques](./skills/reverse-shell-techniques/SKILL.md) | Multi-language shells, encrypted, staged payloads |
  284. ## Installation
  285. ### General Installation
  286. ```bash
  287. npx skills add yaklang/hack-skills
  288. ```
  289. ### Raw URL Installation
  290. ```bash
  291. curl -fsSL https://raw.githubusercontent.com/yaklang/hack-skills/main/skills/hack/SKILL.md
  292. ```
  293. ### Local Use as a Knowledge Base
  294. ```bash
  295. git clone https://github.com/yaklang/hack-skills.git
  296. cd hack-skills
  297. ```
  298. ### Offline ZIP (encrypted)
  299. For air-gapped environments, slow networks, or any place where AV / EDR / browser content scanners strip plain offensive-security markdown:
  300. ```bash
  301. curl -fsSLO https://oss-qn.yaklang.com/hack-skills/latest/hack-skills.zip
  302. 7z x -phack-skills hack-skills.zip
  303. # or: unzip -P hack-skills hack-skills.zip
  304. ```
  305. | Channel | URL |
  306. |---|---|
  307. | Primary CDN | <https://oss-qn.yaklang.com/hack-skills/latest/hack-skills.zip> |
  308. | Backup CDN | <https://aliyun-oss.yaklang.com/hack-skills/latest/hack-skills.zip> |
  309. | Build version manifest | <https://oss-qn.yaklang.com/hack-skills/latest/version.txt> |
  310. **About the password.** The ZIP is wrapped with **AES-256** and a **public constant** password `hack-skills`. This is **not access control** — anyone can download, anyone can extract, the password is printed openly in the README, the website, the GitHub Actions workflow, and CI logs. It exists solely to bypass content heuristics on AV / EDR / browser scanners that flag plain offensive markdown and silently drop or quarantine the file in transit. Build, encryption settings, and integrity verification all live in [`.github/workflows/upload-hack-skills.yml`](./.github/workflows/upload-hack-skills.yml).
  311. Same ZIP is also surfaced one-click on the website's nav bar (`ZIP` button) and the `Install → Offline ZIP` tab.
  312. ## Design Principles
  313. - Security knowledge takes priority over fancy packaging.
  314. - Content auditability takes priority over quantity expansion.
  315. - Prioritize authorized testing, legitimate research, and defensive verification scenarios.
  316. - Directory names should convey security semantics at a glance.
  317. - No customer-specific information; all content is generic methodology for educational use.
  318. ## Harmless PoC Policy
  319. Skills document how to **prove** a vulnerability and how to gain access in an authorized
  320. engagement — they do not ship payloads whose only purpose is to irreversibly destroy data or
  321. take a target offline. The boundary is simple:
  322. - **Removed / neutralized — irreversibly destructive operations.** Data destruction
  323. (`DROP` / `TRUNCATE` / mass `DELETE` / Redis `FLUSHALL`) and availability destruction
  324. (service `shutdown` / reboot / DoS endpoints) are replaced with non-destructive proofs that
  325. demonstrate the same injection point or capability.
  326. - **Retained — non-destructive access primitives.** Standard offensive PoCs needed for real
  327. authorized testing are kept, including RCE such as webshell writes (`INTO OUTFILE` /
  328. `DUMPFILE`), reverse shells, and command execution. These grant access without wrecking the
  329. environment.
  330. | Destructive form (avoided) | Used instead | Why it still proves the issue |
  331. |---|---|---|
  332. | `...; DROP TABLE users;--` (stacked query) | `...; SELECT SLEEP(5);--` | Time delay proves arbitrary stacked-statement execution, no data loss |
  333. | `DELETE FROM ... WHERE x='' OR '1'='1'` (deletes all rows) | time-based blind proof inside the DELETE context | Confirms injection without removing rows |
  334. | `redis-cli ... FLUSHALL` / gopher `...flushall...` chain | dropped, or replaced with `PING` inside the RCE chain | Keeps the RCE chain intact, drops the data wipe |
  335. | `/actuator/shutdown` (DoS) | `/actuator/env`, `/actuator/heapdump`, `/actuator/threaddump` | Same recon/secret-leak value without taking the app down |
  336. Conventions:
  337. - Prefer **time-based** (`SLEEP`/`pg_sleep`/`WAITFOR DELAY`) or **read-only** proofs over any
  338. statement that destroys data or availability.
  339. - **RCE stays in scope:** webshell drops, reverse shells, and command execution are non-destructive
  340. access primitives essential to authorized testing and are intentionally retained.
  341. - Standard read-only recon commands (e.g. `xp_cmdshell 'whoami'`, `LOAD_FILE('/etc/passwd')`) are kept.
  342. - Defensive hardening snippets (e.g. `rename-command FLUSHALL ""`) are kept as defenses.
  343. ## Related Projects (Sister Sites)
  344. HackSkills is part of a family of agent-facing knowledge bases from the Yaklang ecosystem:
  345. | Project | Live site | Focus |
  346. |---|---|---|
  347. | **HackSkills** (this repo) | [skills.hackbenchmark.com](https://skills.hackbenchmark.com) | Offensive-security skills for AI agents (Web/API/auth/privesc/RE/crypto …) |
  348. | **Yak Skills** | [skills.yaklang.io](https://skills.yaklang.io) · [yaklang/yak-skills](https://github.com/yaklang/yak-skills) | Yaklang programming + Yak hot patch skills (MITM / Web Fuzzer / Global hot patch, frontend-crypto bypass) |
  349. | **Training materials** | [yaklang/yaklang-ai-training-materials](https://github.com/yaklang/yaklang-ai-training-materials) | More complex Yak code, 100+ stdlib practice, detailed cases |
  350. | **Benchmark** | [hackbenchmark.com](https://hackbenchmark.com) | AI agents vs. real-world web vulnerabilities |
  351. > When a finding needs custom tooling — proxy hot-patching, traffic decryption, fuzzing logic — pivot from HackSkills to **Yak Skills** for the Yaklang implementation playbooks.
  352. ## Contributing
  353. PRs are welcome. Key areas include:
  354. - New vulnerability categories and high-value cases
  355. - Better bug bounty and penetration testing methodologies
  356. - OS-specific privilege escalation paths and AD attack chains
  357. - CTF challenge techniques (Pwn, Crypto, RE, Forensics)
  358. - Edge conditions that Agents easily overlook
  359. - Risk annotations, terminology consistency, and content denoising
  360. Contributions should ideally be verifiable, auditable, and helpful for Agents to reason and execute more robustly in real tasks.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.