secret-scan SKILL.md skillA
secret-scan from perrylink/dsh-skill-pack-security is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add perrylink/dsh-skill-pack-security/secret-scan@v2.2.25Pins v2.2.25 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- perrylink/dsh-skill-pack-security
- Path
skills-en/secret-scan/SKILL.md- Versions recorded
- 13
- Latest version
- v2.2.25, committed Oct 31, 2026
- First version recorded
- Sep 7, 2026
- Size
- 7,858 bytes
- Repository stars
- 22
- License
- Apache-2.0
Credential/secret exposure audit: gitleaks and trivy full-history scan commands and arguments, false-positive alert tiers, the redacted-report spec, and the remediation flow ordered rotate → revoke → purge history → CI gate. Use for detecting secrets/tokens/passwords/private keys in a repository, investigating leaked history commits, judging whether scan alerts are real, or writing a leak report; ordinary code review unrelated to credentials does not use this skill.
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
# Secret scanning (secret-scan) Goal: find real credentials in a repository (including its history) and drive remediation. Hard discipline: **no secret plaintext may appear in any output, report, or log**. ## 1. Tool readiness ```sh gitleaks --version trivy --version trufflehog --version ``` Sample output (use the machine's actual output): `gitleaks version 8.24.3` / `Version: 0.61.0` / `trufflehog 3.88.12`. Criterion: exit code 0 = available; non-zero or `command not found` = not installed. Installation (if it cannot be installed, skip and use the Section-4 degraded grep, noting it in the report): ```sh # Windows: scoop install gitleaks trivy trufflehog (or winget install Gitleaks.Gitleaks AquaSecurity.Trivy TruffleSecurity.Trufflehog) # macOS/Linux: brew install gitleaks trivy trufflehog ``` Write the actual version numbers into the report (a prerequisite of a reproducible audit). ## 2. Full-history scan (the default path) ```sh gitleaks detect --source . --report-format json --report-path .gitleaks-report.json --redact -v ``` - Exit code: 0 = nothing found; **1 = findings, but also possibly a configuration/argument error** — stderr must be read to tell them apart. …
Read the whole file at its exact version.
How to install
mdr add perrylink/dsh-skill-pack-security/secret-scan@sha256:b2d7cf1857f807eaThe line at the top of this page pins the label v2.2.25, 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.
[](https://markdownregistry.com/a/art_xgldkfdkvugmzzh4)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 13 versions of this file, between Sep 7, 2026 and Oct 31, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.2.25 latest | 2026-10-31 | af6b35f | 7,858 B | A | view · diff |
| v2.2.24 | 2026-10-10 | 0c1deb8 | 7,858 B | A | view · diff |
| v2.2.23 | 2026-10-10 | a5f8d45 | 7,858 B | A | view · diff |
| v2.2.22 | 2026-10-05 | 008bf2e | 7,858 B | A | view · diff |
| v2.2.20 | 2026-10-05 | 6b2adfe | 7,858 B | A | view · diff |
| v2.2.19 | 2026-10-04 | 380880e | 7,858 B | A | view · diff |
| v2.2.18 | 2026-10-04 | 8761f0d | 7,858 B | A | view · diff |
| v2.2.17 | 2026-09-24 | f926448 | 7,858 B | A | view · diff |
| v2.2.16 | 2026-09-12 | 8e74c4d | 7,858 B | A | view · diff |
| v2.2.14 | 2026-09-10 | d6120c8 | 7,858 B | A | view · diff |
| v2.2.13 | 2026-09-09 | 6ffdda7 | 7,858 B | A | view · diff |
| v2.2.12 | 2026-09-09 | dd3da11 | 7,858 B | A | view · diff |
| v2.2.10 | 2026-09-07 | 4430c52 | 7,858 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7858 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
perrylink/dsh-skill-pack-security · 22 stars · license Apache-2.0 · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_xgldkfdkvugmzzh4 GET https://markdownregistry.com/api/v1/resolve?ref=perrylink/dsh-skill-pack-security/secret-scan GET https://markdownregistry.com/api/v1/blob/b2d7cf1857f807eada477632941b28c1b9505f0cac79d5189c8a829b692260e9
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 perrylink/dsh-skill-pack-security
Every file in perrylink/dsh-skill-pack-security