dep-sentinel
Reviewed
at commit 0e4c0dd
New version, not yet reviewed
Sends data to npm (registry.npmjs.org), PyPI (pypi.org), Go proxy (proxy.golang.org), crates.io, Packagist (repo.packagist.org), OSV.dev (api.osv.dev); package names and versions only
Checks each package the model installs against its registry and OSV.dev, and stops a missing, brand-new, look-alike, outdated or vulnerable one, naming the…
0 upvotes
Log in to upvote or save- Made by
- Kerem Gok
- Pinned commit
-
0e4c0dd09165cae2933d79eda6069c6df477137f - What we checked
-
Reads the install commands (npm, pip, go, cargo, composer and similar) that Claude runs and looks each package name up on its public registry and OSV.dev. It blocks the command when the package is missing, under 7 days old, look-alike, not the latest pinned version or has known vulnerabilities. It sends only package names and versions and stores two settings.
Review details
Static review of the source at the pinned commit; not run. Hooks: session.start (registers /dep-sentinel), command.run, tool.call for Bash (parses the command without a shell, checks up to 10 packages, returns a deny with the reason, or runs the command and attaches a note to the result if a check could not finish), turn.complete (rechecks packages that stayed unchecked), prompt.submit (adds a context note about still-unchecked packages; it does not read the prompt text). Runtime calls: $.http.fetch GET to registry.npmjs.org, pypi.org, proxy.golang.org, crates.io, repo.packagist.org and POST to api.osv.dev/v1/query with package name, ecosystem and version, with a descriptive User-Agent; $.process.run only for 'npm view <name> ...' when an npm registry document exceeds the 4 MB fetch limit (name restricted to a plain package-name pattern; npm may use the user's configured registry); $.store get/set for enabled and mode; $.sidebar and $.ui.log. The deny text tells the model it may rerun with a DEP_SENTINEL_SKIP=1 prefix after telling the user why, so the check can be bypassed by the model. Mode note (default) only reports unchecked installs; mode deny additionally blocks git commit, push and merge while a package stays unchecked (opt-in). Local paths, git/URL specs and requirement files are not checked. Private or internal package names would be sent to the public registries and OSV.dev. No file access, no obfuscation. A network failure lets the install run and is reported.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: yes
- Reads or writes files: no
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: yes
- Stores data: yes
- Shows something on screen: yes
Checks each package the model installs against its registry and OSV.dev, and stops a missing, brand-new, look-alike, outdated or vulnerable one, naming the latest version.
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/dep-sentinel/)