[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GPHH00HTVTS1RBD4FPT21J":3,"skill-same:01M6GPHH00HTVTS1RBD4FPT21J":104},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6GPHH00HTVTS1RBD4FPT21J","security-audit",null,"Comprehensive security audit of any codebase. Maps the project's stack, scans for hardcoded secrets, vulnerable dependencies, injection flaws, auth\u002Fauthz bugs, weak crypto, misconfigurations, container\u002FIaC risks, and data exposure, then writes a prioritized SECURITY-AUDIT.md report with file:line evidence, CWE mapping, and fix recommendations. Use when the user asks for a security audit, security review, vulnerability scan, pentest prep, or project hardening.","jiayaoqijia\u002Fcryptoskill","jiayaoqijia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1453879?v=4","01M6GMYTX7Q7S504VC6E756ENR","YQ","01M6GMYV1QKJ1CC75MTTGT9PR0",81,"MIT","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-security-audit\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-security-audit\u002FSKILL.md",[],[20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,5,36,37,38,39],"security","audit","security audit","when","review","mapping","line","recommendations","project","maps","evidence","pentest","fix","stack","secrets","vulnerability","injection","data","security review","auth","2026-11-10 10:12:30",false,"---\nname: security-audit\ndescription: Comprehensive security audit of any codebase. Maps the project's stack, scans for hardcoded secrets, vulnerable dependencies, injection flaws, auth\u002Fauthz bugs, weak crypto, misconfigurations, container\u002FIaC risks, and data exposure, then writes a prioritized SECURITY-AUDIT.md report with file:line evidence, CWE mapping, and fix recommendations. Use when the user asks for a security audit, security review, vulnerability scan, pentest prep, or project hardening.\nlicense: MIT\n---\n\n# Security Audit\n\nFull-project, read-only security review that ends in a written report. Works for any language\u002Fstack.\n\n## Ground rules\n\n- **Read-only.** Never modify, delete, move, or \"fix\" files. Never run destructive or mutating commands. Never actually exploit a finding — reasoning about exploitability on paper is enough.\n- **Evidence or it didn't happen.** Every finding must cite `path\u002Ffile.ext:line` and a short code excerpt you actually read.\n- **State the falsifier.** A finding is not complete until it names the near-miss condition you ruled out and HOW you ruled it out (\"this `SharedPreferences` hit is not the `encryptedSharedPreferences:` option — the `.getInstance` call writes a token\"). A hit you cannot falsify is a lead, not a finding: read more context or mark it not-assessed.\n- **Verify before reporting.** Read surrounding context to kill false positives (test files, examples, fixtures, obviously-fake values).\n- **No network required**, but if network is available, the `dependency-vulns` and `cve-research` skills use live databases.\n\n## Mode: fix verification (re-audit)\n\nUse when the user asks to \"verify the fixes\", \"re-audit\", \"check what's fixed\", or an existing `SECURITY-AUDIT.md` is present from a prior run. Never silently re-scan from zero when prior findings exist — verification comes first.\n\n1. **Load the prior report** (`SECURITY-AUDIT.md` in project root). If missing, run the normal flow.\n2. **Verify each prior finding** by reading the cited `file:line` (and its function\u002Froute context):\n   - **FIXED** — the offending code is gone or the defense is present (parameterized, allowlisted, guarded, rotated secret + scrubbed history)\n   - **STILL PRESENT** — evidence unchanged\n   - **MOVED \u002F REGRESSED** — code moved: re-cite the new `file:line`; if the \"fix\" introduced a new flaw, that's a new finding\n   - Secrets: FIXED only after rotation evidence — removing the string from HEAD is not a fix (history + old deployments keep it)\n3. **Then scan for NEW findings** in changed code since the prior report (`git diff \u003Cprior-commit>..HEAD` if the report records a commit) — full re-scan only if the user asks.\n4. **Rewrite `SECURITY-AUDIT.md`**: per-finding status line (`FIXED` \u002F `STILL PRESENT`, with the re-checked citation), a summary table (fixed n \u002F open n \u002F new n), and new findings appended with fresh SEC-NNN ids. Keep ids stable across runs — SEC-004 stays SEC-004 whether open or fixed.\n5. Verbal summary: fixed count, still-open worst issue, anything the fix broke.\n\n## Mode: incremental (PR \u002F diff) audit — catch gaps when they land\n\nUse when the user says \"audit this PR \u002F branch \u002F these commits\" or hands you a diff — no prior `SECURITY-AUDIT.md` needed. Early-stage math: a gap caught in the PR costs an hour; caught at ship time it costs a chain.\n\n1. Scope the delta (read-only):\n   ```bash\n   bash ..\u002Fsecurity-audit\u002Fscripts\u002Fpr_diff_scope.sh \u003Cbase-ref>   # default origin\u002Fmain\n   ```\n   It prints BASE, changed files, and which sibling skills apply — verify the BASE line resolved to the ref you expected.\n2. Run ONLY the dispatched skills, plus ALWAYS: `..\u002Fsecrets-detection\u002FSKILL.md` over the ADDED lines, and `..\u002Fdependency-vulns\u002FSKILL.md` when any manifest\u002Flockfile changed.\n3. Audit the chain, not the line: a changed route pulls in its controller → model → view; a changed model pulls in every writer. Read the neighborhood of each change.\n4. Delta matrix: disposition every actor×surface cell the delta touches (Completeness gate v2 rules unchanged — a one-file PR still gets its surfaces dispositioned).\n5. Report to `SECURITY-AUDIT-PR.md` in the project root: findings cited in delta code, the delta matrix, census receipts, and a CI verdict line — `VERDICT: BLOCK` if any High+ finding is reachable from unauthenticated input, else `VERDICT: PASS`.\n\n## Phase 0 — Recon: build the security map\n\nDo NOT read every file. Probe cheaply first:\n\n```bash\nrg --files -g '!node_modules' -g '!vendor' -g '!dist' -g '!build' -g '!target' -g '!coverage' | head -100\nrg --files -g 'package.json' -g 'package-lock.json' -g 'yarn.lock' -g 'pnpm-lock.yaml' \\\n   -g 'requirements*.txt' -g 'Pipfile*' -g 'pyproject.toml' -g 'poetry.lock' \\\n   -g 'Gemfile*' -g 'Cargo.toml' -g 'Cargo.lock' -g 'composer.json' -g 'composer.lock' \\\n   -g 'go.mod' -g 'go.sum' -g 'pom.xml' -g '*.csproj' -g 'pubspec.yaml' -g 'mix.exs'\nrg --files -g 'Dockerfile*' -g 'docker-compose*' -g '*.tf' -g '*.yaml' -g '*.yml' -g '.env*' -g '*.conf' -g 'nginx*' -g '*.toml'\ngit log --oneline -5 2>\u002Fdev\u002Fnull; git remote -v 2>\u002Fdev\u002Fnull\n```\n\nRecord in the report's \"Stack\" section:\n- Languages + frameworks + versions (from manifests and config)\n- Entry points (HTTP handlers, CLI mains, background jobs, webhooks)\n- Infra: Docker\u002FK8s\u002FTerraform\u002FCI configs, cloud providers\n- Auth mechanism, database(s), external services\n- Repo size class (if huge, sample smartly — prioritize first-party code over vendored\u002Fgenerated code)\n\nThen census the coverage targets — they seed the Phase 2 matrix:\n\n```bash\nrg -n \"role|is_admin|isAdmin|middleware\\(|policy|Gate::|->can\\(\" app\u002F src\u002F routes\u002F config\u002F 2>\u002Fdev\u002Fnull | head -25\nrg -n -i \"webhook|queue|job|listener|command|upload|admin\" app\u002F src\u002F routes\u002F 2>\u002Fdev\u002Fnull | head -15\n```\n\n- **ACTORS** — every identity the code distinguishes: anonymous\u002Fpublic, authenticated user, staff\u002Finstructor\u002Fmoderator, admin\u002Ftenant-admin, service\u002Fwebhook caller, third-party integration. Record all, even \"boring\" ones.\n- **SURFACES** — every place code meets an actor: public pages\u002Fcatalog, auth endpoints, authenticated app, admin panel, moderation queues, uploads\u002Fdownloads, webhooks, background jobs, emails, external APIs.\n- If the project root has a `THREAT-MODEL.md` (from `..\u002Fdesign-threat-review\u002FSKILL.md`), load it: its actor×surface matrix is your seed and its threat rows are checks to disposition — design and audit share one artifact.\n\n## Phase 1 — Deep scans\n\nFor each applicable domain, **read the sibling skill and follow it** (paths are relative to this skill's directory):\n\n| If the project has... | Read and follow |\n|---|---|\n| Any source code at all | `..\u002Fsecrets-detection\u002FSKILL.md` |\n| Any dependency manifest | `..\u002Fdependency-vulns\u002FSKILL.md` |\n| Input handling \u002F queries \u002F templates \u002F subprocesses | `..\u002Finjection-flaws\u002FSKILL.md` |\n| GraphQL server \u002F `.graphql` schema files | `..\u002Fgraphql-security\u002FSKILL.md` |\n| LLM\u002FAI stack (langchain\u002Fllamaindex\u002Fautogen, openai\u002Fanthropic SDKs, model files `.pkl\u002F.pt\u002F.gguf\u002F.safetensors`) | `..\u002Fllm-security\u002FSKILL.md` |\n| Android\u002FiOS files (`AndroidManifest.xml`, `Info.plist`, mobile code) | `..\u002Fmobile-security\u002FSKILL.md` |\n| Flutter\u002FDart project (`pubspec.yaml` with a flutter SDK entry, `lib\u002F*.dart`) | `..\u002Fflutter-security\u002FSKILL.md` — load WITH mobile-security (it owns the manifest half) |\n| Native Android app code (`app\u002Fsrc\u002Fmain` Kotlin\u002FJava, `com.android.application` in build.gradle) | `..\u002Fandroid-code-security\u002FSKILL.md` — load WITH mobile-security (manifest half) |\n| Laravel\u002FPHP project (`composer.json` with laravel\u002Fframework, `artisan`, Blade views) | `..\u002Flaravel-security\u002FSKILL.md` |\n| Django\u002FPython project (`manage.py`, `settings.py`, Django in requirements) | `..\u002Fdjango-security\u002FSKILL.md` |\n| Rails project (`Gemfile` with rails, `app\u002Fcontrollers`) | `..\u002Frails-security\u002FSKILL.md` |\n| Spring\u002FJava project (`pom.xml`\u002F`build.gradle` with spring dependencies) | `..\u002Fspring-security\u002FSKILL.md` |\n| Login, sessions, tokens, permissions | `..\u002Fauth-review\u002FSKILL.md` |\n| Stateful business flows (order\u002Fpayment\u002Finvoice, checkout, submit\u002Fapprove\u002Fpublish, signup\u002Fverify, refunds, provisioning) | `..\u002Fflow-security\u002FSKILL.md` — load it BEFORE route-level grepping for transactional apps |\n| Course\u002Fe-learning platform (courses, lessons, enrollments, cohorts, previews, subscriptions) | `..\u002Fcourse-platform-security\u002FSKILL.md` — persona-driven (public\u002Fstudent\u002Fadmin) |\n| Spec\u002FPRD\u002Fdesign doc shared BEFORE implementation (no or early code) | `..\u002Fdesign-threat-review\u002FSKILL.md` — produces THREAT-MODEL.md; at audit time, load it as the Phase 0 matrix seed |\n| Crypto, hashing, tokens, certs | `..\u002Fcrypto-review\u002FSKILL.md` |\n| HTTP servers, CORS, headers, cookies, CI configs | `..\u002Fconfig-hardening\u002FSKILL.md` |\n| Dockerfile \u002F compose \u002F K8s \u002F Terraform | `..\u002Fcontainer-iac-security\u002FSKILL.md` |\n| PII, secrets handling, logging, file output | `..\u002Fdata-exposure\u002FSKILL.md` |\n\nThen, if network is available: `..\u002Fcve-research\u002FSKILL.md` for live CVE checks against the exact stack versions found in Phase 0.\n\nScan hygiene:\n- Always exclude `node_modules\u002F vendor\u002F dist\u002F build\u002F target\u002F .git\u002F __pycache__\u002F .venv\u002F venv\u002F coverage\u002F` and minified `*.min.js`\n- Prioritize: auth code > input handlers > data access > config > everything else\n- For repos > ~2k files, scan by category (auth files first, then routes\u002Fcontrollers, then DB layers) rather than exhaustively\n- **Enumeration discipline:** sampling is for prioritizing WHICH skill runs next — inside a skill's check, its grep output is a census. Count the hits (`wc -l`), disposition every line (finding \u002F verified-safe \u002F not-assessed), never `head`-truncate an inventory. A pattern that mixes frameworks' noise (React `!!` vs Blade `{!!`) must be globbed to the framework's file type first. An unexamined tail is an unaudited tail.\n- **Census receipts:** for every census scan, record `hits=N, dispositioned=N` (a hit is dispositioned when you have read it and assigned finding \u002F verified-safe \u002F not-assessed). Receipts ship in the report's Census receipts table; any census with dispositioned \u003C hits means the audit is INCOMPLETE and the report must say so in its first line.\n\n## Phase 1.5 — Optional tool bridges (skip silently if absent)\n\n```bash\nbash ..\u002Fsecurity-audit\u002Fscripts\u002Fprobe_tools.sh .\n```\n\nIf a scanner is installed, run its probe line (all read-only) and ingest the results alongside manual scans:\n\n| Tool | Catches that greps miss | Ingestion rule |\n|---|---|---|\n| gitleaks \u002F trufflehog | secrets in **full git history** (deleted-then-rotated keys are invisible to worktree regex) | report as `..\u002Fsecrets-detection\u002FSKILL.md` findings; verify before CRITICAL |\n| semgrep | cross-file taint flows, language-semantic sinks | treat hits as leads — re-verify `file:line` and source→sink yourself; drop tool-only findings that fail context triage |\n| osv-scanner \u002F npm audit \u002F pip-audit | offline dep CVEs | merge + dedupe with the OSV API results from `..\u002Fdependency-vulns\u002FSKILL.md` |\n| checkov \u002F kube-linter \u002F tfsec | IaC misconfigs beyond the grep set | map to `..\u002Fcontainer-iac-security\u002FSKILL.md` categories |\n\nRules: tools are leads, not verdicts — every reported finding still needs evidence you read yourself. Never install tools on the user's machine; never run a tool in a mode that writes\u002Fmodifies. No tools found → proceed with the manual phases exactly as below.\n\n## Phase 2 — Triage\n\nRate each finding:\n\n| Severity | Meaning |\n|---|---|\n| **Critical** | Directly exploitable now: RCE, SQLi on reachable input, auth bypass, leaked prod secrets, known-CVE-with-public-exploit in the actual dependency version |\n| **High** | Exploitable with preconditions: stored XSS, IDOR on sensitive objects, weak password hashing, exposed admin endpoints |\n| **Medium** | Defense-in-depth failures: missing headers, verbose errors, wildcard CORS with credentials, weak randomness in non-security context |\n| **Low** | Hygiene: outdated-but-patched deps, missing lockfile, debug flags in non-prod config |\n\nAlso tag **Likelihood** (reachable from unauthenticated input? internal only?) and **Effort to fix** (S\u002FM\u002FL).\n\n**Falsifier gate:** every reported finding must carry the near-miss condition it ruled out (see Ground rules). A finding without a falsifier line is not dispositioned — it is a lead, and leads don't go in the Findings table.\n\n**Completeness gate v2 — disposition everything, skip nothing.** Build the coverage matrix from the Phase 0 census: every ACTOR × every SURFACE cell gets exactly one disposition:\n\n- ✅ **FINDING** — a finding covers this cell (cite SEC-NNN)\n- ? **VERIFIED-SAFE** — you checked it and a control holds (name the control)\n- ⬜ **NOT-ASSESSED** — you didn't get to it; the report lists these cells by name\n\nGate rules:\n1. Walk `references\u002Fowasp-top10.md` top to bottom — each category maps to matrix cells or carries its own disposition. Never skip silently.\n2. **Moderation\u002Fqueue rule**: any artifact an unprivileged actor creates that a privileged actor opens (reviews, tickets, messages, submissions, uploaded filenames) gets its own cell — that is where student→admin XSS lives (see `..\u002Fcourse-platform-security\u002FSKILL.md` §6.5 and laravel-security Step 4's privilege-direction table).\n3. A cell with no disposition means the audit is INCOMPLETE — not small. Ship the full matrix in the report; untested surface is unreported risk.\n\n## Phase 2.5 — Chain analysis (compound impact)\n\nIndividual severities understate real risk — pentest-grade reports show how findings COMBINE. Before writing the report, walk the finding list and try to complete known chains:\n\n| Chain | Components | Compound impact |\n|---|---|---|\n| SSRF → metadata → creds | SSRF + IMDSv1\u002Fno hop limit + instance role | Cloud account takeover |\n| XSS → session theft | any XSS + token in localStorage\u002FsessionStorage | Account takeover |\n| Moderation-queue XSS | unprivileged-submitted content + raw render in a staff detail view | Staff\u002Fadmin account takeover (the approval workflow itself is the delivery mechanism) |\n| Redirect → code theft | open redirect + OAuth\u002FSSO callback carrying code\u002Ftoken in URL | Account takeover |\n| Upload → RCE | upload-to-webroot + parse gadget (image\u002Fphp) | Server RCE |\n| Pollution → RCE | prototype pollution + gadget (child_process\u002Ftemplate env) | Server RCE |\n| Enumeration → stuffing | user enumeration + no rate limit + weak policy | Mass compromise |\n| CI → supply chain | PR-title injection \u002F pull_request_target + secrets | Repo\u002Fpackage takeover |\n| IDOR → privesc | IDOR + mass assignment (role\u002FisAdmin) | Admin access |\n| Flow-state confusion | unguarded transition (F1\u002FF5) + terminal artifact (invoice\u002Frefund\u002Fcredit) | Money theft, cross-user invoicing |\n| Webhook spoof → paid | unverified callback (F8) + status write | Free goods\u002Fservices |\n| TLS-off + spoof | verify=False + trusted-header authz on internal hop | Auth bypass |\n| Log forging → cover | CWE-117 + audit-gap findings | Undetectable attacks |\n\nRules: a Medium that COMPLETES a Critical chain gets tagged `chain-critical` (its standalone severity stays, the report shows both). List completed chains in the Summary section as one-liners — \"SSRF + IMDSv1 → role creds → account takeover\". Chains you can ALMOST complete (one component missing) go under \"What would make this worse\" — that's prioritized hardening advice, not a finding.\n\n## Phase 3 — Report\n\nWrite `SECURITY-AUDIT.md` in the project root (this is the only file you create). Compute the knowledge-base header line with `ls ..\u002Fcve-research\u002Fvuln-db\u002Fentries\u002F | wc -l` and the newest filename's date prefix — it shows the user how fresh their checkout is:\n\n```markdown\n# Security Audit — \u003Cproject>\nDate: YYYY-MM-DD | Scope: \u003Ccommit hash \u002F \"working tree\"> | Auditor: security-skills v$(git describe --tags --always 2>\u002Fdev\u002Fnull || echo dev)\nKnowledge base: \u003CN> vuln-db entries (newest YYYY-MM-DD) | Live checks: OSV.dev + CISA KEV\n\n## Stack\n\u003C2–5 lines from Phase 0>\n\n## Summary\n| Severity | Count |\n|---|---|\n| Critical | n | ...\n\n## Findings\n### SEC-001: \u003Cshort title> — CRITICAL\n- **Where:** `path\u002Ffile.ext:42`\n- **CWE:** CWE-89 (SQL Injection)\n- **Evidence:**\n  ```\u003Clang>\n  \u003Cthe actual offending lines>\n  ```\n- **Falsifier:** \u003Cthe near-miss condition ruled out and the check that ruled it out — e.g. \"verified NOT the `encryptedSharedPreferences:` safe option: this is the `.getInstance` call site storing a token\">\n- **Impact:** what an attacker gains, concretely\n- **Fix:** specific, actionable change (show corrected code when short)\n- **References:** CWE \u002F CVE \u002F OWASP link if applicable\n\n### SEC-002: ...\n\n## What looks good\n\u003Ccontrols that are done right — honest positives>\n\n## Coverage matrix (actor × surface — from the Phase 0 census)\n| Surface ↓ · Actor → | anonymous | user | staff\u002Fmod | admin |\n|---|---|---|---|---|\n| Public catalog | ? status+visibility filter | n\u002Fa | n\u002Fa | n\u002Fa |\n| Review moderation queue | n\u002Fa | ✅ SEC-011 | ? list view escaped | ? role middleware |\n\n\u003Cevery cell: ✅ SEC-NNN \u002F ? verified-safe + the control \u002F ⬜ not-assessed \u002F n-a>\n\n## Not assessed\n- \u003Cactor × surface cell> — why, and the scan that would close it\n\n## Census receipts\n| Census | hits | dispositioned |\n|---|---|---|\n| Blade raw echoes (glob *.blade.php) | 206 | 206 |\n\n## Recommended fix order\n1. SEC-001 (critical, small effort) → ...\n```\n\nEnd the session with a 3–5 line verbal summary: total counts, the single worst issue, and the first action to take.\n\n## Notes\n\n- If the user asks to **fix** findings afterward, that's fine — but do it as a separate, explicitly-approved step after the report is delivered.\n- If a finding is uncertain, report it as \"Possible — needs verification\" with what to check, rather than silently dropping it.\n","# Security Audit\n\nFull-project, read-only security review that ends in a written report. Works for any language\u002Fstack.\n\n## Ground rules\n\n- **Read-only.** Never modify, delete, move, or \"fix\" files. Never run destructive or mutating commands. Never actually exploit a finding — reasoning about exploitability on paper is enough.\n- **Evidence or it didn't happen.** Every finding must cite `path\u002Ffile.ext:line` and a short code excerpt you actually read.\n- **State the falsifier.** A finding is not complete until it names the near-miss condition you ruled out and HOW you ruled it out (\"this `SharedPreferences` hit is not the `encryptedSharedPreferences:` option — the `.getInstance` call writes a token\"). A hit you cannot falsify is a lead, not a finding: read more context or mark it not-assessed.\n- **Verify before reporting.** Read surrounding context to kill false positives (test files, examples, fixtures, obviously-fake values).\n- **No network required**, but if network is available, the `dependency-vulns` and `cve-research` skills use live databases.\n\n## Mode: fix verification (re-audit)\n\nUse when the user asks to \"verify the fixes\", \"re-audit\", \"check what's fixed\", or an existing `SECURITY-AUDIT.md` is present from a prior run. Never silently re-scan from zero when prior findings exist — verification comes first.\n\n1. **Load the prior report** (`SECURITY-AUDIT.md` in project root). If missing, run the normal flow.\n2. **Verify each prior finding** by reading the cited `file:line` (and its function\u002Froute context):\n   - **FIXED** — the offending code is gone or the defense is present (parameterized, allowlisted, guarded, rotated secret + scrubbed history)\n   - **STILL PRESENT** — evidence unchanged\n   - **MOVED \u002F REGRESSED** — code moved: re-cite the new `file:line`; if the \"fix\" introduced a new flaw, that's a new finding\n   - Secrets: FIXED only after rotation evidence — removing the string from HEAD is not a fix (history + old deployments keep it)\n3. **Then scan for NEW findings** in changed code since the prior report (`git diff \u003Cprior-commit>..HEAD` if the report records a commit) — full re-scan only if the user asks.\n4. **Rewrite `SECURITY-AUDIT.md`**: per-finding status line (`FIXED` \u002F `STILL PRESENT`, with the re-checked citation), a summary table (fixed n \u002F open n \u002F new n), and new findings appended with fresh SEC-NNN ids. Keep ids stable across runs — SEC-004 stays SEC-004 whether open or fixed.\n5. Verbal summary: fixed count, still-open worst issue, anything the fix broke.\n\n## Mode: incremental (PR \u002F diff) audit — catch gaps when they land\n\nUse when the user says \"audit this PR \u002F branch \u002F these commits\" or hands you a diff — no prior `SECURITY-AUDIT.md` needed. Early-stage math: a gap caught in the PR costs an hour; caught at ship time it costs a chain.\n\n1. Scope the delta (read-only):\n   ```bash\n   bash ..\u002Fsecurity-audit\u002Fscripts\u002Fpr_diff_scope.sh \u003Cbase-ref>   # default origin\u002Fmain\n   ```\n   It prints BASE, changed files, and which sibling skills apply — verify the BASE line resolved to the ref you expected.\n2. Run ONLY the dispatched skills, plus ALWAYS: `..\u002Fsecrets-detection\u002FSKILL.md` over the ADDED lines, and `..\u002Fdependency-vulns\u002FSKILL.md` when any manifest\u002Flockfile changed.\n3. Audit the chain, not the line: a changed route pulls in its controller → model → view; a changed model pulls in every writer. Read the neighborhood of each change.\n4. Delta matrix: disposition every actor×surface cell the delta touches (Completeness gate v2 rules unchanged — a one-file PR still gets its surfaces dispositioned).\n5. Report to `SECURITY-AUDIT-PR.md` in the project root: findings cited in delta code, the delta matrix, census receipts, and a CI verdict line — `VERDICT: BLOCK` if any High+ finding is reachable from unauthenticated input, else `VERDICT: PASS`.\n\n## Phase 0 — Recon: build the security map\n\nDo NOT read every file. Probe cheaply first:\n\n```bash\nrg --files -g '!node_modules' -g '!vendor' -g '!dist' -g '!build' -g '!target' -g '!coverage' | head -100\nrg --files -g 'package.json' -g 'package-lock.json' -g 'yarn.lock' -g 'pnpm-lock.yaml' \\\n   -g 'requirements*.txt' -g 'Pipfile*' -g 'pyproject.toml' -g 'poetry.lock' \\\n   -g 'Gemfile*' -g 'Cargo.toml' -g 'Cargo.lock' -g 'composer.json' -g 'composer.lock' \\\n   -g 'go.mod' -g 'go.sum' -g 'pom.xml' -g '*.csproj' -g 'pubspec.yaml' -g 'mix.exs'\nrg --files -g 'Dockerfile*' -g 'docker-compose*' -g '*.tf' -g '*.yaml' -g '*.yml' -g '.env*' -g '*.conf' -g 'nginx*' -g '*.toml'\ngit log --oneline -5 2>\u002Fdev\u002Fnull; git remote -v 2>\u002Fdev\u002Fnull\n```\n\nRecord in the report's \"Stack\" section:\n- Languages + frameworks + versions (from manifests and config)\n- Entry points (HTTP handlers, CLI mains, background jobs, webhooks)\n- Infra: Docker\u002FK8s\u002FTerraform\u002FCI configs, cloud providers\n- Auth mechanism, database(s), external services\n- Repo size class (if huge, sample smartly — prioritize first-party code over vendored\u002Fgenerated code)\n\nThen census the coverage targets — they seed the Phase 2 matrix:\n\n```bash\nrg -n \"role|is_admin|isAdmin|middleware\\(|policy|Gate::|->can\\(\" app\u002F src\u002F routes\u002F config\u002F 2>\u002Fdev\u002Fnull | head -25\nrg -n -i \"webhook|queue|job|listener|command|upload|admin\" app\u002F src\u002F routes\u002F 2>\u002Fdev\u002Fnull | head -15\n```\n\n- **ACTORS** — every identity the code distinguishes: anonymous\u002Fpublic, authenticated user, staff\u002Finstructor\u002Fmoderator, admin\u002Ftenant-admin, service\u002Fwebhook caller, third-party integration. Record all, even \"boring\" ones.\n- **SURFACES** — every place code meets an actor: public pages\u002Fcatalog, auth endpoints, authenticated app, admin panel, moderation queues, uploads\u002Fdownloads, webhooks, background jobs, emails, external APIs.\n- If the project root has a `THREAT-MODEL.md` (from `..\u002Fdesign-threat-review\u002FSKILL.md`), load it: its actor×surface matrix is your seed and its threat rows are checks to disposition — design and audit share one artifact.\n\n## Phase 1 — Deep scans\n\nFor each applicable domain, **read the sibling skill and follow it** (paths are relative to this skill's directory):\n\n| If the project has... | Read and follow |\n|---|---|\n| Any source code at all | `..\u002Fsecrets-detection\u002FSKILL.md` |\n| Any dependency manifest | `..\u002Fdependency-vulns\u002FSKILL.md` |\n| Input handling \u002F queries \u002F templates \u002F subprocesses | `..\u002Finjection-flaws\u002FSKILL.md` |\n| GraphQL server \u002F `.graphql` schema files | `..\u002Fgraphql-security\u002FSKILL.md` |\n| LLM\u002FAI stack (langchain\u002Fllamaindex\u002Fautogen, openai\u002Fanthropic SDKs, model files `.pkl\u002F.pt\u002F.gguf\u002F.safetensors`) | `..\u002Fllm-security\u002FSKILL.md` |\n| Android\u002FiOS files (`AndroidManifest.xml`, `Info.plist`, mobile code) | `..\u002Fmobile-security\u002FSKILL.md` |\n| Flutter\u002FDart project (`pubspec.yaml` with a flutter SDK entry, `lib\u002F*.dart`) | `..\u002Fflutter-security\u002FSKILL.md` — load WITH mobile-security (it owns the manifest half) |\n| Native Android app code (`app\u002Fsrc\u002Fmain` Kotlin\u002FJava, `com.android.application` in build.gradle) | `..\u002Fandroid-code-security\u002FSKILL.md` — load WITH mobile-security (manifest half) |\n| Laravel\u002FPHP project (`composer.json` with laravel\u002Fframework, `artisan`, Blade views) | `..\u002Flaravel-security\u002FSKILL.md` |\n| Django\u002FPython project (`manage.py`, `settings.py`, Django in requirements) | `..\u002Fdjango-security\u002FSKILL.md` |\n| Rails project (`Gemfile` with rails, `app\u002Fcontrollers`) | `..\u002Frails-security\u002FSKILL.md` |\n| Spring\u002FJava project (`pom.xml`\u002F`build.gradle` with spring dependencies) | `..\u002Fspring-security\u002FSKILL.md` |\n| Login, sessions, tokens, permissions | `..\u002Fauth-review\u002FSKILL.md` |\n| Stateful business flows (order\u002Fpayment\u002Finvoice, checkout, submit\u002Fapprove\u002Fpublish, signup\u002Fverify, refunds, provisioning) | `..\u002Fflow-security\u002FSKILL.md` — load it BEFORE route-level grepping for transactional apps |\n| Course\u002Fe-learning platform (courses, lessons, enrollments, cohorts, previews, subscriptions) | `..\u002Fcourse-platform-security\u002FSKILL.md` — persona-driven (public\u002Fstudent\u002Fadmin) |\n| Spec\u002FPRD\u002Fdesign doc shared BEFORE implementation (no or early code) | `..\u002Fdesign-threat-review\u002FSKILL.md` — produces THREAT-MODEL.md; at audit time, load it as the Phase 0 matrix seed |\n| Crypto, hashing, tokens, certs | `..\u002Fcrypto-review\u002FSKILL.md` |\n| HTTP servers, CORS, headers, cookies, CI configs | `..\u002Fconfig-hardening\u002FSKILL.md` |\n| Dockerfile \u002F compose \u002F K8s \u002F Terraform | `..\u002Fcontainer-iac-security\u002FSKILL.md` |\n| PII, secrets handling, logging, file output | `..\u002Fdata-exposure\u002FSKILL.md` |\n\nThen, if network is available: `..\u002Fcve-research\u002FSKILL.md` for live CVE checks against the exact stack versions found in Phase 0.\n\nScan hygiene:\n- Always exclude `node_modules\u002F vendor\u002F dist\u002F build\u002F target\u002F .git\u002F __pycache__\u002F .venv\u002F venv\u002F coverage\u002F` and minified `*.min.js`\n- Prioritize: auth code > input handlers > data access > config > everything else\n- For repos > ~2k files, scan by category (auth files first, then routes\u002Fcontrollers, then DB layers) rather than exhaustively\n- **Enumeration discipline:** sampling is for prioritizing WHICH skill runs next — inside a skill's check, its grep output is a census. Count the hits (`wc -l`), disposition every line (finding \u002F verified-safe \u002F not-assessed), never `head`-truncate an inventory. A pattern that mixes frameworks' noise (React `!!` vs Blade `{!!`) must be globbed to the framework's file type first. An unexamined tail is an unaudited tail.\n- **Census receipts:** for every census scan, record `hits=N, dispositioned=N` (a hit is dispositioned when you have read it and assigned finding \u002F verified-safe \u002F not-assessed). Receipts ship in the report's Census receipts table; any census with dispositioned \u003C hits means the audit is INCOMPLETE and the report must say so in its first line.\n\n## Phase 1.5 — Optional tool bridges (skip silently if absent)\n\n```bash\nbash ..\u002Fsecurity-audit\u002Fscripts\u002Fprobe_tools.sh .\n```\n\nIf a scanner is installed, run its probe line (all read-only) and ingest the results alongside manual scans:\n\n| Tool | Catches that greps miss | Ingestion rule |\n|---|---|---|\n| gitleaks \u002F trufflehog | secrets in **full git history** (deleted-then-rotated keys are invisible to worktree regex) | report as `..\u002Fsecrets-detection\u002FSKILL.md` findings; verify before CRITICAL |\n| semgrep | cross-file taint flows, language-semantic sinks | treat hits as leads — re-verify `file:line` and source→sink yourself; drop tool-only findings that fail context triage |\n| osv-scanner \u002F npm audit \u002F pip-audit | offline dep CVEs | merge + dedupe with the OSV API results from `..\u002Fdependency-vulns\u002FSKILL.md` |\n| checkov \u002F kube-linter \u002F tfsec | IaC misconfigs beyond the grep set | map to `..\u002Fcontainer-iac-security\u002FSKILL.md` categories |\n\nRules: tools are leads, not verdicts — every reported finding still needs evidence you read yourself. Never install tools on the user's machine; never run a tool in a mode that writes\u002Fmodifies. No tools found → proceed with the manual phases exactly as below.\n\n## Phase 2 — Triage\n\nRate each finding:\n\n| Severity | Meaning |\n|---|---|\n| **Critical** | Directly exploitable now: RCE, SQLi on reachable input, auth bypass, leaked prod secrets, known-CVE-with-public-exploit in the actual dependency version |\n| **High** | Exploitable with preconditions: stored XSS, IDOR on sensitive objects, weak password hashing, exposed admin endpoints |\n| **Medium** | Defense-in-depth failures: missing headers, verbose errors, wildcard CORS with credentials, weak randomness in non-security context |\n| **Low** | Hygiene: outdated-but-patched deps, missing lockfile, debug flags in non-prod config |\n\nAlso tag **Likelihood** (reachable from unauthenticated input? internal only?) and **Effort to fix** (S\u002FM\u002FL).\n\n**Falsifier gate:** every reported finding must carry the near-miss condition it ruled out (see Ground rules). A finding without a falsifier line is not dispositioned — it is a lead, and leads don't go in the Findings table.\n\n**Completeness gate v2 — disposition everything, skip nothing.** Build the coverage matrix from the Phase 0 census: every ACTOR × every SURFACE cell gets exactly one disposition:\n\n- ✅ **FINDING** — a finding covers this cell (cite SEC-NNN)\n- ? **VERIFIED-SAFE** — you checked it and a control holds (name the control)\n- ⬜ **NOT-ASSESSED** — you didn't get to it; the report lists these cells by name\n\nGate rules:\n1. Walk `references\u002Fowasp-top10.md` top to bottom — each category maps to matrix cells or carries its own disposition. Never skip silently.\n2. **Moderation\u002Fqueue rule**: any artifact an unprivileged actor creates that a privileged actor opens (reviews, tickets, messages, submissions, uploaded filenames) gets its own cell — that is where student→admin XSS lives (see `..\u002Fcourse-platform-security\u002FSKILL.md` §6.5 and laravel-security Step 4's privilege-direction table).\n3. A cell with no disposition means the audit is INCOMPLETE — not small. Ship the full matrix in the report; untested surface is unreported risk.\n\n## Phase 2.5 — Chain analysis (compound impact)\n\nIndividual severities understate real risk — pentest-grade reports show how findings COMBINE. Before writing the report, walk the finding list and try to complete known chains:\n\n| Chain | Components | Compound impact |\n|---|---|---|\n| SSRF → metadata → creds | SSRF + IMDSv1\u002Fno hop limit + instance role | Cloud account takeover |\n| XSS → session theft | any XSS + token in localStorage\u002FsessionStorage | Account takeover |\n| Moderation-queue XSS | unprivileged-submitted content + raw render in a staff detail view | Staff\u002Fadmin account takeover (the approval workflow itself is the delivery mechanism) |\n| Redirect → code theft | open redirect + OAuth\u002FSSO callback carrying code\u002Ftoken in URL | Account takeover |\n| Upload → RCE | upload-to-webroot + parse gadget (image\u002Fphp) | Server RCE |\n| Pollution → RCE | prototype pollution + gadget (child_process\u002Ftemplate env) | Server RCE |\n| Enumeration → stuffing | user enumeration + no rate limit + weak policy | Mass compromise |\n| CI → supply chain | PR-title injection \u002F pull_request_target + secrets | Repo\u002Fpackage takeover |\n| IDOR → privesc | IDOR + mass assignment (role\u002FisAdmin) | Admin access |\n| Flow-state confusion | unguarded transition (F1\u002FF5) + terminal artifact (invoice\u002Frefund\u002Fcredit) | Money theft, cross-user invoicing |\n| Webhook spoof → paid | unverified callback (F8) + status write | Free goods\u002Fservices |\n| TLS-off + spoof | verify=False + trusted-header authz on internal hop | Auth bypass |\n| Log forging → cover | CWE-117 + audit-gap findings | Undetectable attacks |\n\nRules: a Medium that COMPLETES a Critical chain gets tagged `chain-critical` (its standalone severity stays, the report shows both). List completed chains in the Summary section as one-liners — \"SSRF + IMDSv1 → role creds → account takeover\". Chains you can ALMOST complete (one component missing) go under \"What would make this worse\" — that's prioritized hardening advice, not a finding.\n\n## Phase 3 — Report\n\nWrite `SECURITY-AUDIT.md` in the project root (this is the only file you create). Compute the knowledge-base header line with `ls ..\u002Fcve-research\u002Fvuln-db\u002Fentries\u002F | wc -l` and the newest filename's date prefix — it shows the user how fresh their checkout is:\n\n```markdown\n# Security Audit — \u003Cproject>\nDate: YYYY-MM-DD | Scope: \u003Ccommit hash \u002F \"working tree\"> | Auditor: security-skills v$(git describe --tags --always 2>\u002Fdev\u002Fnull || echo dev)\nKnowledge base: \u003CN> vuln-db entries (newest YYYY-MM-DD) | Live checks: OSV.dev + CISA KEV\n\n## Stack\n\u003C2–5 lines from Phase 0>\n\n## Summary\n| Severity | Count |\n|---|---|\n| Critical | n | ...\n\n## Findings\n### SEC-001: \u003Cshort title> — CRITICAL\n- **Where:** `path\u002Ffile.ext:42`\n- **CWE:** CWE-89 (SQL Injection)\n- **Evidence:**\n  ```\u003Clang>\n  \u003Cthe actual offending lines>\n  ```\n- **Falsifier:** \u003Cthe near-miss condition ruled out and the check that ruled it out — e.g. \"verified NOT the `encryptedSharedPreferences:` safe option: this is the `.getInstance` call site storing a token\">\n- **Impact:** what an attacker gains, concretely\n- **Fix:** specific, actionable change (show corrected code when short)\n- **References:** CWE \u002F CVE \u002F OWASP link if applicable\n\n### SEC-002: ...\n\n## What looks good\n\u003Ccontrols that are done right — honest positives>\n\n## Coverage matrix (actor × surface — from the Phase 0 census)\n| Surface ↓ · Actor → | anonymous | user | staff\u002Fmod | admin |\n|---|---|---|---|---|\n| Public catalog | ? status+visibility filter | n\u002Fa | n\u002Fa | n\u002Fa |\n| Review moderation queue | n\u002Fa | ✅ SEC-011 | ? list view escaped | ? role middleware |\n\n\u003Cevery cell: ✅ SEC-NNN \u002F ? verified-safe + the control \u002F ⬜ not-assessed \u002F n-a>\n\n## Not assessed\n- \u003Cactor × surface cell> — why, and the scan that would close it\n\n## Census receipts\n| Census | hits | dispositioned |\n|---|---|---|\n| Blade raw echoes (glob *.blade.php) | 206 | 206 |\n\n## Recommended fix order\n1. SEC-001 (critical, small effort) → ...\n```\n\nEnd the session with a 3–5 line verbal summary: total counts, the single worst issue, and the first action to take.\n\n## Notes\n\n- If the user asks to **fix** findings afterward, that's fine — but do it as a separate, explicitly-approved step after the report is delivered.\n- If a finding is uncertain, report it as \"Possible — needs verification\" with what to check, rather than silently dropping it.\n",{"name":5,"license":15,"description":7},"main","3df1d0d67b30ff15236561f8c0f9f06d33f42dfd","skills\u002Fchains\u002Fashrafiucse-security-audit",17,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia","https:\u002F\u002Feth2030.com","Hardcore infra. Building @alt-research and applied cryptography.","2026-11-15 02:28:10",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill security-audit",{"tool":60,"command":61},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill security-audit",{"tool":63,"command":64},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill security-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-security-audit\u002FSKILL.md",true,[68,72,78,82,86,92,96,100],{"path":69,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":16},"LICENSE","许可证",1067,{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fexternal-sources.md","REFERENCE","参考文档",2711,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-security-audit\u002Freferences\u002Fexternal-sources.md",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fmethodology-mirror.md",4573,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-security-audit\u002Freferences\u002Fmethodology-mirror.md",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fowasp-top10.md",3858,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-security-audit\u002Freferences\u002Fowasp-top10.md",{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Fpr_diff_scope.sh","SCRIPT","脚本",2594,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-security-audit\u002Fscripts\u002Fpr_diff_scope.sh",{"path":93,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":94,"sourceHtmlUrl":95},"scripts\u002Fprobe_tools.sh",1585,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-security-audit\u002Fscripts\u002Fprobe_tools.sh",{"path":97,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":98,"sourceHtmlUrl":99},"SOURCE.md",371,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-security-audit\u002FSOURCE.md",{"path":101,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":102,"sourceHtmlUrl":103},"TRUST.auto.yaml",2197,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fashrafiucse-security-audit\u002FTRUST.auto.yaml",[105,114,122,130,138,146],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":113},"01M7DTKCERMV0RNX3HZJP4CZ26","troves","Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say \"Troves\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":118,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":113},"01M7DTK6CJSMGC8KCQHGNYFZBD","trade","Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say \"swap\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":126,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":113},"01M7DTJZ6A0X4PAW3Y8W4J9K64","staking","Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say \"stake\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":134,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":113},"01M7DTJSDZJKCDMW7GHRF4BRH5","send","Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say \"pay 10 STRK to 0x...\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FSKILL.md",[],[],{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":142,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":113},"01M7DTJG1E480D51ZQ7WKDQ26K","portfolio","View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks \"what do I have\", \"show me everything\", \"how much am I worth\", \"my positions\", \"my investments\", \"rebalance my portfolio\", \"I want 50% ETH\", \"optimize my holdings\", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say \"portfolio\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FSKILL.md",[],[],{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":150,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":113},"01M7DTJ7M8TE9R2N36HFBZDGVD","multi-swap","Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions \"two swaps\", \"three swaps\", \"swap X and Y at the same time\", or wants to convert multiple tokens in a single call.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FSKILL.md",[],[]]