[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CZ5221H44ZRAAXE89EPKJD":3,"skill-same:01M7CZ5221H44ZRAAXE89EPKJD":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M7CZ5221H44ZRAAXE89EPKJD","padosoft-api-security-review",null,"Use this skill before committing or reviewing any change to an HTTP API that touches routing, auth middleware, settings or config endpoints, logging and telemetry, SQL, error handling, response shaping, client IP, rate limits or an outbound fetch — and whenever the user asks for a security review, an audit, or says an endpoint \"seems public\", \"returns too much\" or \"leaks something\": it runs ten checks with ready grep pre-screens (auth on every mutating route, ownership from the authenticated id, no secrets or PII in responses, bound SQL, fail-safe env gates, resource caps, redacted logs, downstream injection, no trust from caller input, supply chain) and blocks the commit on each violation. Do not use it for infrastructure hardening (WAF, DNS, firewall) or for dependency CVE triage.","padosoft\u002Fskills","padosoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10467753?v=4","01M7CZ3FRSM851DK225E3KK2VF","01M7CZ3FSY016E21VS6EABM21V",1,"MIT","https:\u002F\u002Fgithub.com\u002Fpadosoft\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpadosoft-api-security-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: padosoft-api-security-review\ndescription: >-\n  Use this skill before committing or reviewing any change to an HTTP API that touches routing, auth\n  middleware, settings or config endpoints, logging and telemetry, SQL, error handling, response shaping,\n  client IP, rate limits or an outbound fetch — and whenever the user asks for a security review, an audit,\n  or says an endpoint \"seems public\", \"returns too much\" or \"leaks something\": it runs ten checks with ready\n  grep pre-screens (auth on every mutating route, ownership from the authenticated id, no secrets or PII in\n  responses, bound SQL, fail-safe env gates, resource caps, redacted logs, downstream injection, no trust\n  from caller input, supply chain) and blocks the commit on each violation. Do not use it for infrastructure\n  hardening (WAF, DNS, firewall) or for dependency CVE triage.\nlicense: MIT\ncompatibility: >-\n  Any HTTP API. The grep pre-screens assume a POSIX shell and a TypeScript\u002FJavaScript codebase; the rules\n  themselves are language-agnostic. Some notes are specific to Hono, and are marked as such.\nmetadata:\n  version: 0.3.0\n  author: Padosoft\n  summary: Ten checks on an API change, each carrying the mistake that produces it.\n  profiles: api, node\n  scope: project\n  repository: https:\u002F\u002Fgithub.com\u002Fpadosoft\u002Fskills\n  keywords: security, api, audit, auth, idor, secrets, sql injection, rate limit, owasp, review\n---\n\n# API security review\n\nTen checks to run **before committing** a change to an API, and when reviewing a PR. Each one carries the\nmistake that produces it: these are failure modes that have been seen in production code, not items from a\ngeneric checklist.\n\nThe complete rules, with identifiers and rationale, are in [`references\u002Frules.md`](references\u002Frules.md).\nRead it when a check fires and you need the full reasoning, or when you have to decide whether something is\na real exception.\n\n---\n\n## 0. How to run it\n\n```bash\ngit diff --cached --name-only --diff-filter=ACMR | grep -E '\\.(ts|js|mjs)$'\n# empty? then: git diff --name-only\n```\n\nApply the relevant checks to those files. **For every violation: block the commit**, name the rule, propose\nthe fix. Skip a check that does not apply to the diff — do not report it as passed.\n\n**A pre-screen is a screen, not a verdict.** Each one is tuned to surface candidates, and a healthy codebase\nstill produces hits: they are the compliant implementations of the very rule being checked. Where that\nhappens, the check below shows what a compliant hit looks like — recognise it, say so in one line, move on.\nA check that reports 40 lines every time gets ignored, and then it protects nothing.\n\nSeverity: a violation of checks 1, 2, 3 or 5 is **critical** — each of them is, on its own, enough to expose\ndata or credentials. The others block the commit but can be discussed.\n\n---\n\n## 1. Auth on every mutating route — `API-SEC-AUTH-001`\n\nEvery POST\u002FPUT\u002FPATCH\u002FDELETE endpoint is authenticated, and every route group has an auth middleware.\n\n```bash\n# commented-out auth: this is exactly how three endpoint groups became public\ngrep -rnE '^\\s*\u002F\u002F\\s*.*\\.use\\(\\s*\\w*[Aa]uth\\w*' src\u002Froutes src\u002Fapp\n# wildcard auth inside a sub-app (see the flattening gotcha below)\ngrep -rnE '\\.use\\(\"\\*\",\\s*\\w*[Aa]uth' src\u002Froutes\n```\n\n- **A commented-out auth line is a critical bug**, never a temporary state.\n- **Internal\u002Fdebug endpoints are deleted, not gated.**\n- **Authentication is not authorization.** A middleware that resolves \"any valid user token\" lets a customer\n  through on a back-office endpoint. Staff-only routes need a **positive role check** after it.\n- Prefer a **positive role allow-list** (`[\"SALES_ASSOCIATE\",\"admin\"]`) over a negative predicate (\"has no\n  customer row\"): the negative form both under-blocks generic internal accounts and over-blocks hybrid users\n  who are staff *and* customers.\n- **Hono flattening gotcha:** when several sub-apps mount on the same prefix, `route.use(\"*\", authMw)`\n  **inside** a sub-app leaks to its siblings. Apply auth on the **exact path** where the app is composed.\n  The grep flags every `use(\"*\", …auth…)`, so before calling it a violation check the two things that make it\n  one: **is the prefix shared** with other sub-apps, and **is it a gate**? A wildcard `optionalAuthMiddleware`\n  on a sub-app with its own prefix is neither — it populates the context, it does not block.\n\n\n**Audit every equivalent mutating route, not only the newest one.** When a second import, upload or\nprovisioning path exists for the same resource, the controls added to the one built last are routinely\nabsent from the one built first — and the old path is still wired. List the routes that mutate a given\nresource and compare their middleware stacks side by side, rather than reviewing the one in the diff.\n\n**A permissive cross-origin default on a control plane is an opening.** An administrative API that answers\nwith a wildcard origin while authenticating with cookies or credentials has given every site the ability to\nact for a logged-in operator. Default to same-origin, allow exact configured origins, vary the cache by\norigin, and reject a disallowed cross-origin state-changing request **before** the route handler runs.\n\n## 2. Ownership from the authenticated id — `API-SEC-IDOR-001`\n\n```bash\ngrep -rnE 'valid\\(\"(query|json|param)\"\\)' src\u002Fcontrollers | grep -iE 'user|customer|client|order|receipt|return|device|lock|lease'\n```\n\nThe owner id comes **only** from the authenticated context. Never trust an id from query\u002Fbody\u002Fparam for\nownership — scope the SQL to the authenticated id.\n\n- A nested sub-resource with no owner column needs an **explicit ownership join**; \"the parent was checked\"\n  is not a guarantee.\n- An identifier is not a credential: a `device_id` or a `lease_token` proves nothing on its own. Bind the\n  lease to `(token, expiry, resource, owner)` and verify it against the authenticated identity.\n- On mutations: `SELECT … FOR UPDATE`, verify ownership **inside** the transaction, check `affectedRows`, and\n  make a mismatch an **idempotent no-op \u002F 404** — a distinguishable error turns the endpoint into an\n  existence oracle.\n\n## 3. No secrets or PII in responses — `API-SEC-SECRET-001`\n\n```bash\ngrep -rnE 'FROM settings' src\u002Fquery\ngrep -rniE 'select .*(password|secret|token|api_?key|private_key)' src\u002Fquery\ngrep -rnE 'SELECT \\*' src\u002Fquery\n```\n\n**Why this rule is first:** a credential in a settings table is one public endpoint away from being handed\nout. Settings are read by many callers and are the kind of table nobody re-reviews, so a key that lands\nthere is served to whoever asks — and a leaked deploy credential means someone else can ship your code.\n\n- Secrets do not live in a settings table. Until they move to a key store, the runtime filter is the only\n  barrier — and no endpoint may bypass it.\n- **Allow-list the response fields.** Never return whole rows; mask credential columns to `null`. The\n  `SELECT *` grep also hits derived tables (`SELECT * FROM ( … ) x`), which never reach the client: what the\n  rule is about is the **projection returned to the caller**, not every star in the file.\n- A **permissive allow-list is a trap**: combine an exact deny-list *with* name and value detectors. Do not\n  \"allow everything not explicitly secret\".\n- Strip identity fields from public projections and honour \"hidden\" flags **fail-closed**.\n\nIf the project has a secret classifier, three ordering rules are load-bearing (each one is a bug that already\nhappened — the details are in `references\u002Frules.md`):\n\n1. **The inclusion allow-list runs before the value scan**, otherwise a legitimate key that merely *looks*\n   like a secret gets filtered and the safety belt becomes the outage.\n2. **A name exemption is anchored to its own dot-segment**, otherwise an innocuous word anywhere in the key\n   disarms the match everywhere — fail-open, and silent.\n3. **Exclusions match exactly**, never as substrings.\n\nFiltering is **never silent**: log every removal once per key with the deciding rule.\n\n## 4. Logs and telemetry without secrets or PII — `API-SEC-LOG-001`\n\n```bash\n# 1. a secret named in the log call\ngrep -rniE 'logger\\.(info|debug|warn|error)\\(.*(token|cookie|authorization|password|session|email|JSON\\.stringify\\((headers|req|request|body|row))' src\n# 2. an OBJECT handed to the logger — the case the first grep cannot see\ngrep -rnE 'logger\\.(error|warn|info|debug)\\([^)]*,\\s*(err|error|e)\\)' src \\\n  | grep -viE 'sanitize|redact|safeError|\\.message'\ngrep -rnE 'console\\.(log|error|warn|info|debug)\\(' src --include=*.ts | grep -v '\\.test\\.ts'\n```\n\nNever log `Authorization`\u002FBearer, cookies, API secrets, tokens, passwords, auth bodies, or national id \u002F\nVAT \u002F email. Log non-sensitive markers instead (`has_session_cookie=true`). No `console.*` in runtime paths.\n\n> The invariants behind this check — and the fact that the redaction goes in a **different place** depending\n> on the stack — are in **`padosoft-logging-discipline`**. Read it when the finding is about what ends up in\n> a log line; what follows here is the API-specific part.\n\n⚠️ **The second grep is the one that matters, and it is noisy on purpose.** Grep 1 reads the *message*; the\nleak is usually in the *object*. Narrow it to the dangerous context — a `catch` around a database call:\n\n```bash\nfor f in $(grep -rlE 'logger\\.(error|warn)\\([^)]*,\\s*(err|error|e)\\)' src); do\n  grep -qE 'client\\.execute|getConnection' \"$f\" && echo \"$f\"\ndone\n```\n\n**A driver error object carries the query already formatted, with the bound values substituted.** In mysql2\nthat is `err.sql`. So `logger.error(\"db lookup failed:\", err)` on a query bound with `:tokenHash` writes the\ntoken hash into the log — an equivalent of the token for anyone reading, enough to find the row in the token\ntable. And the branch that logs is the **failure** branch: exactly the one people open when something breaks,\ncopy into a ticket and paste into a chat.\n\nDo not redact the whole thing — that makes the logs useless precisely when they are needed. Keep what\ndiagnoses (`code`, `errno`, `message` truncated) and drop `sql`, `sqlMessage` and the stack:\n\n```ts\nexport function safeDbErrorDetails(err: unknown) {\n    if (typeof err !== \"object\" || err === null) return { code: \"UNKNOWN\" };\n    const e = err as { code?: string; errno?: number; message?: string };\n    return { code: e.code, errno: e.errno, message: e.message?.slice(0, 200) };\n}\n```\n\n*This is a real finding: the line existed, the previous commit had left it untouched, and its comment\ndeclared it already safe.*\n\nTelemetry: never export a **raw** query string, a client IP read straight from a header, or a raw exception.\nSanitize the query (redact credential-like keys, email-shaped values, blobs), truncate the user agent, and\nreplace exceptions with a neutral error **after** the handler has built the response, so the real status and\npayload survive.\n\n## 5. Environment gates must be fail-SAFE — `API-SEC-ENV-001`\n\n```bash\n# the PARSED value only: a raw process.env read is the correct form, do not flag it\ngrep -rnE '(^|[^.[:alnum:]_])env\\.NODE_ENV\\s*(===|!==)' src | grep -v 'process\\.env'\n```\n\nIf the env schema defaults `NODE_ENV` to `\"development\"`, a production deploy that simply **omits** it makes\nevery `env.NODE_ENV !== \"production\"` gate **fail-open** — debug output and mock auth in production.\n\n```ts\n\u002F\u002F WRONG — fail-open when NODE_ENV is unset in prod\nif (env.NODE_ENV !== \"production\") returnDebugInfo();\n\u002F\u002F RIGHT — fail-closed, from raw process.env; unknown counts as production\nexport const isNonProdRuntime = new Set([\"development\", \"test\"]).has(process.env.NODE_ENV ?? \"\");\nif (isNonProdRuntime) returnDebugInfo();\n```\n\nMock auth must **abort startup** unless the raw `NODE_ENV` is exactly `development`\u002F`test`.\n\n## 6. Bound SQL — `API-SEC-SQL-001`\n\n```bash\n# exclude the sanctioned forms, or the signal drowns: on a clean codebase the raw\n# grep returned 89 hits, of which ~45 were generated placeholders and offsets\ngrep -rnE \"(WHERE|SELECT|LIKE|VALUES|SET|ORDER BY)[^\\n]*\\$\\{\" src\u002Fquery \\\n  | grep -viE '\\$\\{([a-zA-Z_]*[Pp]laceholders|ph|offset|safeOffset|limit)\\}'\ngrep -rnE \"'\\\\\\$\\{\" src\u002Fquery          # a literal '${x}' is injection too\ngrep -rn 'client.query(' src           # use the parameterized execute\n```\n\nAlways named bound params. **A SELECT literal is injection as well**: `'${lang}' as lang` is a hole.\n\nNarrow exceptions: `LIMIT`\u002F`OFFSET` only if they are schema-coerced numbers; column name and sort direction\nonly through an allow-list plus a ternary; `IN (…)` through a placeholder builder — and **merge** the params\nit returns.\n\n**What a compliant hit looks like** — recognise it and move on, instead of re-investigating it on every\ncommit:\n\n```ts\nconst sortCol  = SORT_COLUMN_WHITELIST[f.sort] ?? \"bc.updated_at\";   \u002F\u002F ✅ allow-list + fallback\nconst orderDir = f.order === \"asc\" ? \"ASC\" : \"DESC\";                 \u002F\u002F ✅ ternary, two outcomes\nconst op       = getDbOperatorByQueryStringOp(input.operator);       \u002F\u002F ✅ mapper, not the raw string\nsql += ` ORDER BY ${sortCol} ${orderDir} LIMIT ${f.perPage} OFFSET ${offset}`;\n```\n\nThe three questions for a remaining hit: does the value come from the request? If yes, does it pass through\nan allow-list or a ternary? If it is a number, is it coerced by the schema? Three yeses, it is fine.\n\n⚠️ `LIMIT`\u002F`OFFSET` are often interpolated **deliberately**: mysql2 does not bind them as named placeholders.\nDo not \"fix\" one back into `:limit` — the query breaks. Check the coercion instead.\n\nAdjacent correctness trap, same file: in a translation join, put the language filter **inside that join's own\n`ON`**. On a second `LEFT JOIN` it cannot reduce rows — it only nulls the non-matching ones, so the query\nreturns N rows per source row. That inflates paginated responses *and* makes `rows[0]` without `ORDER BY`\nreturn the translated row only sometimes: the bug filed as \"sometimes it doesn't translate\" that nobody\ncloses. With a single language both forms look identical, which is why it survives.\n\n## 7. Structural resource caps — `API-SEC-LIMITS-001`\n\n```bash\ngrep -rnE 'fetch\\(' src | grep -viE 'signal|timeout|AbortSignal'\n```\n\nEvery attacker-controlled collection, body, cursor, cache and outbound fetch needs an explicit cap **before**\nthe business logic runs. Reference values that worked: 16 MiB body, 100 items per batch (dedup first), 64 KiB\ncursor with a mandatory expiry, 8 MiB response, 10s end-to-end fetch deadline held until the body is\nconsumed, bounded LRU + TTL for in-memory caches, recursion depth capped, stable `ORDER BY` with a max\n`LIMIT` on paginated reads.\n\nPer-identity rate limiting, if present:\n\n- **Mount it after the route's auth**, so the bucket is the authenticated identity and not a shared NAT IP.\n- Put the numbers in a **policy table**, not inline at the mount site: the policy name is part of the key, so\n  a duplicate name silently merges two quotas.\n- The PII-enumeration endpoint (a customer search) stays the strictest policy.\n- A limiter that **fails open** when its store is down is a deliberate choice, not a bug: rate limiting is an\n  availability control and authorization is upstream. Do not \"fix\" it to fail closed without a decision.\n- Never log the identity value — log its *kind*. An IP is personal data.\n\n\n**A process-local counter protects one process.** With more than one replica, the window has to be decided\nby shared storage — serialised inside a transaction, or on a store that can make the decision atomically.\nThe in-process fallback is fine for development, and it does not support a claim about production. Key the\nlimit on the tenant or the credential, never on a client-supplied address header.\n\n## 8. Injection into downstream consumers — `API-SEC-OUTPUT-001`\n\n```bash\ngrep -rniE 'javascript:|vbscript:|data:' src\u002Fservices src\u002Frepositories\ngrep -rnE '\\.csv|text\u002Fcsv|writeCsv|toCsv|join\\(\",\"\\)' src\n```\n\nA stored URL that will later be rendered or redirected to: reject `javascript:`, `data:`, `vbscript:`,\n`file:`, protocol-relative `\u002F\u002Fhost`, embedded credentials and CRLF — **on write and on read**. Rows already\nin the database were written before the validation existed.\n\nCSV: a cell starting with `=`, `+`, `-` or `@` (also after whitespace or a BOM) is executed as a formula by\nspreadsheet apps. Use an RFC 4180 encoder that neutralizes formulas; never hand-concatenate CSV.\n\n## 9. No trust from caller input — `API-SEC-TRUST-001`\n\n```bash\ngrep -rniE 'header\\(\\s*[\"'\"'\"']?(x-session-token|is_logged_in|cf-connecting-ip|x-forwarded-for|x-real-ip|x-client-ip)' src\ngrep -rniE 'etag|if-none-match|304' src\u002Fmiddlewares\n```\n\n- Privileged claims (audience, embargo, \"is logged in\") are **signed**, not query params: HMAC-SHA256 over\n  timestamp + method + exact URL, short anti-replay window, timing-safe compare, fail-closed with no secret.\n- An explicit `Authorization` header takes **absolute precedence** and never downgrades to an ambient session\n  cookie.\n- **The client address is a two-hop model.** At the edge, the trustworthy header is the one the platform\n  sets itself. At the origin, that same header now carries the **edge's** address, so the origin reads what\n  the edge forwarded instead — and that value is only trustworthy while the origin refuses traffic that did\n  not come through the edge. See **`padosoft-edge-worker-security`**.\n- Read the client IP through **one helper**, from the single header your edge actually sets, and validate the\n  charset. Behind a proxy that forwards, the hop-by-hop headers are the *proxy's* address. Even the right\n  header is spoofable unless the origin only accepts traffic from that edge (mTLS or IP allow-list) — so\n  per-IP limits are an obstacle, not a barrier.\n- **An allowlist on the initial URL does not survive a redirect.** Disable automatic following, validate\n  the destination against the same explicit allowlist, reject credential-bearing URLs, and surface the\n  blocked response as evidence instead of silently following it.\n- **Redirect safety is not name-resolution safety.** Re-checking the allowlist at send time and disabling\n  redirects is necessary and is not protection against a destination that resolves inward; that belongs in\n  a connection-aware egress layer, and claiming it from a portable client wrapper is claiming something you\n  do not have.\n- **When the caller is a browser you drive, constrain the whole context, not the navigation.** Validating\n  the URL handed to a navigation call says nothing about redirects, subresources or form-triggered\n  requests: install the network policy on the context before the page exists, and abort anything that is\n  not allowlisted.\n- Cache: default `private`\u002F`no-store`; any `Authorization`\u002F`Cookie` forces it. Evaluate `If-None-Match`\n  **after** auth, never before — and derive the ETag from the body only once the handler has run.\n\n## 10. Supply chain and build — `API-SEC-SUPPLY-001`\n\n- Pin images and CI actions to a **digest\u002FSHA**, never a floating tag.\n- Build secrets through secret mounts; never write a token into a layer or a committed `.env`.\n- Frozen, lockfile-exact production install.\n- Distroless base, non-root, read-only runtime artifacts, deploy by immutable digest.\n- Transport policy **fail-closed in production**: plaintext or unverified DB\u002Fcache\u002FSMTP is rejected, not\n  warned about.\n- Do not add or widen a static-secret export in CI, and do not add a production deploy path with no approval\n  gate.\n\n---\n\n## Gotchas\n\n- **Grepping for the secret's name finds the wrong half of the problem.** The two real leaking lines were\n  caught because their message happened to contain the word \"token\"; the same call with the message \"db\n  lookup failed\" is invisible to that grep and just as dangerous. Check **what is handed to the logger**, not\n  what the sentence says.\n- **\"It's behind the gateway\" is not auth.** Every audit finding above was in a service someone believed was\n  private.\n- **A green test suite proves nothing here** if the tests are not mounted in CI. Check that the security\n  tests actually run before trusting them.\n- **Documentation that teaches the broken pattern reopens the defect.** When you fix instances of a pattern,\n  fix the example in the project docs in the same PR, or the next query will reintroduce it.\n- **Fix the form, not the instance.** Scan for the *shape* of the bug across the codebase (every `*_languages`\n  join, every `fetch(` without a signal) rather than the one case the report named.\n- **An exception is one line with a written reason**, in the allow-list — never a widened regex.\n\n## Final report\n\n```\nSecurity review: \u003Cn> files  ·  \u003Cn> critical  ·  \u003Cn> blocking  ·  \u003Cn> notes\nAPI-SEC-AUTH-001   PASS | FAIL \u003Cfile:line — what and the fix>\nAPI-SEC-IDOR-001   …\nAPI-SEC-SECRET-001 …\nAPI-SEC-LOG-001 · API-SEC-ENV-001 · API-SEC-SQL-001 · API-SEC-LIMITS-001\nAPI-SEC-OUTPUT-001 · API-SEC-TRUST-001 · API-SEC-SUPPLY-001\nNot applicable to this diff: \u003Crules>\nVerdict: BLOCKED | OK TO COMMIT\n```\n","# API security review\n\nTen checks to run **before committing** a change to an API, and when reviewing a PR. Each one carries the\nmistake that produces it: these are failure modes that have been seen in production code, not items from a\ngeneric checklist.\n\nThe complete rules, with identifiers and rationale, are in [`references\u002Frules.md`](references\u002Frules.md).\nRead it when a check fires and you need the full reasoning, or when you have to decide whether something is\na real exception.\n\n---\n\n## 0. How to run it\n\n```bash\ngit diff --cached --name-only --diff-filter=ACMR | grep -E '\\.(ts|js|mjs)$'\n# empty? then: git diff --name-only\n```\n\nApply the relevant checks to those files. **For every violation: block the commit**, name the rule, propose\nthe fix. Skip a check that does not apply to the diff — do not report it as passed.\n\n**A pre-screen is a screen, not a verdict.** Each one is tuned to surface candidates, and a healthy codebase\nstill produces hits: they are the compliant implementations of the very rule being checked. Where that\nhappens, the check below shows what a compliant hit looks like — recognise it, say so in one line, move on.\nA check that reports 40 lines every time gets ignored, and then it protects nothing.\n\nSeverity: a violation of checks 1, 2, 3 or 5 is **critical** — each of them is, on its own, enough to expose\ndata or credentials. The others block the commit but can be discussed.\n\n---\n\n## 1. Auth on every mutating route — `API-SEC-AUTH-001`\n\nEvery POST\u002FPUT\u002FPATCH\u002FDELETE endpoint is authenticated, and every route group has an auth middleware.\n\n```bash\n# commented-out auth: this is exactly how three endpoint groups became public\ngrep -rnE '^\\s*\u002F\u002F\\s*.*\\.use\\(\\s*\\w*[Aa]uth\\w*' src\u002Froutes src\u002Fapp\n# wildcard auth inside a sub-app (see the flattening gotcha below)\ngrep -rnE '\\.use\\(\"\\*\",\\s*\\w*[Aa]uth' src\u002Froutes\n```\n\n- **A commented-out auth line is a critical bug**, never a temporary state.\n- **Internal\u002Fdebug endpoints are deleted, not gated.**\n- **Authentication is not authorization.** A middleware that resolves \"any valid user token\" lets a customer\n  through on a back-office endpoint. Staff-only routes need a **positive role check** after it.\n- Prefer a **positive role allow-list** (`[\"SALES_ASSOCIATE\",\"admin\"]`) over a negative predicate (\"has no\n  customer row\"): the negative form both under-blocks generic internal accounts and over-blocks hybrid users\n  who are staff *and* customers.\n- **Hono flattening gotcha:** when several sub-apps mount on the same prefix, `route.use(\"*\", authMw)`\n  **inside** a sub-app leaks to its siblings. Apply auth on the **exact path** where the app is composed.\n  The grep flags every `use(\"*\", …auth…)`, so before calling it a violation check the two things that make it\n  one: **is the prefix shared** with other sub-apps, and **is it a gate**? A wildcard `optionalAuthMiddleware`\n  on a sub-app with its own prefix is neither — it populates the context, it does not block.\n\n\n**Audit every equivalent mutating route, not only the newest one.** When a second import, upload or\nprovisioning path exists for the same resource, the controls added to the one built last are routinely\nabsent from the one built first — and the old path is still wired. List the routes that mutate a given\nresource and compare their middleware stacks side by side, rather than reviewing the one in the diff.\n\n**A permissive cross-origin default on a control plane is an opening.** An administrative API that answers\nwith a wildcard origin while authenticating with cookies or credentials has given every site the ability to\nact for a logged-in operator. Default to same-origin, allow exact configured origins, vary the cache by\norigin, and reject a disallowed cross-origin state-changing request **before** the route handler runs.\n\n## 2. Ownership from the authenticated id — `API-SEC-IDOR-001`\n\n```bash\ngrep -rnE 'valid\\(\"(query|json|param)\"\\)' src\u002Fcontrollers | grep -iE 'user|customer|client|order|receipt|return|device|lock|lease'\n```\n\nThe owner id comes **only** from the authenticated context. Never trust an id from query\u002Fbody\u002Fparam for\nownership — scope the SQL to the authenticated id.\n\n- A nested sub-resource with no owner column needs an **explicit ownership join**; \"the parent was checked\"\n  is not a guarantee.\n- An identifier is not a credential: a `device_id` or a `lease_token` proves nothing on its own. Bind the\n  lease to `(token, expiry, resource, owner)` and verify it against the authenticated identity.\n- On mutations: `SELECT … FOR UPDATE`, verify ownership **inside** the transaction, check `affectedRows`, and\n  make a mismatch an **idempotent no-op \u002F 404** — a distinguishable error turns the endpoint into an\n  existence oracle.\n\n## 3. No secrets or PII in responses — `API-SEC-SECRET-001`\n\n```bash\ngrep -rnE 'FROM settings' src\u002Fquery\ngrep -rniE 'select .*(password|secret|token|api_?key|private_key)' src\u002Fquery\ngrep -rnE 'SELECT \\*' src\u002Fquery\n```\n\n**Why this rule is first:** a credential in a settings table is one public endpoint away from being handed\nout. Settings are read by many callers and are the kind of table nobody re-reviews, so a key that lands\nthere is served to whoever asks — and a leaked deploy credential means someone else can ship your code.\n\n- Secrets do not live in a settings table. Until they move to a key store, the runtime filter is the only\n  barrier — and no endpoint may bypass it.\n- **Allow-list the response fields.** Never return whole rows; mask credential columns to `null`. The\n  `SELECT *` grep also hits derived tables (`SELECT * FROM ( … ) x`), which never reach the client: what the\n  rule is about is the **projection returned to the caller**, not every star in the file.\n- A **permissive allow-list is a trap**: combine an exact deny-list *with* name and value detectors. Do not\n  \"allow everything not explicitly secret\".\n- Strip identity fields from public projections and honour \"hidden\" flags **fail-closed**.\n\nIf the project has a secret classifier, three ordering rules are load-bearing (each one is a bug that already\nhappened — the details are in `references\u002Frules.md`):\n\n1. **The inclusion allow-list runs before the value scan**, otherwise a legitimate key that merely *looks*\n   like a secret gets filtered and the safety belt becomes the outage.\n2. **A name exemption is anchored to its own dot-segment**, otherwise an innocuous word anywhere in the key\n   disarms the match everywhere — fail-open, and silent.\n3. **Exclusions match exactly**, never as substrings.\n\nFiltering is **never silent**: log every removal once per key with the deciding rule.\n\n## 4. Logs and telemetry without secrets or PII — `API-SEC-LOG-001`\n\n```bash\n# 1. a secret named in the log call\ngrep -rniE 'logger\\.(info|debug|warn|error)\\(.*(token|cookie|authorization|password|session|email|JSON\\.stringify\\((headers|req|request|body|row))' src\n# 2. an OBJECT handed to the logger — the case the first grep cannot see\ngrep -rnE 'logger\\.(error|warn|info|debug)\\([^)]*,\\s*(err|error|e)\\)' src \\\n  | grep -viE 'sanitize|redact|safeError|\\.message'\ngrep -rnE 'console\\.(log|error|warn|info|debug)\\(' src --include=*.ts | grep -v '\\.test\\.ts'\n```\n\nNever log `Authorization`\u002FBearer, cookies, API secrets, tokens, passwords, auth bodies, or national id \u002F\nVAT \u002F email. Log non-sensitive markers instead (`has_session_cookie=true`). No `console.*` in runtime paths.\n\n> The invariants behind this check — and the fact that the redaction goes in a **different place** depending\n> on the stack — are in **`padosoft-logging-discipline`**. Read it when the finding is about what ends up in\n> a log line; what follows here is the API-specific part.\n\n⚠️ **The second grep is the one that matters, and it is noisy on purpose.** Grep 1 reads the *message*; the\nleak is usually in the *object*. Narrow it to the dangerous context — a `catch` around a database call:\n\n```bash\nfor f in $(grep -rlE 'logger\\.(error|warn)\\([^)]*,\\s*(err|error|e)\\)' src); do\n  grep -qE 'client\\.execute|getConnection' \"$f\" && echo \"$f\"\ndone\n```\n\n**A driver error object carries the query already formatted, with the bound values substituted.** In mysql2\nthat is `err.sql`. So `logger.error(\"db lookup failed:\", err)` on a query bound with `:tokenHash` writes the\ntoken hash into the log — an equivalent of the token for anyone reading, enough to find the row in the token\ntable. And the branch that logs is the **failure** branch: exactly the one people open when something breaks,\ncopy into a ticket and paste into a chat.\n\nDo not redact the whole thing — that makes the logs useless precisely when they are needed. Keep what\ndiagnoses (`code`, `errno`, `message` truncated) and drop `sql`, `sqlMessage` and the stack:\n\n```ts\nexport function safeDbErrorDetails(err: unknown) {\n    if (typeof err !== \"object\" || err === null) return { code: \"UNKNOWN\" };\n    const e = err as { code?: string; errno?: number; message?: string };\n    return { code: e.code, errno: e.errno, message: e.message?.slice(0, 200) };\n}\n```\n\n*This is a real finding: the line existed, the previous commit had left it untouched, and its comment\ndeclared it already safe.*\n\nTelemetry: never export a **raw** query string, a client IP read straight from a header, or a raw exception.\nSanitize the query (redact credential-like keys, email-shaped values, blobs), truncate the user agent, and\nreplace exceptions with a neutral error **after** the handler has built the response, so the real status and\npayload survive.\n\n## 5. Environment gates must be fail-SAFE — `API-SEC-ENV-001`\n\n```bash\n# the PARSED value only: a raw process.env read is the correct form, do not flag it\ngrep -rnE '(^|[^.[:alnum:]_])env\\.NODE_ENV\\s*(===|!==)' src | grep -v 'process\\.env'\n```\n\nIf the env schema defaults `NODE_ENV` to `\"development\"`, a production deploy that simply **omits** it makes\nevery `env.NODE_ENV !== \"production\"` gate **fail-open** — debug output and mock auth in production.\n\n```ts\n\u002F\u002F WRONG — fail-open when NODE_ENV is unset in prod\nif (env.NODE_ENV !== \"production\") returnDebugInfo();\n\u002F\u002F RIGHT — fail-closed, from raw process.env; unknown counts as production\nexport const isNonProdRuntime = new Set([\"development\", \"test\"]).has(process.env.NODE_ENV ?? \"\");\nif (isNonProdRuntime) returnDebugInfo();\n```\n\nMock auth must **abort startup** unless the raw `NODE_ENV` is exactly `development`\u002F`test`.\n\n## 6. Bound SQL — `API-SEC-SQL-001`\n\n```bash\n# exclude the sanctioned forms, or the signal drowns: on a clean codebase the raw\n# grep returned 89 hits, of which ~45 were generated placeholders and offsets\ngrep -rnE \"(WHERE|SELECT|LIKE|VALUES|SET|ORDER BY)[^\\n]*\\$\\{\" src\u002Fquery \\\n  | grep -viE '\\$\\{([a-zA-Z_]*[Pp]laceholders|ph|offset|safeOffset|limit)\\}'\ngrep -rnE \"'\\\\\\$\\{\" src\u002Fquery          # a literal '${x}' is injection too\ngrep -rn 'client.query(' src           # use the parameterized execute\n```\n\nAlways named bound params. **A SELECT literal is injection as well**: `'${lang}' as lang` is a hole.\n\nNarrow exceptions: `LIMIT`\u002F`OFFSET` only if they are schema-coerced numbers; column name and sort direction\nonly through an allow-list plus a ternary; `IN (…)` through a placeholder builder — and **merge** the params\nit returns.\n\n**What a compliant hit looks like** — recognise it and move on, instead of re-investigating it on every\ncommit:\n\n```ts\nconst sortCol  = SORT_COLUMN_WHITELIST[f.sort] ?? \"bc.updated_at\";   \u002F\u002F ✅ allow-list + fallback\nconst orderDir = f.order === \"asc\" ? \"ASC\" : \"DESC\";                 \u002F\u002F ✅ ternary, two outcomes\nconst op       = getDbOperatorByQueryStringOp(input.operator);       \u002F\u002F ✅ mapper, not the raw string\nsql += ` ORDER BY ${sortCol} ${orderDir} LIMIT ${f.perPage} OFFSET ${offset}`;\n```\n\nThe three questions for a remaining hit: does the value come from the request? If yes, does it pass through\nan allow-list or a ternary? If it is a number, is it coerced by the schema? Three yeses, it is fine.\n\n⚠️ `LIMIT`\u002F`OFFSET` are often interpolated **deliberately**: mysql2 does not bind them as named placeholders.\nDo not \"fix\" one back into `:limit` — the query breaks. Check the coercion instead.\n\nAdjacent correctness trap, same file: in a translation join, put the language filter **inside that join's own\n`ON`**. On a second `LEFT JOIN` it cannot reduce rows — it only nulls the non-matching ones, so the query\nreturns N rows per source row. That inflates paginated responses *and* makes `rows[0]` without `ORDER BY`\nreturn the translated row only sometimes: the bug filed as \"sometimes it doesn't translate\" that nobody\ncloses. With a single language both forms look identical, which is why it survives.\n\n## 7. Structural resource caps — `API-SEC-LIMITS-001`\n\n```bash\ngrep -rnE 'fetch\\(' src | grep -viE 'signal|timeout|AbortSignal'\n```\n\nEvery attacker-controlled collection, body, cursor, cache and outbound fetch needs an explicit cap **before**\nthe business logic runs. Reference values that worked: 16 MiB body, 100 items per batch (dedup first), 64 KiB\ncursor with a mandatory expiry, 8 MiB response, 10s end-to-end fetch deadline held until the body is\nconsumed, bounded LRU + TTL for in-memory caches, recursion depth capped, stable `ORDER BY` with a max\n`LIMIT` on paginated reads.\n\nPer-identity rate limiting, if present:\n\n- **Mount it after the route's auth**, so the bucket is the authenticated identity and not a shared NAT IP.\n- Put the numbers in a **policy table**, not inline at the mount site: the policy name is part of the key, so\n  a duplicate name silently merges two quotas.\n- The PII-enumeration endpoint (a customer search) stays the strictest policy.\n- A limiter that **fails open** when its store is down is a deliberate choice, not a bug: rate limiting is an\n  availability control and authorization is upstream. Do not \"fix\" it to fail closed without a decision.\n- Never log the identity value — log its *kind*. An IP is personal data.\n\n\n**A process-local counter protects one process.** With more than one replica, the window has to be decided\nby shared storage — serialised inside a transaction, or on a store that can make the decision atomically.\nThe in-process fallback is fine for development, and it does not support a claim about production. Key the\nlimit on the tenant or the credential, never on a client-supplied address header.\n\n## 8. Injection into downstream consumers — `API-SEC-OUTPUT-001`\n\n```bash\ngrep -rniE 'javascript:|vbscript:|data:' src\u002Fservices src\u002Frepositories\ngrep -rnE '\\.csv|text\u002Fcsv|writeCsv|toCsv|join\\(\",\"\\)' src\n```\n\nA stored URL that will later be rendered or redirected to: reject `javascript:`, `data:`, `vbscript:`,\n`file:`, protocol-relative `\u002F\u002Fhost`, embedded credentials and CRLF — **on write and on read**. Rows already\nin the database were written before the validation existed.\n\nCSV: a cell starting with `=`, `+`, `-` or `@` (also after whitespace or a BOM) is executed as a formula by\nspreadsheet apps. Use an RFC 4180 encoder that neutralizes formulas; never hand-concatenate CSV.\n\n## 9. No trust from caller input — `API-SEC-TRUST-001`\n\n```bash\ngrep -rniE 'header\\(\\s*[\"'\"'\"']?(x-session-token|is_logged_in|cf-connecting-ip|x-forwarded-for|x-real-ip|x-client-ip)' src\ngrep -rniE 'etag|if-none-match|304' src\u002Fmiddlewares\n```\n\n- Privileged claims (audience, embargo, \"is logged in\") are **signed**, not query params: HMAC-SHA256 over\n  timestamp + method + exact URL, short anti-replay window, timing-safe compare, fail-closed with no secret.\n- An explicit `Authorization` header takes **absolute precedence** and never downgrades to an ambient session\n  cookie.\n- **The client address is a two-hop model.** At the edge, the trustworthy header is the one the platform\n  sets itself. At the origin, that same header now carries the **edge's** address, so the origin reads what\n  the edge forwarded instead — and that value is only trustworthy while the origin refuses traffic that did\n  not come through the edge. See **`padosoft-edge-worker-security`**.\n- Read the client IP through **one helper**, from the single header your edge actually sets, and validate the\n  charset. Behind a proxy that forwards, the hop-by-hop headers are the *proxy's* address. Even the right\n  header is spoofable unless the origin only accepts traffic from that edge (mTLS or IP allow-list) — so\n  per-IP limits are an obstacle, not a barrier.\n- **An allowlist on the initial URL does not survive a redirect.** Disable automatic following, validate\n  the destination against the same explicit allowlist, reject credential-bearing URLs, and surface the\n  blocked response as evidence instead of silently following it.\n- **Redirect safety is not name-resolution safety.** Re-checking the allowlist at send time and disabling\n  redirects is necessary and is not protection against a destination that resolves inward; that belongs in\n  a connection-aware egress layer, and claiming it from a portable client wrapper is claiming something you\n  do not have.\n- **When the caller is a browser you drive, constrain the whole context, not the navigation.** Validating\n  the URL handed to a navigation call says nothing about redirects, subresources or form-triggered\n  requests: install the network policy on the context before the page exists, and abort anything that is\n  not allowlisted.\n- Cache: default `private`\u002F`no-store`; any `Authorization`\u002F`Cookie` forces it. Evaluate `If-None-Match`\n  **after** auth, never before — and derive the ETag from the body only once the handler has run.\n\n## 10. Supply chain and build — `API-SEC-SUPPLY-001`\n\n- Pin images and CI actions to a **digest\u002FSHA**, never a floating tag.\n- Build secrets through secret mounts; never write a token into a layer or a committed `.env`.\n- Frozen, lockfile-exact production install.\n- Distroless base, non-root, read-only runtime artifacts, deploy by immutable digest.\n- Transport policy **fail-closed in production**: plaintext or unverified DB\u002Fcache\u002FSMTP is rejected, not\n  warned about.\n- Do not add or widen a static-secret export in CI, and do not add a production deploy path with no approval\n  gate.\n\n---\n\n## Gotchas\n\n- **Grepping for the secret's name finds the wrong half of the problem.** The two real leaking lines were\n  caught because their message happened to contain the word \"token\"; the same call with the message \"db\n  lookup failed\" is invisible to that grep and just as dangerous. Check **what is handed to the logger**, not\n  what the sentence says.\n- **\"It's behind the gateway\" is not auth.** Every audit finding above was in a service someone believed was\n  private.\n- **A green test suite proves nothing here** if the tests are not mounted in CI. Check that the security\n  tests actually run before trusting them.\n- **Documentation that teaches the broken pattern reopens the defect.** When you fix instances of a pattern,\n  fix the example in the project docs in the same PR, or the next query will reintroduce it.\n- **Fix the form, not the instance.** Scan for the *shape* of the bug across the codebase (every `*_languages`\n  join, every `fetch(` without a signal) rather than the one case the report named.\n- **An exception is one line with a written reason**, in the allow-list — never a widened regex.\n\n## Final report\n\n```\nSecurity review: \u003Cn> files  ·  \u003Cn> critical  ·  \u003Cn> blocking  ·  \u003Cn> notes\nAPI-SEC-AUTH-001   PASS | FAIL \u003Cfile:line — what and the fix>\nAPI-SEC-IDOR-001   …\nAPI-SEC-SECRET-001 …\nAPI-SEC-LOG-001 · API-SEC-ENV-001 · API-SEC-SQL-001 · API-SEC-LIMITS-001\nAPI-SEC-OUTPUT-001 · API-SEC-TRUST-001 · API-SEC-SUPPLY-001\nNot applicable to this diff: \u003Crules>\nVerdict: BLOCKED | OK TO COMMIT\n```\n",{"name":5,"license":14,"metadata":23,"description":7,"compatibility":31},{"scope":24,"author":25,"summary":26,"version":27,"keywords":28,"profiles":29,"repository":30},"project","Padosoft","Ten checks on an API change, each carrying the mistake that produces it.","0.3.0","security, api, audit, auth, idor, secrets, sql injection, rate limit, owasp, review","api, node","https:\u002F\u002Fgithub.com\u002Fpadosoft\u002Fskills","Any HTTP API. The grep pre-screens assume a POSIX shell and a TypeScript\u002FJavaScript codebase; the rules themselves are language-agnostic. Some notes are specific to Hono, and are marked as such.","main","8ff266762b08cab7f5be5551fa221309dc9db48b","skills\u002Fpadosoft-api-security-review",0,"https:\u002F\u002Fgithub.com\u002Fpadosoft","https:\u002F\u002Fwww.padosoft.com","Software House","2026-10-19 01:02:17",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add padosoft\u002Fskills --skill padosoft-api-security-review",{"tool":46,"command":47},"bunx","bunx skills add padosoft\u002Fskills --skill padosoft-api-security-review",{"tool":49,"command":50},"pnpm","pnpm dlx skills add padosoft\u002Fskills --skill padosoft-api-security-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpadosoft\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpadosoft-api-security-review\u002FSKILL.md",true,[54,60],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"evals\u002Fqueries.json","REFERENCE","参考文档",1960,"https:\u002F\u002Fgithub.com\u002Fpadosoft\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpadosoft-api-security-review\u002Fevals\u002Fqueries.json",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Frules.md",20299,"https:\u002F\u002Fgithub.com\u002Fpadosoft\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpadosoft-api-security-review\u002Freferences\u002Frules.md",[65,72,78,85,92,98],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7CZNKCTMWK7F2J6KKPAR8YM","report-opus","Writes the weekly status report from the team's tickets. Use when the user asks for the weekly report or a status summary. Do not use it for incident reports.","https:\u002F\u002Fgithub.com\u002Fpadosoft\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-audit\u002Fproject\u002Fdot-claude\u002Fskills\u002Freport-opus\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7CZNFEN8XK6S8NC6KGREYGS","report-haiku","https:\u002F\u002Fgithub.com\u002Fpadosoft\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-audit\u002Fproject\u002Fdot-claude\u002Fskills\u002Freport-haiku\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M7CZND182TKGGM7R4134ND00","kitt-stub","Builds the guided-tour reference for an admin page. Use when the user asks for the tour reference. Trigger \"tour\", \"reference\", \"guided tour\".","https:\u002F\u002Fgithub.com\u002Fpadosoft\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-audit\u002Fproject\u002Fdot-claude\u002Fskills\u002Fkitt-stub\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7CZN9F2A6BFTFW5RSRNAGB1","good-skill","Generates the release notes of a project from its merged pull requests. Use this skill when the user asks for release notes, a changelog entry or a summary of what shipped since the last tag. Do not use it to write commit messages, that is the job of a commit skill.","https:\u002F\u002Fgithub.com\u002Fpadosoft\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-audit\u002Fproject\u002Fdot-claude\u002Fskills\u002Fgood-skill\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M7CZN6BJASPD4DH8DFR63GQF","broken-frontmatter","https:\u002F\u002Fgithub.com\u002Fpadosoft\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-audit\u002Fproject\u002Fdot-claude\u002Fskills\u002Fbroken-frontmatter\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":18},"01M7CZN498TRNC30GSYMMAZNXM","Bad_Skill","I can help you with reports.","https:\u002F\u002Fgithub.com\u002Fpadosoft\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-audit\u002Fproject\u002Fdot-claude\u002Fskills\u002Fbad-skill\u002FSKILL.md",[],[]]