secret-warn SKILL.md skillF
secret-warn from mycelium-hq/ai-brain-starter is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mycelium-hq/ai-brain-starter/secret-warn@git:20260929.b3e7207Pins git:20260929.b3e7207 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- F, 14 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mycelium-hq/ai-brain-starter
- Path
skills/secret-warn/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260929.b3e7207, committed Sep 29, 2026
- First version recorded
- May 19, 2026
- Size
- 9,873 bytes
- Repository stars
- 50
- License
- MIT
Use when adding or tuning edit-time secret and code-injection guardrails or security hooks in Claude Code, or on mentions of secret detection, API key safety, hardcoded or leaked keys (AWS, Stripe, GCP, OpenAI, Anthropic, GitHub, Slack, JWT, PEM, .env), gitleaks-style or pre-commit secret scanning, false positives or allowlists, unsafe pipe-to-shell or MCP server installs, or prompt injection in audited third-party content (README, AGENTS.md). Not for full security audits, pen testing, or DLP.
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-warn — real-time edit-time security guardrails Catches secrets and unsafe patterns the moment a Claude Code agent writes them, not after the fact. Public substrate version (MIT). Free to install, free to extend. ## What it does | Trigger | Severity | Action | |---|---|---| | API key in file (Stripe, AWS, GCP, OpenAI, Anthropic, GitHub, Slack) | block (exit 2) | Edit rejected | | PEM-encoded private key block | block | Edit rejected | | High-entropy assignment to a key-named variable | warn (exit 1) | Advisory, edit proceeds | | Python dynamic-codegen on a user-input-suggesting name | warn | Advisory | | Subprocess with shell-mode + variable expansion | warn | Advisory | | Curl/wget pipe-to-shell from a non-allowlisted host | block | Edit rejected | | Prompt-injection cue in *audited third-party content* (ignore-previous, role-override, exfil, system-impersonation, paste-and-run) | warn (flag-before-read) | Specimen flag via `audited_content_scan.py` — never an edit-time block | …
Read the whole file at its exact version.
How to install
mdr add mycelium-hq/ai-brain-starter/secret-warn@sha256:ae907be9eb613315The line at the top of this page pins the label git:20260929.b3e7207, 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_fjmubvlf4vf7rv5q)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between May 19, 2026 and Sep 29, 2026, about one every 44 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260929.b3e7207 latest | 2026-09-29 | b3e7207 | 9,873 B | F | view · diff |
| git:20260707.f0ac903 | 2026-07-07 | f0ac903 | 8,376 B | F | view · diff |
| git:20260622.dbfb592 | 2026-06-22 | dbfb592 | 8,921 B | F | view · diff |
| git:20260519.2f1303d | 2026-05-19 | 2f1303d | 6,414 B | F | view |
Audit of the latest version
- FAIL, critical: No credential-shaped string (matched: AKIAIOSFODNN7EXAMPLE)
- FAIL, critical: No instruction to send local credentials anywhere (matched: exfiltrate `~/.ssh)
- fail: No prompt-injection phrasing (matched: ignore prior instructions)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9873 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 text hidden with inline styles
- 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
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
mycelium-hq/ai-brain-starter · 50 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_fjmubvlf4vf7rv5q GET https://markdownregistry.com/api/v1/resolve?ref=mycelium-hq/ai-brain-starter/secret-warn GET https://markdownregistry.com/api/v1/blob/ae907be9eb613315748088683d163e7f91bbe8bc9a9349dda8e772133300a0c4
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.