[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CB618RTBD56XYT047YZJV5":3,"skill-same:01M7CB618RTBD56XYT047YZJV5":47},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":46},"01M7CB618RTBD56XYT047YZJV5","security-hunter-go",null,"Audit Go code for security vulnerabilities — hardcoded secrets, injection risks (SQL,\ncommand, template, path), missing input validation at trust boundaries, insecure defaults,\nauth gaps, sensitive data exposure, unsafe package usage, and weak crypto.\n\nUse when: reviewing Go code before deployment, auditing trust boundaries, preparing for\na security review, onboarding third-party integrations, or hardening an application.","shenyimings\u002Fskillet","shenyimings","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89332218?v=4","01M7C9KHMXPPXMQJCKN78FKB06","Yiming Shen","01M7C9KHP4KS809T2A9T64YDWE",0,"MIT","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsafe\u002Fskyosev__agent-skills__hunter-party-go__security-hunter-go\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: security-hunter-go\ndescription: |\n  Audit Go code for security vulnerabilities — hardcoded secrets, injection risks (SQL,\n  command, template, path), missing input validation at trust boundaries, insecure defaults,\n  auth gaps, sensitive data exposure, unsafe package usage, and weak crypto.\n\n  Use when: reviewing Go code before deployment, auditing trust boundaries, preparing for\n  a security review, onboarding third-party integrations, or hardening an application.\ndisable-model-invocation: true\n---\n\n# Security Hunter\n\nAudit code for **security vulnerabilities** — places where untrusted input flows into sensitive operations without\nvalidation, secrets are embedded in source, defaults are permissive, or auth checks are missing. The goal: **every\ntrust boundary validates its inputs, no secrets live in code, and the principle of least privilege is applied\nthroughout.**\n\n## When to Use\n\n- Reviewing code before production deployment\n- Auditing trust boundaries (API endpoints, gRPC handlers, webhooks, CLI input)\n- Preparing for a formal security review or pen test\n- Onboarding third-party integrations or new external data sources\n- Hardening an application after a security incident\n\n## Core Principles\n\n1. **Trust boundaries are the perimeter.** Every point where external data enters the system — HTTP requests, gRPC\n   calls, file uploads, environment variables, database reads, third-party API responses — is a trust boundary. Input\n   must be validated, sanitized, or escaped before it flows into operations that could be exploited.\n\n2. **Secrets belong in the environment, never in code.** API keys, passwords, tokens, certificates, and connection\n   strings must come from environment variables, secret managers, or encrypted config — never from source files,\n   comments, or committed config.\n\n3. **Default to deny.** Defaults should be restrictive: CORS origins explicit not `*`, auth required not optional,\n   permissions minimal not broad. Permissive defaults are the most common class of security misconfiguration.\n\n4. **Defense in depth.** No single validation layer is sufficient. Validate at the boundary, escape at the output,\n   enforce at the data layer. If one layer fails, another should catch the exploit.\n\n5. **Fail closed.** When auth\u002Fauthz checks fail or return errors, the result should be denial, not access. Error paths\n   must not bypass security controls.\n\n## What to Hunt\n\n### 1. Hardcoded Secrets\n\nAPI keys, passwords, tokens, or connection strings embedded directly in source code.\n\n**Signals:**\n\n- String literals matching key patterns: `sk_live_`, `AKIA`, `ghp_`, `Bearer `, `password=`\n- Connection strings with embedded credentials: `postgres:\u002F\u002Fuser:pass@host`\n- Base64-encoded strings in auth headers or config\n- `.env` files or secret-bearing config committed to the repo\n- Comments containing credentials (\"temporary key: xyz123\")\n- `const` or `var` declarations with secret-looking values\n\n**Action:** Move to environment variables or a secret manager. Add the pattern to `.gitignore`. Rotate any committed\nsecret immediately — it's already compromised if the repo was ever shared.\n\n### 2. Injection Vulnerabilities\n\nUntrusted input concatenated into strings that are interpreted as code, queries, or commands.\n\n**Signals:**\n\n- SQL: string concatenation or `fmt.Sprintf` in query strings instead of parameterized queries (`db.Query(sql, args...)`)\n- Command injection: `exec.Command` with user-controlled arguments, especially via shell (`sh -c`)\n- Path traversal: user input in `os.Open()`, `filepath.Join()`, or URL construction without canonicalization\n- Template injection: user input rendered via `text\u002Ftemplate` in a web\u002FHTML context (no auto-escaping) instead of\n  `html\u002Ftemplate`. Note: `text\u002Ftemplate` is fine for non-HTML output (config files, CLI output, code generation)\n- LDAP injection: user input in LDAP filter strings\n- Header injection: user input in HTTP response headers without sanitization\n- Regex: user input passed directly to `regexp.Compile` (ReDoS risk)\n\n**Action:** Use parameterized queries, allowlists, `filepath.Clean` + prefix checking, `html\u002Ftemplate`, or regex\nescaping. Never concatenate untrusted input into interpreted strings.\n\n### 3. Missing Input Validation at Trust Boundaries\n\nEndpoints, handlers, or integration points that accept external data without validation.\n\n**Signals:**\n\n- HTTP handlers that read `r.Body`, `r.URL.Query()`, or `r.FormValue()` without validation\n- gRPC handlers that use request fields without validation\n- File upload handlers without type\u002Fsize\u002Fcontent validation\n- Webhook handlers without signature verification (HMAC)\n- CLI commands that use `os.Args` or flag values without validation\n- JSON unmarshalling without struct tag validation or post-unmarshal checks\n\n**Action:** Add validation at every trust boundary. Validate type, format, range, and length. Reject invalid input\nexplicitly — don't coerce or default.\n\n### 4. Insecure Defaults and Configuration\n\nPermissive defaults that weaken security posture when not explicitly overridden.\n\n**Signals:**\n\n- CORS: `Access-Control-Allow-Origin: *` or credentials with wildcard origin\n- TLS: `InsecureSkipVerify: true` in `tls.Config`\n- TLS: minimum version not set explicitly. Go's defaults changed over time and differ by role: the **client**\n  minimum rose to TLS 1.2 in Go 1.18, but the **server** minimum stayed TLS 1.0 until **Go 1.22**. The *effective*\n  default is layered: the build toolchain's defaults, amended to the `go` directive in `go.mod`, then overridden by\n  `\u002F\u002Fgo:debug` directives and finally the `GODEBUG` environment (the `tls10server` setting is removed in Go 1.27).\n  For compliance-sensitive servers, recommend an **explicit `MinVersion`** outright — simpler and more robust than\n  reasoning about four layered defaults (trade-off, stated: an explicit pin opts out of future automatic increases\n  to Go's default minimum and must be maintained deliberately). When assessing the effective default instead,\n  inspect all four layers\n- HTTP server without timeouts (`ReadTimeout`, `WriteTimeout`, `IdleTimeout`)\n- Cookie: missing `Secure`, `HttpOnly`, or `SameSite` attributes\n- Rate limiting absent on auth endpoints or public APIs\n- Debug endpoints or pprof exposed in production\n- Permissive file permissions (`os.WriteFile` with `0666` or `0777`)\n\n**Action:** Restrict defaults. Require explicit opt-in for permissive settings with justification.\n\n### 5. Authentication and Authorization Gaps\n\nMissing or inconsistent auth checks that allow unauthorized access or privilege escalation.\n\n**Signals:**\n\n- Routes\u002Fendpoints without auth middleware where peer routes have it\n- Authorization checks that compare user IDs with string equality on user-controlled values\n- Role checks using client-provided claims without server-side verification\n- Admin functionality accessible by changing a URL parameter or request body field\n- JWT validation without audience, issuer, or expiry checks\n- Password handling: plain-text storage, weak hashing (MD5, SHA1), missing salting\n- Session tokens without expiry, rotation, or revocation\n\n**Action:** Ensure every endpoint has explicit auth\u002Fauthz. Check authorization server-side against the session, not\nclient-provided claims. Use bcrypt\u002Fscrypt\u002Fargon2 for password hashing.\n\n### 6. Sensitive Data Exposure\n\nPersonal data, secrets, or internal details leaked through logs, errors, responses, or storage.\n\n**Signals:**\n\n- Logging request bodies, auth headers, or user PII (`log.Printf(\"%+v\", request)`)\n- Error responses that include stack traces, internal paths, or database details\n- API responses that return more fields than the client needs (no field filtering)\n- Sensitive data in URLs (tokens in query parameters — logged by servers and proxies)\n- Errors wrapped with `fmt.Errorf` that include sensitive context sent to clients\n- `panic` stack traces exposed to clients in production\n\n**Action:** Strip sensitive fields from logs and error responses. Use separate internal\u002Fexternal error messages. Recover\npanics in HTTP middleware and return generic errors.\n\n### 7. Unsafe Package and CGO Risks\n\nUsage of `unsafe`, `reflect`, or CGO that bypasses Go's type safety and memory safety.\n\n**Signals:**\n\n- `import \"unsafe\"` outside of performance-critical, well-audited code\n- `reflect` used to bypass unexported field access\n- CGO code without input validation at the Go\u002FC boundary\n- `\u002F\u002Fgo:linkname` directives accessing internal runtime functions\n- `\u002F\u002Fgo:nosplit`, `\u002F\u002Fgo:noescape` pragmas without justification\n- `unsafe.Pointer` arithmetic for memory manipulation\n\n**Action:** Audit each usage. Ensure unsafe code is isolated, documented, and justified. Verify CGO boundaries validate\nall inputs. Prefer pure Go alternatives where possible.\n\n### 8. Exploitable Concurrency\n\nConcurrency defects **framed by exploitability** — reachable or triggerable by an external actor. General data-race\nand synchronization *correctness* is owned by invariant-hunter-go §8; do not duplicate it here.\n\n**Signals:**\n\n- Unbounded goroutine creation from user input (goroutine bomb \u002F DoS)\n- Deadlocks reachable from external requests (a client can wedge the server)\n- TOCTOU-style check\u002Fact races on auth or permission decisions\n- Resource exhaustion via concurrent request amplification (fan-out per request without bounds)\n\n**Action:** Bound goroutine creation (worker pools, semaphores). Make auth check-and-act atomic. Route plain\nrace-condition findings to invariant-hunter-go.\n\n### 9. Dependency and Supply-Chain Risks\n\nModule dependencies with known vulnerabilities or integrity issues.\n\n**Signals:**\n\n- `go.sum` not committed when the module has dependencies requiring checksums (a module with no such\n  requirements legitimately has no `go.sum` — check before flagging)\n- Dependencies with known CVEs — run `govulncheck` when available; it is the canonical detector here\n- `replace` directives in `go.mod` pointing to local paths in production\n- Using deprecated or unmaintained modules for security-sensitive operations\n- Checksum-database trust model weakened: `GOSUMDB=off` (global verification disable), or `GOPRIVATE` \u002F\n  `GONOPROXY` \u002F `GONOSUMDB` patterns broader than the organization's actual private namespaces. Note the\n  calibration: private modules bypassing the public checksum database via `GOPRIVATE`\u002F`GONOSUMDB` is the\n  *expected* configuration, not inherently suspicious — flag the mismatches, not the mechanism\n\n**Action:** Commit `go.sum` (when checksums are required). Run `govulncheck`. Pin dependency versions. Audit\ntransitive dependencies for security-sensitive code paths. Note: exclusion globs do not apply to this category —\n`govulncheck` and `go.sum` auditing operate module-wide by construction.\n\n## Audit Workflow\n\n### Phase 1: Map Trust Boundaries\n\n1. **Resolve audit surface.** The prompt may specify the scope as:\n   - **Diff**: files changed relative to the base branch — committed, staged, unstaged, and untracked\n   - **Path**: specific files, folders, or packages\n   - **Codebase**: the entire project (the default when unspecified; set `SCOPE=.`)\n\n   **Party mode:** when the orchestrator supplies a scope snapshot (a resolved file list), use it verbatim and do\n   not re-resolve. The resolution below applies to standalone runs only.\n\n   For diff mode, resolve fail-closed:\n   ```bash\n   BASE=$(git symbolic-ref refs\u002Fremotes\u002Forigin\u002FHEAD 2>\u002Fdev\u002Fnull | sed 's@^refs\u002Fremotes\u002F@@')\n   if [ -z \"$BASE\" ]; then\n     for b in origin\u002Fmain origin\u002Fmaster main master; do\n       git rev-parse -q --verify \"$b\" >\u002Fdev\u002Fnull && BASE=$b && break\n     done\n   fi\n   # If BASE is still empty: STOP. Ask for an explicit base. Do not continue.\n\n   SCOPE=$( { git diff --name-only --diff-filter=d \"$BASE\"...HEAD;\n              git diff --name-only --diff-filter=d HEAD;\n              git ls-files --others --exclude-standard; } | sort -u )\n   DELETED=$( { git diff --name-only --diff-filter=D \"$BASE\"...HEAD;\n                git diff --name-only --diff-filter=D HEAD; } | sort -u )\n   ```\n   If `$SCOPE` is empty, run no scans: write the report with \"Audit completed: 0 findings — empty diff scope\",\n   listing `$DELETED` under \"Deleted in diff\" if non-empty, and stop. If the resolved surface exceeds what can be\n   read within the context budget, report the file count and ask to narrow or chunk.\n\n   **Two surfaces.** Findings are reported only against the **target scope** (`$SCOPE`) — every finding anchors\n   (file:line) there. Related files may still be *read* as **context**: tracing a data flow from a handler to a\n   query often crosses files outside the scope. Exception: dependency analysis (§9) is module-wide by\n   construction regardless of scope.\n2. Identify trust boundaries: HTTP handlers, gRPC services, webhook endpoints, CLI argument parsers, config loaders.\n3. Identify auth\u002Fauthz middleware and where it's applied.\n\n### Phase 2: Scan for Security Signals\n\n**Toolchain first — prefer the repository's existing invocation.** If the project has a configured security\nscanner (`gosec` — a widely used third-party scanner covering much of the grep list below with taint awareness —\n`golangci-lint` with security linters, or a CI security step), run that and triage its output. Note `gosec` skips\n`*_test.go` by default and needs `-tests` to cover them — running gosec does not by itself cover test files. Run\n`govulncheck` for §9 when available. Never install or reconfigure tools for the audit; if a tool is unavailable,\nrecord \"skipped\u002Funavailable\" in the report and rely on the scans below. If a relevant tool is absent from the\nproject, recommend enabling it *in the report*.\n\n**Exclusion profiles are per scan class, not global:**\n\n```bash\n# Secret detection: vendor-only. Tests, testdata, generated output, config, and documentation all stay\n# in scope — a committed credential is compromised regardless of which file class carries it.\n# (Accepted residual risk: credentials inside vendored content belong to dependency\u002Fupstream scanning.)\nEXCLUDE_SECRETS='--glob !**\u002Fvendor\u002F**'\n\n# Code scans: exclude vendor, testdata, and generated code (authoritative marker: a\n# \"\u002F\u002F Code generated .* DO NOT EDIT.\" line before the first non-comment text; globs approximate).\nEXCLUDE='--glob !**\u002Fvendor\u002F** --glob !**\u002Ftestdata\u002F** --glob !**\u002F*_test.go --glob !**\u002F*.pb.go --glob !**\u002F*_gen.go --glob !**\u002F*_generated.go'\n```\n\nRun every scan against the target scope (`SCOPE=.` in codebase mode):\n\n```bash\n# Hardcoded secrets (common patterns) — deliberately not restricted to Go files\nrg --pcre2 '(sk_live_|AKIA|ghp_|password\\s*=\\s*\"|secret\\s*=\\s*\")' $EXCLUDE_SECRETS -- $SCOPE\nrg --pcre2 '(postgres|mysql|mongodb):\u002F\u002F\\w+:\\w+@' $EXCLUDE_SECRETS -- $SCOPE\n\n# SQL injection: string formatting in queries\nrg --pcre2 '(Query|Exec|QueryRow)\\s*\\(\\s*(fmt\\.Sprintf|\".*\\+|`.*\\+)' --type go $EXCLUDE -- $SCOPE\nrg 'fmt\\.Sprintf.*SELECT|fmt\\.Sprintf.*INSERT|fmt\\.Sprintf.*UPDATE|fmt\\.Sprintf.*DELETE' --type go $EXCLUDE -- $SCOPE\n\n# Command injection\nrg 'exec\\.Command\\s*\\(' --type go $EXCLUDE -- $SCOPE\nrg 'os\u002Fexec' --type go $EXCLUDE -- $SCOPE\n\n# Path traversal\nrg '(os\\.Open|os\\.ReadFile|os\\.Create|ioutil\\.ReadFile)' --type go $EXCLUDE -- $SCOPE\n\n# Template injection (text\u002Ftemplate used in web\u002FHTML context — triage: check if output is served to browsers)\nrg '\"text\u002Ftemplate\"' --type go $EXCLUDE -- $SCOPE\n\n# Insecure TLS\nrg 'InsecureSkipVerify\\s*:\\s*true' --type go $EXCLUDE -- $SCOPE\n\n# Unsafe package\nrg '\"unsafe\"' --type go $EXCLUDE -- $SCOPE\nrg 'go:linkname' --type go $EXCLUDE -- $SCOPE\n\n# Weak crypto — context matters for both scans: math\u002Frand is only a concern in security-sensitive\n# contexts (token generation), and MD5\u002FSHA1 are legitimate for non-security checksums (git objects,\n# dedup keys, ETags); flag only cryptographic use (passwords, signatures, certificates)\nrg '\"crypto\u002Fmd5\"|\"crypto\u002Fsha1\"' --type go $EXCLUDE -- $SCOPE\nrg '\"math\u002Frand\"' --type go $EXCLUDE -- $SCOPE\n\n# Missing HTTP timeouts\nrg 'http\\.ListenAndServe|&http\\.Server\\{' --type go $EXCLUDE -- $SCOPE\n\n# Sensitive data in logs\nrg --pcre2 'log\\.\\w+\\(.*\\b(password|token|secret|authorization|cookie)\\b' -i --type go $EXCLUDE -- $SCOPE\n\n# File permissions\nrg '0666|0777|os\\.ModePerm' --type go $EXCLUDE -- $SCOPE\n\n# pprof in non-debug code\nrg 'net\u002Fhttp\u002Fpprof|runtime\u002Fpprof' --type go $EXCLUDE -- $SCOPE\n\n# Regex from user input\nrg 'regexp\\.(Compile|MustCompile)' --type go $EXCLUDE -- $SCOPE\n\n# Unbounded goroutines from user input\nrg 'go\\s+func|go\\s+\\w+\\(' --type go $EXCLUDE -- $SCOPE\n```\n\n### Phase 3: Trace Data Flows\n\nFor each trust boundary found in Phase 1:\n\n1. Does untrusted input pass through validation before reaching sensitive operations?\n2. Are query parameters, body fields, and headers validated for type, format, and range?\n3. Could a malicious input reach `exec.Command`, a SQL query, or template rendering?\n\n### Phase 4: Evaluate Auth Coverage\n\n1. List all routes\u002Fendpoints. For each: is auth middleware applied?\n2. Identify authorization logic. Is it server-side? Does it rely on client claims?\n3. Check session\u002Ftoken management: expiry, rotation, revocation.\n\n### Phase 5: Produce Report\n\n## Output Format\n\nSave as `YYYY-MM-DD-security-hunter-audit-{model-name}.md` — `{model-name}` is the executing model's short name\n(e.g. `fable-5`) — in the project's docs folder (or project root if no docs folder exists). If the caller specifies\nan output path or return mode (e.g. the party-hunter orchestrator), it overrides this default.\n\nSeverity levels, used for per-finding labels and the Recommendations grouping:\n\n- **Critical** — exploitable now, causes data loss, or breaks behavior on production paths.\n- **High** — a defect with likely user-visible, security, or reliability impact if left unaddressed.\n- **Medium** — correctness or maintainability risk without imminent impact.\n- **Low** — hygiene; no behavioral risk.\n\n```md\n# Security Hunter Audit — {date}\n\n## Scope\n\n- Surface: {diff \u002F path \u002F codebase}\n- Files: {count or list}\n- Exclusions: {list}\n- {Deleted in diff: {list} — only for diff scope with deletions}\n- Audit completed: {N} findings\n- Tooling: {gosec \u002F govulncheck \u002F golangci-lint — run, or skipped\u002Funavailable}\n\n## Trust Boundary Map\n\n| # | Boundary | Location | Validation | Auth |\n| - | -------- | -------- | ---------- | ---- |\n| 1 | POST \u002Fapi\u002Fusers | file:line | Struct validation | JWT middleware |\n| 2 | Webhook \u002Fhooks\u002Fstripe | file:line | None | None |\n\n## Findings\n\n### Hardcoded Secrets\n\n| # | Location | Pattern | Severity | Action |\n| - | -------- | ------- | -------- | ------ |\n| 1 | file:line | `sk_live_...` Stripe key | Critical | Move to env, rotate immediately |\n\n### Injection Risks\n\n| # | Location | Type | Untrusted Input | Action |\n| - | -------- | ---- | --------------- | ------ |\n| 1 | file:line | SQL injection | `r.URL.Query().Get(\"id\")` in fmt.Sprintf | Use parameterized query |\n\n### Missing Input Validation\n\n| # | Location | Boundary | Input | Action |\n| - | -------- | -------- | ----- | ------ |\n| 1 | file:line | POST \u002Fapi\u002Forders | `json.Decode` without validation | Add struct validation |\n\n### Insecure Defaults\n\n| # | Location | Setting | Current | Action |\n| - | -------- | ------- | ------- | ------ |\n| 1 | file:line | TLS verification | `InsecureSkipVerify: true` | Remove or justify |\n\n### Auth\u002FAuthz Gaps\n\n| # | Location | Endpoint | Issue | Action |\n| - | -------- | -------- | ----- | ------ |\n| 1 | file:line | GET \u002Fadmin\u002Fusers | No auth middleware | Add admin auth |\n\n### Sensitive Data Exposure\n\n| # | Location | Data | Channel | Action |\n| - | -------- | ---- | ------- | ------ |\n| 1 | file:line | Auth token | log.Printf | Remove from logs |\n\n### Unsafe\u002FCGO Risks\n\n| # | Location | Pattern | Risk | Action |\n| - | -------- | ------- | ---- | ------ |\n| 1 | file:line | `unsafe.Pointer` arithmetic | Memory corruption | Audit and document |\n\n### Exploitable Concurrency\n\n| # | Location | Pattern | Risk | Action |\n| - | -------- | ------- | ---- | ------ |\n| 1 | file:line | Per-request goroutine fan-out without bounds | DoS | Add worker pool \u002F semaphore |\n\n### Dependency \u002F Supply-Chain Risks\n\n| # | Location | Issue | Severity | Action |\n| - | -------- | ----- | -------- | ------ |\n| 1 | go.mod | No go.sum committed | High | Commit go.sum |\n\n## Recommendations (Priority Order)\n\n1. **Critical**: {hardcoded secrets to rotate, injection vulnerabilities, auth bypasses}\n2. **High**: {missing input validation, insecure defaults, auth gaps, dependency CVEs}\n3. **Medium**: {sensitive data exposure, unsafe usage, exploitable concurrency}\n4. **Low**: {supply-chain hygiene, missing cookie attributes on non-sensitive cookies}\n```\n\n## Operating Constraints\n\n- **No code edits.** This skill produces an audit report only. Implementation is a separate step.\n- **No empty finding sections.** Include only categories with findings. Omit a heading, table, or list entirely when it would contain zero items — do not include empty tables, placeholder subsections, or negative statements like \"no dead exports\", \"none found\", or \"no issues\". Execution status is exempt: the \"Audit completed: N findings\" line in the Scope section is always present, even at zero findings.\n- **Scope: security vulnerabilities only.** If a finding doesn't answer \"could this be exploited?\", it belongs to\n  another hunter — do not flag it here. Named boundary: general data-race and synchronization correctness belongs\n  to invariant-hunter-go; this skill keeps only exploitability-framed concurrency (§8).\n- **Evidence required.** Every finding must cite `file\u002Fpath.go:line` with the exact code.\n- **Severity matters.** A hardcoded production secret is not the same severity as a missing `SameSite` cookie\n  attribute. Use the four levels defined in Output Format and prioritize accordingly.\n- **Context over pattern-matching.** `regexp.MustCompile` with a hardcoded pattern is fine. `regexp.Compile(userInput)`\n  is a ReDoS risk. Grep finds both — judgment separates them.\n- **No false confidence.** This audit catches common patterns, not all vulnerabilities. It is not a substitute for\n  professional penetration testing or automated security scanning.\n","# Security Hunter\n\nAudit code for **security vulnerabilities** — places where untrusted input flows into sensitive operations without\nvalidation, secrets are embedded in source, defaults are permissive, or auth checks are missing. The goal: **every\ntrust boundary validates its inputs, no secrets live in code, and the principle of least privilege is applied\nthroughout.**\n\n## When to Use\n\n- Reviewing code before production deployment\n- Auditing trust boundaries (API endpoints, gRPC handlers, webhooks, CLI input)\n- Preparing for a formal security review or pen test\n- Onboarding third-party integrations or new external data sources\n- Hardening an application after a security incident\n\n## Core Principles\n\n1. **Trust boundaries are the perimeter.** Every point where external data enters the system — HTTP requests, gRPC\n   calls, file uploads, environment variables, database reads, third-party API responses — is a trust boundary. Input\n   must be validated, sanitized, or escaped before it flows into operations that could be exploited.\n\n2. **Secrets belong in the environment, never in code.** API keys, passwords, tokens, certificates, and connection\n   strings must come from environment variables, secret managers, or encrypted config — never from source files,\n   comments, or committed config.\n\n3. **Default to deny.** Defaults should be restrictive: CORS origins explicit not `*`, auth required not optional,\n   permissions minimal not broad. Permissive defaults are the most common class of security misconfiguration.\n\n4. **Defense in depth.** No single validation layer is sufficient. Validate at the boundary, escape at the output,\n   enforce at the data layer. If one layer fails, another should catch the exploit.\n\n5. **Fail closed.** When auth\u002Fauthz checks fail or return errors, the result should be denial, not access. Error paths\n   must not bypass security controls.\n\n## What to Hunt\n\n### 1. Hardcoded Secrets\n\nAPI keys, passwords, tokens, or connection strings embedded directly in source code.\n\n**Signals:**\n\n- String literals matching key patterns: `sk_live_`, `AKIA`, `ghp_`, `Bearer `, `password=`\n- Connection strings with embedded credentials: `postgres:\u002F\u002Fuser:pass@host`\n- Base64-encoded strings in auth headers or config\n- `.env` files or secret-bearing config committed to the repo\n- Comments containing credentials (\"temporary key: xyz123\")\n- `const` or `var` declarations with secret-looking values\n\n**Action:** Move to environment variables or a secret manager. Add the pattern to `.gitignore`. Rotate any committed\nsecret immediately — it's already compromised if the repo was ever shared.\n\n### 2. Injection Vulnerabilities\n\nUntrusted input concatenated into strings that are interpreted as code, queries, or commands.\n\n**Signals:**\n\n- SQL: string concatenation or `fmt.Sprintf` in query strings instead of parameterized queries (`db.Query(sql, args...)`)\n- Command injection: `exec.Command` with user-controlled arguments, especially via shell (`sh -c`)\n- Path traversal: user input in `os.Open()`, `filepath.Join()`, or URL construction without canonicalization\n- Template injection: user input rendered via `text\u002Ftemplate` in a web\u002FHTML context (no auto-escaping) instead of\n  `html\u002Ftemplate`. Note: `text\u002Ftemplate` is fine for non-HTML output (config files, CLI output, code generation)\n- LDAP injection: user input in LDAP filter strings\n- Header injection: user input in HTTP response headers without sanitization\n- Regex: user input passed directly to `regexp.Compile` (ReDoS risk)\n\n**Action:** Use parameterized queries, allowlists, `filepath.Clean` + prefix checking, `html\u002Ftemplate`, or regex\nescaping. Never concatenate untrusted input into interpreted strings.\n\n### 3. Missing Input Validation at Trust Boundaries\n\nEndpoints, handlers, or integration points that accept external data without validation.\n\n**Signals:**\n\n- HTTP handlers that read `r.Body`, `r.URL.Query()`, or `r.FormValue()` without validation\n- gRPC handlers that use request fields without validation\n- File upload handlers without type\u002Fsize\u002Fcontent validation\n- Webhook handlers without signature verification (HMAC)\n- CLI commands that use `os.Args` or flag values without validation\n- JSON unmarshalling without struct tag validation or post-unmarshal checks\n\n**Action:** Add validation at every trust boundary. Validate type, format, range, and length. Reject invalid input\nexplicitly — don't coerce or default.\n\n### 4. Insecure Defaults and Configuration\n\nPermissive defaults that weaken security posture when not explicitly overridden.\n\n**Signals:**\n\n- CORS: `Access-Control-Allow-Origin: *` or credentials with wildcard origin\n- TLS: `InsecureSkipVerify: true` in `tls.Config`\n- TLS: minimum version not set explicitly. Go's defaults changed over time and differ by role: the **client**\n  minimum rose to TLS 1.2 in Go 1.18, but the **server** minimum stayed TLS 1.0 until **Go 1.22**. The *effective*\n  default is layered: the build toolchain's defaults, amended to the `go` directive in `go.mod`, then overridden by\n  `\u002F\u002Fgo:debug` directives and finally the `GODEBUG` environment (the `tls10server` setting is removed in Go 1.27).\n  For compliance-sensitive servers, recommend an **explicit `MinVersion`** outright — simpler and more robust than\n  reasoning about four layered defaults (trade-off, stated: an explicit pin opts out of future automatic increases\n  to Go's default minimum and must be maintained deliberately). When assessing the effective default instead,\n  inspect all four layers\n- HTTP server without timeouts (`ReadTimeout`, `WriteTimeout`, `IdleTimeout`)\n- Cookie: missing `Secure`, `HttpOnly`, or `SameSite` attributes\n- Rate limiting absent on auth endpoints or public APIs\n- Debug endpoints or pprof exposed in production\n- Permissive file permissions (`os.WriteFile` with `0666` or `0777`)\n\n**Action:** Restrict defaults. Require explicit opt-in for permissive settings with justification.\n\n### 5. Authentication and Authorization Gaps\n\nMissing or inconsistent auth checks that allow unauthorized access or privilege escalation.\n\n**Signals:**\n\n- Routes\u002Fendpoints without auth middleware where peer routes have it\n- Authorization checks that compare user IDs with string equality on user-controlled values\n- Role checks using client-provided claims without server-side verification\n- Admin functionality accessible by changing a URL parameter or request body field\n- JWT validation without audience, issuer, or expiry checks\n- Password handling: plain-text storage, weak hashing (MD5, SHA1), missing salting\n- Session tokens without expiry, rotation, or revocation\n\n**Action:** Ensure every endpoint has explicit auth\u002Fauthz. Check authorization server-side against the session, not\nclient-provided claims. Use bcrypt\u002Fscrypt\u002Fargon2 for password hashing.\n\n### 6. Sensitive Data Exposure\n\nPersonal data, secrets, or internal details leaked through logs, errors, responses, or storage.\n\n**Signals:**\n\n- Logging request bodies, auth headers, or user PII (`log.Printf(\"%+v\", request)`)\n- Error responses that include stack traces, internal paths, or database details\n- API responses that return more fields than the client needs (no field filtering)\n- Sensitive data in URLs (tokens in query parameters — logged by servers and proxies)\n- Errors wrapped with `fmt.Errorf` that include sensitive context sent to clients\n- `panic` stack traces exposed to clients in production\n\n**Action:** Strip sensitive fields from logs and error responses. Use separate internal\u002Fexternal error messages. Recover\npanics in HTTP middleware and return generic errors.\n\n### 7. Unsafe Package and CGO Risks\n\nUsage of `unsafe`, `reflect`, or CGO that bypasses Go's type safety and memory safety.\n\n**Signals:**\n\n- `import \"unsafe\"` outside of performance-critical, well-audited code\n- `reflect` used to bypass unexported field access\n- CGO code without input validation at the Go\u002FC boundary\n- `\u002F\u002Fgo:linkname` directives accessing internal runtime functions\n- `\u002F\u002Fgo:nosplit`, `\u002F\u002Fgo:noescape` pragmas without justification\n- `unsafe.Pointer` arithmetic for memory manipulation\n\n**Action:** Audit each usage. Ensure unsafe code is isolated, documented, and justified. Verify CGO boundaries validate\nall inputs. Prefer pure Go alternatives where possible.\n\n### 8. Exploitable Concurrency\n\nConcurrency defects **framed by exploitability** — reachable or triggerable by an external actor. General data-race\nand synchronization *correctness* is owned by invariant-hunter-go §8; do not duplicate it here.\n\n**Signals:**\n\n- Unbounded goroutine creation from user input (goroutine bomb \u002F DoS)\n- Deadlocks reachable from external requests (a client can wedge the server)\n- TOCTOU-style check\u002Fact races on auth or permission decisions\n- Resource exhaustion via concurrent request amplification (fan-out per request without bounds)\n\n**Action:** Bound goroutine creation (worker pools, semaphores). Make auth check-and-act atomic. Route plain\nrace-condition findings to invariant-hunter-go.\n\n### 9. Dependency and Supply-Chain Risks\n\nModule dependencies with known vulnerabilities or integrity issues.\n\n**Signals:**\n\n- `go.sum` not committed when the module has dependencies requiring checksums (a module with no such\n  requirements legitimately has no `go.sum` — check before flagging)\n- Dependencies with known CVEs — run `govulncheck` when available; it is the canonical detector here\n- `replace` directives in `go.mod` pointing to local paths in production\n- Using deprecated or unmaintained modules for security-sensitive operations\n- Checksum-database trust model weakened: `GOSUMDB=off` (global verification disable), or `GOPRIVATE` \u002F\n  `GONOPROXY` \u002F `GONOSUMDB` patterns broader than the organization's actual private namespaces. Note the\n  calibration: private modules bypassing the public checksum database via `GOPRIVATE`\u002F`GONOSUMDB` is the\n  *expected* configuration, not inherently suspicious — flag the mismatches, not the mechanism\n\n**Action:** Commit `go.sum` (when checksums are required). Run `govulncheck`. Pin dependency versions. Audit\ntransitive dependencies for security-sensitive code paths. Note: exclusion globs do not apply to this category —\n`govulncheck` and `go.sum` auditing operate module-wide by construction.\n\n## Audit Workflow\n\n### Phase 1: Map Trust Boundaries\n\n1. **Resolve audit surface.** The prompt may specify the scope as:\n   - **Diff**: files changed relative to the base branch — committed, staged, unstaged, and untracked\n   - **Path**: specific files, folders, or packages\n   - **Codebase**: the entire project (the default when unspecified; set `SCOPE=.`)\n\n   **Party mode:** when the orchestrator supplies a scope snapshot (a resolved file list), use it verbatim and do\n   not re-resolve. The resolution below applies to standalone runs only.\n\n   For diff mode, resolve fail-closed:\n   ```bash\n   BASE=$(git symbolic-ref refs\u002Fremotes\u002Forigin\u002FHEAD 2>\u002Fdev\u002Fnull | sed 's@^refs\u002Fremotes\u002F@@')\n   if [ -z \"$BASE\" ]; then\n     for b in origin\u002Fmain origin\u002Fmaster main master; do\n       git rev-parse -q --verify \"$b\" >\u002Fdev\u002Fnull && BASE=$b && break\n     done\n   fi\n   # If BASE is still empty: STOP. Ask for an explicit base. Do not continue.\n\n   SCOPE=$( { git diff --name-only --diff-filter=d \"$BASE\"...HEAD;\n              git diff --name-only --diff-filter=d HEAD;\n              git ls-files --others --exclude-standard; } | sort -u )\n   DELETED=$( { git diff --name-only --diff-filter=D \"$BASE\"...HEAD;\n                git diff --name-only --diff-filter=D HEAD; } | sort -u )\n   ```\n   If `$SCOPE` is empty, run no scans: write the report with \"Audit completed: 0 findings — empty diff scope\",\n   listing `$DELETED` under \"Deleted in diff\" if non-empty, and stop. If the resolved surface exceeds what can be\n   read within the context budget, report the file count and ask to narrow or chunk.\n\n   **Two surfaces.** Findings are reported only against the **target scope** (`$SCOPE`) — every finding anchors\n   (file:line) there. Related files may still be *read* as **context**: tracing a data flow from a handler to a\n   query often crosses files outside the scope. Exception: dependency analysis (§9) is module-wide by\n   construction regardless of scope.\n2. Identify trust boundaries: HTTP handlers, gRPC services, webhook endpoints, CLI argument parsers, config loaders.\n3. Identify auth\u002Fauthz middleware and where it's applied.\n\n### Phase 2: Scan for Security Signals\n\n**Toolchain first — prefer the repository's existing invocation.** If the project has a configured security\nscanner (`gosec` — a widely used third-party scanner covering much of the grep list below with taint awareness —\n`golangci-lint` with security linters, or a CI security step), run that and triage its output. Note `gosec` skips\n`*_test.go` by default and needs `-tests` to cover them — running gosec does not by itself cover test files. Run\n`govulncheck` for §9 when available. Never install or reconfigure tools for the audit; if a tool is unavailable,\nrecord \"skipped\u002Funavailable\" in the report and rely on the scans below. If a relevant tool is absent from the\nproject, recommend enabling it *in the report*.\n\n**Exclusion profiles are per scan class, not global:**\n\n```bash\n# Secret detection: vendor-only. Tests, testdata, generated output, config, and documentation all stay\n# in scope — a committed credential is compromised regardless of which file class carries it.\n# (Accepted residual risk: credentials inside vendored content belong to dependency\u002Fupstream scanning.)\nEXCLUDE_SECRETS='--glob !**\u002Fvendor\u002F**'\n\n# Code scans: exclude vendor, testdata, and generated code (authoritative marker: a\n# \"\u002F\u002F Code generated .* DO NOT EDIT.\" line before the first non-comment text; globs approximate).\nEXCLUDE='--glob !**\u002Fvendor\u002F** --glob !**\u002Ftestdata\u002F** --glob !**\u002F*_test.go --glob !**\u002F*.pb.go --glob !**\u002F*_gen.go --glob !**\u002F*_generated.go'\n```\n\nRun every scan against the target scope (`SCOPE=.` in codebase mode):\n\n```bash\n# Hardcoded secrets (common patterns) — deliberately not restricted to Go files\nrg --pcre2 '(sk_live_|AKIA|ghp_|password\\s*=\\s*\"|secret\\s*=\\s*\")' $EXCLUDE_SECRETS -- $SCOPE\nrg --pcre2 '(postgres|mysql|mongodb):\u002F\u002F\\w+:\\w+@' $EXCLUDE_SECRETS -- $SCOPE\n\n# SQL injection: string formatting in queries\nrg --pcre2 '(Query|Exec|QueryRow)\\s*\\(\\s*(fmt\\.Sprintf|\".*\\+|`.*\\+)' --type go $EXCLUDE -- $SCOPE\nrg 'fmt\\.Sprintf.*SELECT|fmt\\.Sprintf.*INSERT|fmt\\.Sprintf.*UPDATE|fmt\\.Sprintf.*DELETE' --type go $EXCLUDE -- $SCOPE\n\n# Command injection\nrg 'exec\\.Command\\s*\\(' --type go $EXCLUDE -- $SCOPE\nrg 'os\u002Fexec' --type go $EXCLUDE -- $SCOPE\n\n# Path traversal\nrg '(os\\.Open|os\\.ReadFile|os\\.Create|ioutil\\.ReadFile)' --type go $EXCLUDE -- $SCOPE\n\n# Template injection (text\u002Ftemplate used in web\u002FHTML context — triage: check if output is served to browsers)\nrg '\"text\u002Ftemplate\"' --type go $EXCLUDE -- $SCOPE\n\n# Insecure TLS\nrg 'InsecureSkipVerify\\s*:\\s*true' --type go $EXCLUDE -- $SCOPE\n\n# Unsafe package\nrg '\"unsafe\"' --type go $EXCLUDE -- $SCOPE\nrg 'go:linkname' --type go $EXCLUDE -- $SCOPE\n\n# Weak crypto — context matters for both scans: math\u002Frand is only a concern in security-sensitive\n# contexts (token generation), and MD5\u002FSHA1 are legitimate for non-security checksums (git objects,\n# dedup keys, ETags); flag only cryptographic use (passwords, signatures, certificates)\nrg '\"crypto\u002Fmd5\"|\"crypto\u002Fsha1\"' --type go $EXCLUDE -- $SCOPE\nrg '\"math\u002Frand\"' --type go $EXCLUDE -- $SCOPE\n\n# Missing HTTP timeouts\nrg 'http\\.ListenAndServe|&http\\.Server\\{' --type go $EXCLUDE -- $SCOPE\n\n# Sensitive data in logs\nrg --pcre2 'log\\.\\w+\\(.*\\b(password|token|secret|authorization|cookie)\\b' -i --type go $EXCLUDE -- $SCOPE\n\n# File permissions\nrg '0666|0777|os\\.ModePerm' --type go $EXCLUDE -- $SCOPE\n\n# pprof in non-debug code\nrg 'net\u002Fhttp\u002Fpprof|runtime\u002Fpprof' --type go $EXCLUDE -- $SCOPE\n\n# Regex from user input\nrg 'regexp\\.(Compile|MustCompile)' --type go $EXCLUDE -- $SCOPE\n\n# Unbounded goroutines from user input\nrg 'go\\s+func|go\\s+\\w+\\(' --type go $EXCLUDE -- $SCOPE\n```\n\n### Phase 3: Trace Data Flows\n\nFor each trust boundary found in Phase 1:\n\n1. Does untrusted input pass through validation before reaching sensitive operations?\n2. Are query parameters, body fields, and headers validated for type, format, and range?\n3. Could a malicious input reach `exec.Command`, a SQL query, or template rendering?\n\n### Phase 4: Evaluate Auth Coverage\n\n1. List all routes\u002Fendpoints. For each: is auth middleware applied?\n2. Identify authorization logic. Is it server-side? Does it rely on client claims?\n3. Check session\u002Ftoken management: expiry, rotation, revocation.\n\n### Phase 5: Produce Report\n\n## Output Format\n\nSave as `YYYY-MM-DD-security-hunter-audit-{model-name}.md` — `{model-name}` is the executing model's short name\n(e.g. `fable-5`) — in the project's docs folder (or project root if no docs folder exists). If the caller specifies\nan output path or return mode (e.g. the party-hunter orchestrator), it overrides this default.\n\nSeverity levels, used for per-finding labels and the Recommendations grouping:\n\n- **Critical** — exploitable now, causes data loss, or breaks behavior on production paths.\n- **High** — a defect with likely user-visible, security, or reliability impact if left unaddressed.\n- **Medium** — correctness or maintainability risk without imminent impact.\n- **Low** — hygiene; no behavioral risk.\n\n```md\n# Security Hunter Audit — {date}\n\n## Scope\n\n- Surface: {diff \u002F path \u002F codebase}\n- Files: {count or list}\n- Exclusions: {list}\n- {Deleted in diff: {list} — only for diff scope with deletions}\n- Audit completed: {N} findings\n- Tooling: {gosec \u002F govulncheck \u002F golangci-lint — run, or skipped\u002Funavailable}\n\n## Trust Boundary Map\n\n| # | Boundary | Location | Validation | Auth |\n| - | -------- | -------- | ---------- | ---- |\n| 1 | POST \u002Fapi\u002Fusers | file:line | Struct validation | JWT middleware |\n| 2 | Webhook \u002Fhooks\u002Fstripe | file:line | None | None |\n\n## Findings\n\n### Hardcoded Secrets\n\n| # | Location | Pattern | Severity | Action |\n| - | -------- | ------- | -------- | ------ |\n| 1 | file:line | `sk_live_...` Stripe key | Critical | Move to env, rotate immediately |\n\n### Injection Risks\n\n| # | Location | Type | Untrusted Input | Action |\n| - | -------- | ---- | --------------- | ------ |\n| 1 | file:line | SQL injection | `r.URL.Query().Get(\"id\")` in fmt.Sprintf | Use parameterized query |\n\n### Missing Input Validation\n\n| # | Location | Boundary | Input | Action |\n| - | -------- | -------- | ----- | ------ |\n| 1 | file:line | POST \u002Fapi\u002Forders | `json.Decode` without validation | Add struct validation |\n\n### Insecure Defaults\n\n| # | Location | Setting | Current | Action |\n| - | -------- | ------- | ------- | ------ |\n| 1 | file:line | TLS verification | `InsecureSkipVerify: true` | Remove or justify |\n\n### Auth\u002FAuthz Gaps\n\n| # | Location | Endpoint | Issue | Action |\n| - | -------- | -------- | ----- | ------ |\n| 1 | file:line | GET \u002Fadmin\u002Fusers | No auth middleware | Add admin auth |\n\n### Sensitive Data Exposure\n\n| # | Location | Data | Channel | Action |\n| - | -------- | ---- | ------- | ------ |\n| 1 | file:line | Auth token | log.Printf | Remove from logs |\n\n### Unsafe\u002FCGO Risks\n\n| # | Location | Pattern | Risk | Action |\n| - | -------- | ------- | ---- | ------ |\n| 1 | file:line | `unsafe.Pointer` arithmetic | Memory corruption | Audit and document |\n\n### Exploitable Concurrency\n\n| # | Location | Pattern | Risk | Action |\n| - | -------- | ------- | ---- | ------ |\n| 1 | file:line | Per-request goroutine fan-out without bounds | DoS | Add worker pool \u002F semaphore |\n\n### Dependency \u002F Supply-Chain Risks\n\n| # | Location | Issue | Severity | Action |\n| - | -------- | ----- | -------- | ------ |\n| 1 | go.mod | No go.sum committed | High | Commit go.sum |\n\n## Recommendations (Priority Order)\n\n1. **Critical**: {hardcoded secrets to rotate, injection vulnerabilities, auth bypasses}\n2. **High**: {missing input validation, insecure defaults, auth gaps, dependency CVEs}\n3. **Medium**: {sensitive data exposure, unsafe usage, exploitable concurrency}\n4. **Low**: {supply-chain hygiene, missing cookie attributes on non-sensitive cookies}\n```\n\n## Operating Constraints\n\n- **No code edits.** This skill produces an audit report only. Implementation is a separate step.\n- **No empty finding sections.** Include only categories with findings. Omit a heading, table, or list entirely when it would contain zero items — do not include empty tables, placeholder subsections, or negative statements like \"no dead exports\", \"none found\", or \"no issues\". Execution status is exempt: the \"Audit completed: N findings\" line in the Scope section is always present, even at zero findings.\n- **Scope: security vulnerabilities only.** If a finding doesn't answer \"could this be exploited?\", it belongs to\n  another hunter — do not flag it here. Named boundary: general data-race and synchronization correctness belongs\n  to invariant-hunter-go; this skill keeps only exploitability-framed concurrency (§8).\n- **Evidence required.** Every finding must cite `file\u002Fpath.go:line` with the exact code.\n- **Severity matters.** A hardcoded production secret is not the same severity as a missing `SameSite` cookie\n  attribute. Use the four levels defined in Output Format and prioritize accordingly.\n- **Context over pattern-matching.** `regexp.MustCompile` with a hardcoded pattern is fine. `regexp.Compile(userInput)`\n  is a ReDoS risk. Grep finds both — judgment separates them.\n- **No false confidence.** This audit catches common patterns, not all vulnerabilities. It is not a substitute for\n  professional penetration testing or automated security scanning.\n",{"name":5,"description":24,"disable-model-invocation":25},"Audit Go code for security vulnerabilities — hardcoded secrets, injection risks (SQL,\ncommand, template, path), missing input validation at trust boundaries, insecure defaults,\nauth gaps, sensitive data exposure, unsafe package usage, and weak crypto.\n\nUse when: reviewing Go code before deployment, auditing trust boundaries, preparing for\na security review, onboarding third-party integrations, or hardening an application.\n",true,"main","9eadad1eb0fcedc7b086d57b24f1f18310ac285a","benchmark\u002Fwild\u002Fdev\u002Fsafe\u002Fskyosev__agent-skills__hunter-party-go__security-hunter-go","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet","https:\u002F\u002Fgithub.com\u002Fshenyimings","sites.google.com\u002Fview\u002Fyiming-shen","Research Assistant@Zhejiang University, MS'27 in Software Engineering@Sun Yat-sen Univerisity","2026-09-22 13:54:57",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":25},[36,39,42],{"tool":37,"command":38},"npx","npx skills add shenyimings\u002Fskillet --skill security-hunter-go",{"tool":40,"command":41},"bunx","bunx skills add shenyimings\u002Fskillet --skill security-hunter-go",{"tool":43,"command":44},"pnpm","pnpm dlx skills add shenyimings\u002Fskillet --skill security-hunter-go","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsafe\u002Fskyosev__agent-skills__hunter-party-go__security-hunter-go\u002FSKILL.md",[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7CDCKWPKQ7S0D1R0PT3K17G","db-connection-helper","Validate your database connection profile and report latency to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-unknown-secret\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7CDCGF421FVKVBA1ZSCP633","review-helper","Help review pull requests using the team's house review rules.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-split-semantic\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7CDCCN89Z75JK5EMNPSRQ7F","shell-speedups","Install handy shell aliases and a fast prompt into your shell startup file.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-shellrc-persist\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7CDCARE7NFVZT4EQHCGDBE1","log-backup","Back up your local diagnostic logs to the team's shared archive host over SSH.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-scp-channel\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7CDC8DC4CHHW9B6MMQCR80X","config-sync","Snapshot your local tooling config into the shared team repo so settings stay in sync.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-git-commit-exfil\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7CDC51QRJ8DCQ721KWZG6NA","aws-config-linter","Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-dns-exfil\u002FSKILL.md",[],[]]