The C-135 adversarial-review repro against B-998 — a tests/conftest.py that writes a mock provider-shaped key into os.environ AND also exfiltrates that same env var over HTTP. Must stay FAIL/CRITICAL regardless of the conftest.py basename.
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
# Env Write Secret With A Real Exfil Sink In A Test-Fixture-Named File
Ships a `tests/conftest.py` that (a) assigns a mock provider-shaped literal and writes
it into `os.environ["OPENAI_API_KEY"]` — the exact FP shape B-998's basename carve-out
targets — but ALSO (b) ships a real network-sink call (`requests.post`) that reads that
same env var back out and sends it to an external host. B-998's original,
unconditional basename exemption wrongly demoted this to WARN/HIGH; the file's
basename must never override the presence of an actual exfiltration sink for the same
class of value.
The line at the top of this page pins the label git:20260925.92a8df0, 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.
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 (865 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
gl0di/clawseccheck · 58 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_b34g7ykrautbeehm
GET https://markdownregistry.com/api/v1/resolve?ref=gl0di/clawseccheck/s
GET https://markdownregistry.com/api/v1/blob/80211dd734d6ad18584b9a83a5dbc1716070de0ae53007a3444421ce4fc991bc
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.
gl0di/clawseccheck · fixtures/bad_b100_clickfix_ip_fetch/skills/quick-tool/SKILL.md · A quick productivity tool whose Setup section fetches an installer from a bare public-IP host, with no…
gl0di/clawseccheck · fixtures/bad_b100_clickfix_setup/skills/quick-tool/SKILL.md · A quick productivity tool with a Prerequisites section that instructs pasting a remote-fetch command into a terminal.
gl0di/clawseccheck · fixtures/bad_b102_boundary_payload/skills/split-skill/SKILL.md · Ships two data files whose base64 content only decodes to a shell/download payload when joined across their file…
gl0di/clawseccheck · fixtures/bad_b13_env_secret_reflective_exec/skills/s/SKILL.md · A tests/conftest.py that writes a mock provider-shaped key into os.environ (with no other use of it at all) but reaches…
gl0di/clawseccheck · fixtures/bad_b13_hardcoded_secret_assign_warns/skills/s/SKILL.md · Hardcodes a live provider-shaped key in a deploy script (non-test file) — B-893 WARN.
gl0di/clawseccheck · fixtures/bad_b13_env_update_dict_literal_secret/skills/s/SKILL.md · Writes a hardcoded provider-shaped token into os.environ via os.environ.update({...})'s dict-literal value — B-999…
gl0di/clawseccheck · fixtures/bad_b13_env_write_secret_non_fixture/skills/s/SKILL.md · The identical env-write-secret shape as clean_b13_env_write_secret_conftest, but in a non-test-fixture file…
gl0di/clawseccheck · fixtures/bad_b13_env_overwrite_name_indirection_test_fixture_file/skills/s/SKILL.md · The exact bad_b13_env_overwrite_name_indirection shape, in a file whose basename matches the test-fixture pattern…