hack
Skill2.4k starsChanged 7 months agoMITView on GitHub
Entry P0 primary router and operating doctrine for HackSkills. Use when the task involves web application testing, API security assessment, recon, vulnerability triage, exploit path planning, authorized pentest, code audit, source-leak mining, middleware audit, SOC triage, detection engineering, incident response, or choosing the right next category skill before any deep topic skill. Also use when the user mentions 安全工程师, 渗透测试, 红队, 蓝队, 代码审计, 源码泄露, SRC. Enforce impact-first testing, finish the current asset cluster before expanding, follow half-chains to real control, and require live verification of secrets.
- Reads credentials
2 other projects use a version of this, 2 of them edited.
Trending
More talk lately.thin dataabout the whole repository
Most recently taken up by
- Kur1sulab/blackboxedited, first seen Aug 12, 2026
- ShulkwiSEC/bb-hugeedited, first seen Jun 4, 2026
Who's talking about yaklang/hack-skills
- six2dez/burp-ai-agent“General Information Regarding the Addition of New Features”GitHub · Apr 11, 2026 · 3 reactions
- sudosubin/agents.nix“agent-skills.github.yaklang.hack-skills: init at 0-unstable-2026-09-13”GitHub · Oct 4, 2026
The biggest 2 of 2 mentions linking to the repository that our crawl found. Each line is their own headline.
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- ShulkwiSEC/bb-huge★ 2222% same
- Kur1sulab/blackbox★ 315% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository102 other files it gives its agents.
- 401-403-bypass-techniquesSkill
- active-directory-acl-abuseSkill
- active-directory-certificate-servicesSkill
- active-directory-kerberos-attacksSkill
- ai-ml-securitySkill
- android-pentesting-tricksSkill
- anti-debugging-techniquesSkill
- api-auth-and-jwt-abuseSkill
- api-authorization-and-bolaSkill
- api-recon-and-docsSkill
- api-secSkill
- arbitrary-write-to-rceSkill
- attack-surface-mappingSkill
- authbypass-authentication-flawsSkill
- auth-secSkill
- binary-protection-bypassSkill
- browser-exploitation-v8Skill
- business-logic-vulnerabilitiesSkill
- business-logic-vulnSkill
- classical-cipher-analysisSkill
- clickjackingSkill
- cmdi-command-injectionSkill
- code-obfuscation-deobfuscationSkill
- container-escape-techniquesSkill
- cors-cross-origin-misconfigurationSkill
- crlf-injectionSkill
- csp-bypass-advancedSkill
- csrf-cross-site-request-forgerySkill
- csv-formula-injectionSkill
- dangling-markup-injectionSkill
- defi-attack-patternsSkill
- dependency-confusionSkill
- deserialization-insecureSkill
- dns-rebinding-attacksSkill
- email-header-injectionSkill
- expression-language-injectionSkill
- file-access-vulnSkill
- format-string-exploitationSkill
- ghost-bits-cast-attackSkill
- graphql-and-hidden-parametersSkill
- hash-attack-techniquesSkill
- heap-exploitationSkill
- http2-specific-attacksSkill
- http-host-header-attacksSkill
- http-parameter-pollutionSkill
- idor-broken-object-authorizationSkill
- injection-checkingSkill
- insecure-source-code-managementSkill
- ios-pentesting-tricksSkill
- jndi-injectionSkill
- jwt-oauth-token-attacksSkill
- kernel-exploitationSkill
- kubernetes-pentestingSkill
- lattice-crypto-attacksSkill
- linux-lateral-movementSkill
- linux-privilege-escalationSkill
- linux-security-bypassSkill
- llm-prompt-injectionSkill
- macos-process-injectionSkill
- macos-security-bypassSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 17 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Prefer structured methodology over baseline-model memory and scanner dumps
- Very specific: line 35
Test matrix and effort → TEST_MATRIX.md
- Very specific: line 52
Working directory: before any test: assets/ (URLs, API inventory, script excerpts), evidence/ (requests, diffs, screenshots), reports/ …
- Distinctive: line 53
Questions: if scope is unclear, ask only the 1–3 technical blockers (target, stack, whether an account exists).
- Distinctive: line 55
Do not expand onto unauthorized assets.
- Distinctive: line 60
No destructive testing or destructive containment: delete other people's business data, DROP/TRUNCATE, bulk config change, …
- Distinctive: line 61
Write-ops that prove access: create only identifiable test objects, delete that one object immediately.
- Distinctive: line 62
Do not log out, revoke, or deactivate a session the user provided.
- Distinctive: line 63
Do not cause irreversible damage to prove a break.
- Distinctive: line 65
Do not fabricate PoCs, logs, or exploit chains.
- Distinctive: line 69
If a security control blocks real work, it will be bypassed.
- Distinctive: line 84
When a task crosses red and blue, freeze evidence for the current phase before switching role.
- Very specific: line 146
Do not stop at ".git exposed" or "repo is public".
- Distinctive: line 154
Read official docs for the exact major version, build a checklist, leave a trace per item.
- Distinctive: line 160
B1.: Ask first whether this loses data, privilege, or the business *now*.
- Distinctive: line 170
If the full repository is present, prefer these together.
- Distinctive: line 196
Default three layers by audience:
- Very specific: line 202
Use templates in EVIDENCE_REPORT.md.
- Distinctive: line 206
Session-attribution gate: if the breaking request carried a session, write IDOR/auth — not "anonymous unauthorized".
- Very specific: line 239
Search keywords: HackSkills, HACKING SKILLS, bug bounty, security engineer ops
- Distinctive: line 245
Prefer reusable filters, shared components, and cross-page reproduction.
- Distinctive: line 247
Keep the process explainable, auditable, and reproducible.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
HACKING SKILLS / HackSkills
Overview
This is the master quality gate and technical router for authorized bug bounty, web/API security, pentest, code audit, source-leak work, and (when the task is blue) SOC / detection / IR.
It does not replace specialized techniques. It makes the agent:
- Pass the start gate (authorization, role, scope, success definition)
- Spend effort on paths that reach real control
- Route by observed behavior to the correct category / deep topic skill
- Prefer structured methodology over baseline-model memory and scanner dumps
This file is a quality gate, not a capability ceiling. Surfaces not listed here stay in play if field evidence exists.
This file is not an exploit cookbook. Weaponized details live in deep topic skills and are used only on authorized targets.
Load on demand:
- Red-team execution → RED_TEAM.md
- Test matrix and effort → TEST_MATRIX.md
- Blue-team execution → BLUE_TEAM.md
- Code audit → CODE_AUDIT.md
- Source leak → SOURCE_LEAK.md
- Evidence and report → EVIDENCE_REPORT.md
0. Task Start Gate
Complete in order. Stop if any item is missing:
- Authorization: written auth, RoE, scope, prohibitions, contact, emergency stop. No authorization → refuse.
- Role: red-team test / code audit / source leak / middleware audit / blue triage / detection engineering / IR. Parallel work is allowed; there is only one primary role.
- Scope mode:
- User gave a fixed URL / system / repo → locked scope: follow same-product hosts, gateways, API domains, and same-host extra paths that the business flow naturally exposes. Do not scan unrelated brand lines.
- User gave an org name and asked to find boundary assets → exploratory scope: finish the current asset cluster before opening the next. Do not search many seeds shallowly.
- Success definition: what "done" means for this task. Scanner-finished, report-emitted, and ticket-closed are not success.
- Destruction boundary: list actions that must never happen.
- Working directory before any test:
assets/(URLs, API inventory, script excerpts),evidence/(requests, diffs, screenshots),reports/(confirmed findings only). - Questions: if scope is unclear, ask only the 1–3 technical blockers (target, stack, whether an account exists). Do not use "should I continue" as a way to stop. Missing a second account → degrade to what is testable; do not idle waiting for account B.
Do not expand onto unauthorized assets.
1. Hard Constraints
- Stay in scope. Out-of-scope clues: record, then request expansion. No silent expansion.
- No destructive testing or destructive containment: delete other people's business data, DROP/TRUNCATE, bulk config change, encrypt/ransom-like actions, unbounded DoS, wipe logs, wipe images.
- Write-ops that prove access: create only identifiable test objects, delete that one object immediately. Do not change other people's orders, addresses, passwords, roles, or bindings. No charge, stock wipe, or account lock.
- Do not log out, revoke, or deactivate a session the user provided. If password/binding change is required to prove impact, revert immediately; if revert fails, stop at the response — do not brick the account.
- Do not cause irreversible damage to prove a break. Prefer read-only, copy, or low-privilege proof.
- Evidence must be readable and reproducible. A conclusion without repro steps is a hypothesis.
- Do not fabricate PoCs, logs, or exploit chains. If path, file, query, and screenshot do not line up, downgrade or withdraw.
- Copied secrets are clues until they pass the liveness gate: production accepts the real value (rejects a fake), and one read-only call returns identity or an object list.
- A finding reached with a session is not "anonymous unauthorized". Anonymous only if the break had no login state.
- For internal users, assume false positive or mistake until the timeline proves otherwise.
- If a security control blocks real work, it will be bypassed. Remediation must include a usable safe path.
2. Role Routing
| User intent | Primary flow | Load |
| Pentest / red team / foothold / SRC | §§3–5 | RED_TEAM.md, TEST_MATRIX.md |
| Code audit / whitebox / find sinks | §3 R6 | CODE_AUDIT.md |
| Source leak / Git leak / secret leak | §3 R5 | SOURCE_LEAK.md, insecure-source-code-management |
| Middleware / gateway / component audit | §3 R7 | RED_TEAM.md middleware section, unauthorized-access-common-services |
| Alert triage / SOC / hunting | Blue quality gate | BLUE_TEAM.md |
| Detection rules | Blue B6 | BLUE_TEAM.md, template in EVIDENCE_REPORT.md |
| IR / forensics / containment | Blue B7 | BLUE_TEAM.md, memory-forensics-volatility, traffic-analysis-pcap |
| Write the report | §6 | EVIDENCE_REPORT.md |
When a task crosses red and blue, freeze evidence for the current phase before switching role.
3. Operating Model
Step 1: Draw the surface from the application
With a URL or an application in hand, map the surface first: attack-surface-mapping. Portrait, business plane, JS/traffic inventory (keys not just paths), response classes, object graph. Do not scan into a blank portrait. Do not open with directory brute or payload spray.
Step 2: Route by observed behavior
| Signal | First direction | Load |
| Input reflects into HTML / JS | XSS / SSTI | injection-checking |
| Server fetches a URL / hostname | SSRF | ssrf-server-side-request-forgery |
| Accepts XML / Office / SVG | XXE | xxe-xml-external-entity |
| Path, filename, or download is controllable | Path Traversal / LFI | path-traversal-lfi |
| Many object IDs in APIs | IDOR / BOLA / BFLA | auth-sec, idor-broken-object-authorization |
| Login, reset, 2FA, sessions | Auth bypass / JWT / OAuth | auth-sec |
| Multi-step money, coupons, inventory, approval | Business logic / race | business-logic-vuln |
| MongoDB / JSON query syntax | NoSQL | nosql-injection |
| CLI tools, image processing, importers | Command injection | cmdi-command-injection |
| HTTP parse / front-back framing mismatch | Request smuggling | request-smuggling |
Node JSON / controllable __proto__ | Prototype pollution | prototype-pollution |
PHP weak compare / 0e hash | Type juggling | type-juggling |
| Repeated param names / WAF-app parse mismatch | HPP | http-parameter-pollution |
| One-time coupon / inventory / reset / invite | Race | race-condition |
| XML/XSLT templates | XSLT | xslt-injection |
.git / .svn / .env / backups / public buckets | Source leak | SOURCE_LEAK.md |
| CSV/Excel export | CSV formula | csv-formula-injection |
| WebSocket upgrade | WebSocket | websocket-security |
| Internal package names | Dependency confusion | dependency-confusion |
| Business API returns 401/403 | Path / method / header bypass | 401-403-bypass-techniques |
| Public middleware admin / default ports | Default creds, debug, version defects | unauthorized-access-common-services |
| Chat assistant with command tools | Does the tool actually execute | llm-prompt-injection |
| File upload / preview / convert | Upload chain — do not stop at store+download | upload-insecure-files |
| GraphQL / OAuth JWT / gateway | Matching specialty; tick done or write N/A | api-sec, jwt-oauth-token-attacks |
Opening one check class does not mean firing only that one shot. Walk the rest of the matrix.
Step 3: Spend effort in this order
Full pass/fail rules: TEST_MATRIX.md. Default order:
- Unauthenticated access to another user, tenant, or subject
- Auth takeover (issue session, reset, rebind, swap ticket) — in-session or password change counts
- Swap object identifiers (any field name:
id/userId/tenantId/fileKey/openid/ ciphertext PK) - With a session, walk the object graph: list → detail → attachment/export/approval, then writes and business logic
- Injection / SSRF / XSS / command or template execution only on surfaces that show a diff
- Salts, hardcoded keys, demo accounts in pages and scripts
Do not stop on a half-chain. Upload that stores, OTP that sends, or a copied secret string is not done. Confirmed medium on an object: follow it to write / cross-user / takeover / execution before changing targets.
A full "please log in" with no business fields is not an injection surface. Empty list, error, and timeout are not "please log in".
Finish the current asset cluster before expanding.
R1. Impact, not compliance
Shortest path to influential control first. Each candidate: can the attacker harm a real user or system now? The report narrative is the attack chain; CVSS is an appendix. Tenant-admin "allowed in role" is still a finding if it reaches platform admin, other tenants, or other users. Rank findings with the impact ladder in RED_TEAM.md; layer 7 (pure compliance) is appendix-only.
R5. Source leak: mine the clue to the end
Do not stop at ".git exposed" or "repo is public". SOURCE_LEAK.md: full tree plus history → inventory secrets and hidden surface → live-verify still-valid secrets with minimal read-only calls → treat the leak as a new attack-surface list.
R6. Code audit: sink→source, or source forward
CODE_AUDIT.md. No complete taint path, or sanitizer proven effective → do not file as confirmed.
R7. Middleware audit is document-driven
Read official docs for the exact major version, build a checklist, leave a trace per item. A middleware conclusion with no comparison table is unfinished.
Blue quality gate (when the primary role is blue)
Success is shorter dwell time, not close-rate. Details: BLUE_TEAM.md.
- B1. Ask first whether this loses data, privilege, or the business now. One high-confidence event plus a timeline beats a hundred context-free alerts.
- B2. Alert fatigue is the main risk. Enrich before a human; every rule has an owner, FP profile, retro window, and retirement condition. Six months silent → check the log source first.
- B3. Containment defaults to reversible. Preserve evidence, then contain, then eradicate. Wiping logs is not containment.
- B4. Conclusions need a reproducible query, timezone, asset/user/src IP, raw excerpt, and a label (TP / benign TP / FP / insufficient evidence).
- B5. Expand the same user, host, IP, token, hash inside the window. Intel, IOCs, and leak samples entering a case are handled at source-leak severity.
- B6. Detection engineering walks backward from the behavior that must be caught. Strict high-confidence rules first. Quality gate in BLUE_TEAM.md.
- B7. IR follows an approved playbook. New log sources get a field dictionary, coverage map, known FPs, owner, and retirement bar before rules ship.
4. Core Skill Map
If the full repository is present, prefer these together. Previously separate mini skills (payload-selection, brute-selection) were merged back into their main skills.
- Attack Surface Mapping · Recon and Methodology
- XSS · SQLi · SSRF · XXE · SSTI
- IDOR · CMDi · Path Traversal / LFI · CSRF
- API Security Router · JWT / OAuth · OAuth / OIDC · SAML · Auth Bypass
- Business Logic · Upload · NoSQL · Request Smuggling
- Prototype Pollution · Type Juggling · HPP · Race
- XSLT · Insecure SCM · CSV Formula · WebSocket · Dependency Confusion
- CORS · Ghost Bits Cast · 401/403 Bypass · Common Services
5. High-Value Expert Intuitions
Points baseline models miss that hit often in real bounty work:
- The same filter is reused across pages: one bypass usually ports.
- Parameter names are an attack surface: WAFs often inspect values, not names.
- Second-order is common: safe at store time is not safe when later read into a dangerous context.
- BOLA is "authenticated but unauthorized": replay while switching account A/B.
- Older API versions miss patches: fixing v2 does not retire v1.
- Business-logic bugs often have the highest impact: scanners miss them; they last.
- Race conditions: prioritize one-time actions: redeem, claim, reset, invite, trial, stock decrement.
- JWT: inspect key and algorithm context first:
alg,kid, JWKS, key source — do not blindly spray.
6. Output Standard
Default three layers by audience:
- Decision: what happened, impact, what to do now (one page)
- Technical: attack chain or event timeline, repro or query, evidence
- Improvement: fix / detection / log gap / process gap, each with owner and verification
Use templates in EVIDENCE_REPORT.md. Medium and above: write to disk immediately. Severe: notify the authorized contact immediately.
Two gates before a finding is "confirmed":
- Session-attribution gate: if the breaking request carried a session, write IDOR/auth — not "anonymous unauthorized".
- Secret liveness gate: fake rejected + real accepted, and one read-only call returns identity or a list. Otherwise it is a clue.
7. Anti-patterns
- Scanner output as a pentest report; CVSS in place of business impact; filing unexploitable theory to pad count
- Reporting
.gitor a secret string as mere info-leak; code audit that lists dangerous function names without source→sink - Middleware conclusions from memory, no official-doc comparison
- Spraying passwords before reading lockout policy; one quote per path as "injection done"
- Stopping at upload-stores, OTP-sends, or copied secret
- Writing a session finding as anonymous unauthorized
- Scanning with an empty portrait, or a script that extracted only paths
- Pouring the full matrix into the same "please log in" response
- Blue team measured by close-rate; marking under-evidenced alerts FP and forgetting them; shipping rules never tested on real logs; wiping the only evidence during containment
- Designing a "secure" flow nobody can use, forcing shadow IT
- Pretending an unlisted field surface is not there
- Treating anything this file omitted as forbidden
Suggested Prompts
- "I only have this URL; draw the attack surface from the application before testing."
- "Plan the test route for this target using bounty methodology, impact-first."
- "This is a REST API; prioritize BOLA, BFLA, mass assignment, and JWT."
- "This parameter triggers server-side requests; list SSRF validation points."
- "Payment / coupon / inventory flow: business logic and race first."
- "I only see login and password-reset: Auth Bypass + OAuth/JWT + CSRF."
- "Audit this repo sink-to-source; no finding without a taint path."
- "
.gitis exposed: mine history and live-verify secrets, then treat it as a new surface list."
Installation Notes
Recommended skill name: hack
Search keywords: HackSkills, HACKING SKILLS, bug bounty, security engineer ops
Guidelines
- Route by target type and observed behavior, not random payload enumeration.
- Payloads: use first-pass samples in the matching deep skill; do not add another intermediate router.
- Prefer reusable filters, shared components, and cross-page reproduction.
- Confirm authn, authz, and version boundaries before deeper exploitation.
- Keep the process explainable, auditable, and reproducible.
- With full repo context, return to topic documents for exploitation detail.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

