dependency-verification skillA
dependency-verification is agent-read markdown (skill) from athola/claude-night-market: Verifies a package exists before install, defending against hallucination and slopsquatting. Use when adding, recommending, or installing a package..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
> A package name the model produced is a claim, not a fact. The > registry is the fact. Verify before you install. # Dependency Verification ## Overview Code-generating language models recommend packages that do not exist at a measured rate of 5.2% (commercial models) to 21.7% (open models) across 576,000 samples (Spracklen et al. 2024, arXiv 2406.10279). Worse, 58% of hallucinated names recur across reruns, so an attacker can predict them, register the empty name, and ship malware. This is "slopsquatting." A proof-of-concept package (`huggingface-cli`) drew over 30,000 downloads after being registered against a commonly hallucinated name. Package hallucination is also inversely correlated with coding-benchmark score, so a better model does not make this go away. The defense is cheap: confirm the name exists in its registry before installing or recommending it. This skill defines that check and is enforced by the `guard_package_hallucination.py` PreToolUse hook. ## When To Use Apply before any of these: - Running `pip install`, `uv add`, `npm install`, `pnpm add`, `yarn add`, `cargo add`, `poetry add`, or `pdm add`. …
Read the whole file at its exact version.
How to install
mdr add athola/claude-night-market/dependency-verification@git:20260713.f98719bmdr add athola/claude-night-market/dependency-verification@sha256:0756f5bb8aa97202Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_jhgmaaq2bd2ftisz)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260713.f98719b latest | 2026-07-13 | f98719b | 5,705 B | A | view · diff |
| git:20260602.cd56117 | 2026-06-02 | cd56117 | 5,517 B | A | view · diff |
| git:20260601.47cc393 | 2026-06-01 | 47cc393 | 4,337 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 (5705 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
athola/claude-night-market · 338 stars · license MIT · pushed 2026-09-22 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_jhgmaaq2bd2ftisz GET https://markdownregistry.com/api/v1/resolve?ref=athola/claude-night-market/dependency-verification GET https://markdownregistry.com/api/v1/blob/0756f5bb8aa972027fa74f8cecf1c4d5ec41640639cfa836d79e44fc8914e353
Your agent 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.