Website and installation guide
Claude Code plugin that warns about missing or stale dependency version checks. Hooks never block tools.
If an agent changes a dependency without a fresh registry check, Version Sentinel warns and allows the tool call. Upstream verification and /vs-record remain recommended.
Keywords: Claude Code, Anthropic, AI coding guardrails, LLM supply-chain security, dependency management, hallucinated package versions, npm, PyPI, Cargo, NuGet, PreToolUse hook.
Why
LLM-assisted coding silently ships whatever version the model remembers from its training data. For packages with frequent releases or known compromised versions, that's unacceptable. version-sentinel recommends checking the registry and records the source without stopping your work.
What it helps you check
- Hallucinated versions — LLM picks a version that never existed or never shipped.
- Stale defaults — model reaches for a 2-year-old pin because training data froze there.
- Compromised-release installs — no guard against yanked / malicious versions without a fresh registry lookup.
- Silent downgrades — Claude "fixes" a CI error by reverting a package to an older vulnerable build.
- Supply-chain drift — no audit trail of why a specific version was chosen.
How it compares
| Tool | Scope | Result |
|---|
version-sentinel | Agent hooks — checks before supported edits and installs | Advisory, exit 0 |
| Generic dependency-audit skills | Post-hoc scan of package.json / requirements.txt | Advisory |
| Dependabot / Renovate | Scheduled PR bot against remote registries | Async PR |
Version Sentinel runs inside the agent workflow. It supplies evidence warnings and registry checks; it does not guarantee that a dependency is safe.
Supported ecosystems (v0.1)
| File | Ecosystem | Registry |
|---|
package.json | npm/pnpm/yarn/bun | registry.npmjs.org |
requirements*.txt, constraints*.txt | pip | pypi.org |
pyproject.toml | PEP 621 + Poetry + uv | pypi.org |
Cargo.toml | Rust | crates.io |
*.csproj, *.fsproj, *.vbproj | .NET | api.nuget.org |
Covers Edit, Write, MultiEdit, and Bash install commands (npm install, pip install, poetry add, uv add, cargo add, dotnet add package). A registry package without a version, or with a floating tag such as npm latest, can produce a warning but remains allowed. Local paths, URLs, git sources, and workspace dependencies are not registry checks and are ignored.
NuGet Central Package Management can supply a version from an ancestor Directory.Packages.props. For this reason, a PackageReference without a Version is not treated as unpinned. Floating NuGet versions such as Version="*" can produce advisory warnings.
Install
/plugin marketplace add https://github.com/KSEGIT/Version-Sentinel.git
/plugin install version-sentinel@version-sentinel-marketplace
The owner/repo shorthand (KSEGIT/Version-Sentinel) resolves to an SSH clone URL and requires GitHub SSH keys. Use the full HTTPS URL above to clone anonymously.
Multi-agent support
One repo, six agent platforms. The same hook scripts and sidecar state back every integration; each platform gets its own thin adapter (manifest, hook wiring, commands).