push-secret-scan SKILL.md skillA

push-secret-scan from mrbinnacle/skill-harness is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add mrbinnacle/skill-harness/push-secret-scan@git:20260922.d0ff304

Pins git:20260922.d0ff304 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
mrbinnacle/skill-harness
Path
scripts/screens/419/v4_arms/placebo/push-secret-scan/SKILL.md
Versions recorded
1
Latest version
git:20260922.d0ff304, committed Sep 22, 2026
Size
4,672 bytes
Repository stars
16
License
MIT

Use before `git push` where the repository holds config files. A `.gitignore` entry does NOT stop `git add -f` (silently accepted); a tracked `.env` publishes its credential to every clone. Scan tracked files first.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# push-secret-scan

This card ships three parts: an explanation of the trap, prevention by an adopter-owned scanner, and the recovery runbook below. It deliberately ships no executable scanner. Enforcement that must fire belongs in the adopter's environment; the card remains the model-invocable reference.

## The trap

A `.gitignore` entry does **not** remove a file that is already tracked, and it does not stop `git add -f`. The ignore rule applies to *untracked* paths only; once a path is in the index, git keeps recording every change to it, and the ignore rule is silently skipped.

When a credential file has been tracked at any point (e.g., a `.env` added before the ignore rule existed), the push sends that credential to every clone of the remote. Any system that trusted the credential is now exposed and must be rotated.

## When this fires

Any of these conditions:

- `git ls-files` lists a path that also matches a `.gitignore` pattern
- The tree contains `.env`, `*.pem`, `*.key`, `id_rsa`, or `credentials.json`
- A `config` or `settings` file assigns a literal to a name ending in `_KEY`, `_TOKEN`, or `_SECRET`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mrbinnacle/skill-harness/push-secret-scan@sha256:38edb7b90a3a5d2c

The line at the top of this page pins the label git:20260922.d0ff304, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_q7tpqzc4af3xjgfh.svg)](https://markdownregistry.com/a/art_q7tpqzc4af3xjgfh)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Sep 22, 2026.

versioncommittedcommitsizeaudit
git:20260922.d0ff304 latest2026-09-22 d0ff304 4,672 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4672 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

mrbinnacle/skill-harness · 16 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_q7tpqzc4af3xjgfh
GET https://markdownregistry.com/api/v1/resolve?ref=mrbinnacle/skill-harness/push-secret-scan
GET https://markdownregistry.com/api/v1/blob/38edb7b90a3a5d2cb21b07825bf37bb8e261e6fc0c61ce07fce0e28b7c7db0d4

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from mrbinnacle/skill-harness

AGENTS.md AGENTS.md file
mrbinnacle/skill-harness · AGENTS.md
git:20261107.500a82a · audit A · 16 stars
DESIGN.md@docs/design DESIGN.md file
mrbinnacle/skill-harness · docs/design/DESIGN.md · Compares one task with a skill and without it.
git:20261029.9d6cdcc · audit A · 16 stars
pull-rebase SKILL.md skill
mrbinnacle/skill-harness · scripts/screens/419/v4_arms/full/pull-rebase/SKILL.md · Use before `git pull` where `pull.rebase` may be `true`. `--no-ff` does NOT stop a rebase under `pull.rebase=true`…
git:20261019.0bcb9bd · audit A · 16 stars
parse-csv SKILL.md skill
mrbinnacle/skill-harness · scripts/screens/419/v5_arms/placebo/parse-csv/SKILL.md · Use before opening a CSV where a column may hold IDs. Quoting does NOT stop a spreadsheet's number parse (silently…
git:20260923.bd0c453 · audit A · 16 stars
declared-synthetic-positive-control SKILL.md skill
mrbinnacle/skill-harness · tests/fixtures/sers/declared-synthetic-positive-control/SKILL.md · Declared synthetic positive control. Carries one invented fact so a Full-vs-Null contrast has a real effect by…
git:20260830.3bc5dde · audit A · 16 stars

Every file in mrbinnacle/skill-harness

Browse by kind, by grade A, or by owner.