CAT PAW

All workflows

Incident Response

Remediate a Leaked Repository Secret

A leaked credential is revoked, misuse is investigated, dependent services are safely updated, and recurrence is reduced.

The process

Work it in this order.

  1. Open an incident and identify the secret type, provider, repository, exposure path, visibility, commit history, forks, logs, and affected owner without copying the value into tickets or chat.
  2. Revoke or disable the exposed secret at the issuing provider immediately; do not rely on deleting the commit because prior copies may persist.
  3. Create a replacement with minimum permissions and appropriate expiry, update approved secret stores and dependent services, then verify operation.
  4. Review provider, repository, CI, cloud, and application logs for use from the earliest plausible exposure through revocation, and escalate suspicious activity.
  5. Remove the secret from current code and configuration; decide with repository administrators whether history rewriting is necessary and coordinate its disruptive effects.
  6. Add secret scanning, push protection, ignore rules with review, and safer injection patterns; search authorized related repositories for the same exposure.
  7. Document timeline, impact, rotations, evidence, and prevention actions, then close only after the old credential is unusable and services use the replacement.

Bring this

Inputs the cat will ask for.

  • Secret-scanning alert or repository reference
  • Credential provider and owner
  • Authorized repository and provider access
  • Dependent service list

Router + one playbook

Route first. Choose one.

Cat Paw loads one playbook per task rather than merging several. Start with this router; the remaining paths are workflow-specific candidates it can inspect.

  • Router: cybersecurity-pack
  • skills/cybersecurity-skills/implementing-secret-scanning-with-gitleaks/SKILL.md
  • skills/cybersecurity-skills/implementing-secrets-scanning-in-ci-cd/SKILL.md

Guardrails

The boundaries travel with the prompt.

  • Never paste, print, transmit, or store the secret value in reports or conversation.
  • Treat the credential as compromised and revoke it before repository cleanup.
  • Coordinate history rewrites and production rotations with owners; do not break consumers or erase forensic evidence.

Done means

A checkable finish.

The leaked credential fails validation, all known consumers use a least-privilege replacement, misuse review is documented, and preventive scanning or controls are active.

Sources

Where this process came from.

  1. docs.github.com/en/code-security/tutorials/remediate-leaked-secrets/remediating-a-leaked-secret
  2. docs.github.com/en/code-security/concepts/secret-security/secret-scanning

Sources establish the workflow pattern. Reddit and community posts, where present, are treated as practitioner anecdotes rather than universal facts.

AI acts. You decide.

A human brake for AI.

Latch shows every command, click, and file change before it happens — so you can say yes, no, or not yet.

Plow Latch · macOS Cat Paw Latch · Windows + Linux · build from source
Cat Paw Latch

Behind the number

Two harnesses. One line.

Same number, same $100 credit. Pick the harness that answers when you text.

Hermes

Nous Research's terminal-native agent. It runs on your machine, keeps memory between sessions, and opens one playbook per task.

Text Hermes
OpenClaw

The open-source assistant that runs on your own computer and answers in the channels you already use. One playbook per task.

Text OpenClaw

One line for both harnesses +1 628 246 3032

Opens Messages with that harness already chosen.