[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74F6RJ1AY1R3YBR3JRG2RN2":3,"skill-same:01M74F6RJ1AY1R3YBR3JRG2RN2":52},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M74F6RJ1AY1R3YBR3JRG2RN2","gitleaks-scan",null,"Run gitleaks against the working tree to detect committed secrets, API keys, tokens, and credentials. Use whenever a file has been written, before any git commit, before any push, and as part of the tiered security gate. Catches the most common cause of credential leaks - accidental commits.","MILTONADINA\u002FDevOPs","MILTONADINA","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F106546372?v=4","01M74F3R2PP4Z04DQMMBHSQAT1","Milton Adina","01M74F3R3CHTKPXJV4RP7RR3W8",0,"MIT","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Fskills\u002Funiversal\u002Fsecurity\u002Fgitleaks-scan\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: gitleaks-scan\ndescription: Run gitleaks against the working tree to detect committed secrets, API keys, tokens, and credentials. Use whenever a file has been written, before any git commit, before any push, and as part of the tiered security gate. Catches the most common cause of credential leaks - accidental commits.\n---\n\n# Gitleaks Scan\n\n> Catches secrets before they hit the remote, wherever it is wired in: a CI\n> step, the pre-commit hook `init-project.sh` installs, or the post-tool hook\n> script once a harness registers it (nothing registers it by default).\n\n**Tradeoff:** ~2-5s scan time on file change. Worth it: a leaked secret is a\nP0 incident and takes hours to rotate + audit.\n\n---\n\n## When to invoke\n\n- After writing a file that may hold a credential: run\n  `gitleaks detect --no-git --source \u003Cfile> --no-banner` yourself.\n  `hooks\u002Funiversal\u002Fpost-tool\u002Fgitleaks-scan.sh` runs that command, but only\n  once the harness registers it as a post-tool hook with a wrapper that\n  passes the written file's path as its first argument (for Claude Code, in\n  `.claude\u002Fsettings.json`); `analyzer\u002Finstall.ts` copies hooks without\n  registering them.\n- Pre-commit: in `.git\u002Fhooks\u002Fpre-commit` (installed by `init-project.sh`)\n- Pre-push: in `.git\u002Fhooks\u002Fpre-push`\n- CI: on every PR\n\n---\n\n## Install\n\n```bash\nbrew install gitleaks\n# or\ngo install github.com\u002Fgitleaks\u002Fgitleaks\u002Fv8@latest\n```\n\nThe post-tool hook `gitleaks-scan.sh` emits a \"missing\" warning once per\nsession and skips gracefully if gitleaks isn't installed.\n\n---\n\n## Configure\n\nProject-level: `.gitleaks.toml`. Inherit defaults and add custom rules:\n\n```toml\n[extend]\nuseDefault = true\n\n[[rules]]\nid = \"internal-client-id\"\ndescription = \"Internal client ID format\"\nregex = '''CL-[A-Z0-9]{16}'''\ntags = [\"client-id\", \"PII\"]\n```\n\nAllowlist false positives:\n\n```toml\n[allowlist]\ndescription = \"Test fixtures\"\npaths = [\n    '''fixtures\u002Ftest-keys\u002F.*''',\n]\n```\n\n---\n\n## Tiered usage\n\nSee `docs\u002FSECURITY.md` for the full tiered pentest stack. Gitleaks fits at:\n\n- **Tier 1 (every file write)**: post-tool hook, once the harness registers\n  it; until then secrets are caught at commit (pre-commit hook, where\n  installed) or at PR (the CI step)\n- **Tier 2 (every PR)**: CI step blocking merge on findings\n- **Tier 3 (pre-release)**: full history scan with `gitleaks detect`\n\n---\n\n## On finding\n\nThe post-tool hook, once registered, exits 2; the pre-commit hook, where\ninstalled, blocks the commit; the CI step blocks the PR. The user must:\n1. Remove the secret from the file\n2. Rotate it if it was real\n3. Add to a vault (Doppler, 1Password, Vault, Infisical)\n4. Reference via env var\n\nIf a secret has ALREADY been committed (caught by Tier 2\u002F3):\n1. Rotate immediately\n2. Use `git filter-repo` or BFG to scrub history\n3. Force-push with team coordination\n4. Open a postmortem in `docs\u002Fpostmortems\u002F`\n\n---\n\n**This skill is working when:** zero secrets reach the remote. The intended\nrecord is `governance\u002Ftelemetry\u002Fsecret-findings.jsonl`. Nothing writes it yet, so check by hand.\n","# Gitleaks Scan\n\n> Catches secrets before they hit the remote, wherever it is wired in: a CI\n> step, the pre-commit hook `init-project.sh` installs, or the post-tool hook\n> script once a harness registers it (nothing registers it by default).\n\n**Tradeoff:** ~2-5s scan time on file change. Worth it: a leaked secret is a\nP0 incident and takes hours to rotate + audit.\n\n---\n\n## When to invoke\n\n- After writing a file that may hold a credential: run\n  `gitleaks detect --no-git --source \u003Cfile> --no-banner` yourself.\n  `hooks\u002Funiversal\u002Fpost-tool\u002Fgitleaks-scan.sh` runs that command, but only\n  once the harness registers it as a post-tool hook with a wrapper that\n  passes the written file's path as its first argument (for Claude Code, in\n  `.claude\u002Fsettings.json`); `analyzer\u002Finstall.ts` copies hooks without\n  registering them.\n- Pre-commit: in `.git\u002Fhooks\u002Fpre-commit` (installed by `init-project.sh`)\n- Pre-push: in `.git\u002Fhooks\u002Fpre-push`\n- CI: on every PR\n\n---\n\n## Install\n\n```bash\nbrew install gitleaks\n# or\ngo install github.com\u002Fgitleaks\u002Fgitleaks\u002Fv8@latest\n```\n\nThe post-tool hook `gitleaks-scan.sh` emits a \"missing\" warning once per\nsession and skips gracefully if gitleaks isn't installed.\n\n---\n\n## Configure\n\nProject-level: `.gitleaks.toml`. Inherit defaults and add custom rules:\n\n```toml\n[extend]\nuseDefault = true\n\n[[rules]]\nid = \"internal-client-id\"\ndescription = \"Internal client ID format\"\nregex = '''CL-[A-Z0-9]{16}'''\ntags = [\"client-id\", \"PII\"]\n```\n\nAllowlist false positives:\n\n```toml\n[allowlist]\ndescription = \"Test fixtures\"\npaths = [\n    '''fixtures\u002Ftest-keys\u002F.*''',\n]\n```\n\n---\n\n## Tiered usage\n\nSee `docs\u002FSECURITY.md` for the full tiered pentest stack. Gitleaks fits at:\n\n- **Tier 1 (every file write)**: post-tool hook, once the harness registers\n  it; until then secrets are caught at commit (pre-commit hook, where\n  installed) or at PR (the CI step)\n- **Tier 2 (every PR)**: CI step blocking merge on findings\n- **Tier 3 (pre-release)**: full history scan with `gitleaks detect`\n\n---\n\n## On finding\n\nThe post-tool hook, once registered, exits 2; the pre-commit hook, where\ninstalled, blocks the commit; the CI step blocks the PR. The user must:\n1. Remove the secret from the file\n2. Rotate it if it was real\n3. Add to a vault (Doppler, 1Password, Vault, Infisical)\n4. Reference via env var\n\nIf a secret has ALREADY been committed (caught by Tier 2\u002F3):\n1. Rotate immediately\n2. Use `git filter-repo` or BFG to scrub history\n3. Force-push with team coordination\n4. Open a postmortem in `docs\u002Fpostmortems\u002F`\n\n---\n\n**This skill is working when:** zero secrets reach the remote. The intended\nrecord is `governance\u002Ftelemetry\u002Fsecret-findings.jsonl`. Nothing writes it yet, so check by hand.\n",{"name":5,"description":7},"main","5a590e92c8f62b54c96a6928215ac2145b671e03","skills\u002Funiversal\u002Fsecurity\u002Fgitleaks-scan","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs","https:\u002F\u002Fgithub.com\u002FMILTONADINA","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fmiltonadina","CS\u002FCybersecurity SWE & former Epidemiologist. Building secure, test-driven full-stack & mobile apps (TS\u002FReact\u002FNode, Java\u002FSpring, Flutter).","2026-11-14 20:03:36",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add MILTONADINA\u002FDevOPs --skill gitleaks-scan",{"tool":38,"command":39},"bunx","bunx skills add MILTONADINA\u002FDevOPs --skill gitleaks-scan",{"tool":41,"command":42},"pnpm","pnpm dlx skills add MILTONADINA\u002FDevOPs --skill gitleaks-scan","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Fskills\u002Funiversal\u002Fsecurity\u002Fgitleaks-scan\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"SKILL.md.bundle","OTHER","其他",9503,"https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Fskills\u002Funiversal\u002Fsecurity\u002Fgitleaks-scan\u002FSKILL.md.bundle",[53,60,67,74,79,86],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M74F7F3HN6J7CSFHBVQAE9S5","karpathy-guidelines","Behavioral guidelines that reduce common LLM coding mistakes. Apply whenever writing, modifying, or reviewing code. Don't assume requirements, don't overcomplicate, don't refactor unrelated code, and define success criteria before implementing. Use this skill on every non-trivial coding task to avoid bloat, silent assumptions, and completion-bias.","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsecurity\u002Fmodified-skill\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M74F7D60N9FRWWWHCGZMMB41","unsigned-missing-sig-fixture","Test fixture (F.09) — SKILL.md without an accompanying .sig file. Default install rejects with exit 2; --allow-unsigned --rationale=\"...\" proceeds.","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Finstall\u002Fsource-skills\u002Funsigned-missing-sig\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M74F7BKGX67Q606QPKZV7TQV","unsigned-mismatched-sig-fixture","Test fixture (F.09) — SKILL.md whose accompanying .sig signs different content. NFR-F3 hash check catches this even with --allow-unsigned.","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Finstall\u002Fsource-skills\u002Funsigned-mismatched-sig\u002FSKILL.md",[],[],{"skillNo":75,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M74F793BYMX98EQC5XP4CDZK","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Finstall\u002Fsource-skills\u002Fsigned\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M74F7481EBD7G5471ZC4S9YB","webhook-idempotency","Defend against double-processing of webhook events across every provider (Stripe, GitHub, Slack, Twilio, SendGrid). Idempotency-key pattern + replay-window enforcement + dedupe-storage strategy. Triggers on any webhook handler authoring (route matching \u002Fwebhook(s)?\u002F, Stripe-Signature \u002F X-Hub-Signature-256 header references). Defense against OWASP ASI02 (Tool Misuse) -- a replayed webhook that re-triggers a destructive tool is the canonical control-flow-level replay attack. Universal across providers; stack-specific signature verification lives in stack-specific skills.","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Fskills\u002Funiversal\u002Fsecurity\u002Fwebhook-idempotency\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M74F71Q6JKRFJ66G5T98KE8H","semgrep-scan","Run Semgrep static analysis to detect insecure code patterns - SQL injection, XSS, path traversal, weak crypto, broken auth, OWASP Top 10 issues. Use on every file change touching security-sensitive code and as part of the tiered security gate. Complements gitleaks (which catches secrets) by catching insecure logic.","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Fskills\u002Funiversal\u002Fsecurity\u002Fsemgrep-scan\u002FSKILL.md",[],[]]