mcp-dependency-review
Statically reviews repo-scoped MCP configuration files for mutable package references (like @latest or version ranges) and classifies their drift risk without executing any servers.
Pass rate with the skill minus without, same tasks, same model.
- Content Lift forced arm
- 0pp [0, 0]
- Trigger rate
- 100%
- Trials
- 23 · 7 tasks
- Model
- GLM-5.3-flash
- Measured
- 2026-10-15
Content Lift = the skill's instructions injected into the system prompt, so it measures what the content does once loaded, apart from whether the agent chooses to load it. Method →
Embed this score · live badge for your README
The badge shows the real benchmark number and updates itself when we re-bench — including the honest states (“did not trigger”, “not benched yet”). All badge options →
[](https://skillzbench.com/skills/mcp-dependency-review)[](https://skillzbench.com/skills/mcp-dependency-review)<a href="https://skillzbench.com/skills/mcp-dependency-review"><img src="https://skillzbench.com/api/badge/mcp-dependency-review.svg" alt="SkillzBench benchmark" height="20"></a>A/B outputs — median trial per arm
Chat harness (v2): the agent's final message without the skill (left) vs with it (right).
mcp-dependency-review--m1
The github server uses a mutable package reference: @modelcontextprotocol/server-github@latest. The latest tag resolves to whatever is newest at install time, so builds aren't reproducible and a bad release could auto-ship into your environment.
Change it to a pinned version, like the postgres server already does:
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github@1.0.4"]
}
(Pin to the specific version you've vetted.) The postgres server is fine — it's pinned to 1.2.3.
Mutable reference: the github server — @modelcontextprotocol/server-github@latest uses an npm distribution tag, which can silently resolve to different code after this PR is approved.
| Config | MCP server | Package/reference | Result | Why | Next step |
|---|---|---|---|---|---|
| .mcp.json | github | @modelcontextprotocol/server-github@latest | HIGH | @latest is a mutable npm distribution tag; resolution can change without a config diff | Pin the exact version the team has reviewed and update it deliberately |
| .mcp.json | postgres | @modelcontextprotocol/server-postgres@1.2.3 | SAFE | Exact version pin | None (note: doesn't prove transitive reproducibility) |
Recommended change: replace @latest with a reviewed exact version, e.g. @modelcontextprotocol/server-github@<reviewed-version>. Don't just substitute today's latest registry version — pin a version the team has actually reviewed.
Boundaries:
- No MCP servers were executed during this review.
- Mutable references are reproducibility/review signals, not proof of compromise.
SAFEapplies only to the direct selector, not the full dependency tree.- A clean result here is not a complete MCP security assessment.
mcp-dependency-review--m2
Unpinned server references (4):
-
.mcp.json→filesystem—@modelcontextprotocol/server-filesystem@^0.6.0uses a caret range. Fix:"args":["-y","@modelcontextprotocol/server-filesystem@0.6.0"] -
.cursor/mcp.json→docs—mcp-docs>=0.4.1uses a lower-bound range. Fix:"args":["mcp-docs==0.4.1"] -
.cursor/mcp.json→search—@scope/server-search@~1.2.0uses a tilde range. Fix:"args":["-y","@scope/server-search@1.2.0"] -
.cursor/mcp.json→web—mcp-webhas no version at all. Fix:"args":["mcp-web==<latest-published-version>"]— pin it to the exact version you intend to run (check the package index for the current release, then hardcode it).
Already pinned (no change needed): .mcp.json → memory (@1.0.0) is exact.
Findings — unpinned server references
| Config | MCP server | Package/reference | Result | Why | Next step |
|---|---|---|---|---|---|
.mcp.json | filesystem | @modelcontextprotocol/server-filesystem@^0.6.0 | MEDIUM | ^0.6.0 is a caret range; resolution can move within 0.6.x | Pin exact version |
.cursor/mcp.json | docs | mcp-docs>=0.4.1 | MEDIUM | >= inequality permits more than one version | Pin exact version |
.cursor/mcp.json | search | @scope/server-search@~1.2.0 | MEDIUM | ~1.2.0 is a tilde range; resolution can move within 1.2.x | Pin exact version |
.cursor/mcp.json | web | mcp-web | HIGH | Bare package name with no version; future resolution can select different code | Pin exact version |
Not listed: .mcp.json → memory (@modelcontextprotocol/server-memory@1.0.0) is already exact-pinned (SAFE for the direct selector).
Exact fixes
Pin each selector to the exact version your team has reviewed — do not substitute whatever the registry serves today. Using each range's floor as the candidate (confirm it's the reviewed version before merging):
-
filesystem (
.mcp.json)"args": ["-y", "@modelcontextprotocol/server-filesystem@0.6.0"] -
docs (
.cursor/mcp.json)"args": ["mcp-docs==0.4.1"](Python exact equality; wildcard
==0.4.*would not count as a pin.) -
search (
.cursor/mcp.json)"args": ["-y", "@scope/server-search@1.2.0"] -
web (
.cursor/mcp.json)"args": ["mcp-web==<reviewed-version>"]No version evidence exists in the config for this one — if the reviewed version is unknown, confirm it (e.g., a registry-history lookup) before writing the pin rather than guessing.
Boundaries:
- No MCP servers were executed during this review.
- Mutable dependency references are reproducibility/review signals, not breach claims.
SAFEmeans the direct selector is exact; it does not establish full transitive dependency reproducibility.- A clean result here is not a complete MCP security assessment.
mcp-dependency-review--m4
Review
Safe (immutable):
docs—mcp-docs@2.3.4exact version. Safe.pinned—@scope/pinned@4.5.6exact version. Safe.
Needs changes (mutable references):
github—@modelcontextprotocol/server-github@latestresolves to whatever is newest at runtime; supply-chain risk. Change to a pinned version, e.g.@modelcontextprotocol/server-github@1.1.1(whatever the audited version is).remote— URL path contains@latest, so the server can silently change. Pin to a specific version, e.g.https://mcp.example.com/servers/weather@1.2.0, ideally with an integrity/hash check if supported.legacy—@scope/legacy@~0.5.0is a range;~0.5.0allows any 0.5.x, so patch updates are pulled automatically. Pin to exact:@scope/legacy@0.5.3(the current resolved version).
Can't determine from config alone:
internal—@internal/server-search@${SEARCH_VERSION}is resolved via an environment variable. IfSEARCH_VERSIONis pinned in CI/CD or the deployment environment, it's safe; if it can be set tolatestor a range, it's mutable. Verify the value ofSEARCH_VERSIONin the actual environment before merge — the config itself is fine as long as the variable is constrained to an exact version.
MCP Dependency Review
| Config | MCP server | Package/reference | Result | Why | Next step |
|---|---|---|---|---|---|
| provided config | github | @modelcontextprotocol/server-github@latest | HIGH | @latest is an npm distribution tag; can resolve to different code later without a config diff. | Pin the exact version the team has reviewed, e.g. @modelcontextprotocol/server-github@X.Y.Z (do not substitute today's registry version — the reviewed version is unknown here). |
| provided config | docs | mcp-docs@2.3.4 (uvx) | SAFE | Exact Python version selector (package@2.3.4). | No change. Note: exact direct pin only; transitive deps not proven reproducible without a lockfile. |
| provided config | remote | https://mcp.example.com/servers/weather@latest | REVIEW | Remote URL entry; URL-based references need separate source and integrity review, and @latest in the URL suggests mutable resolution. Version-drift rules alone don't establish its update behavior. | Verify the server's source/integrity controls; if it serves a package, pin an exact version or digest. Can't determine safety from config alone. |
| provided config | internal | @internal/server-search@${SEARCH_VERSION} | REVIEW | Selector is an environment-variable interpolation; the resolved selector (and its mutability) depends on the value of SEARCH_VERSION at runtime. | Pin an exact literal version in the config, or enforce in CI that SEARCH_VERSION is always an exact X.Y.Z (never a tag or range). Can't determine safety from config alone. |
| provided config | legacy | @scope/legacy@~0.5.0 | MEDIUM | Tilde range permits resolution to move within the range (e.g. 0.5.x). | Pin the exact reviewed version, e.g. @scope/legacy@0.5.3 if that's the version the team reviewed (exact reviewed version unknown here). |
| provided config | pinned | @scope/pinned@4.5.6 | SAFE | Exact direct selector. | No change. Same boundary: doesn't prove full transitive reproducibility. |
Summary
- Safe as-is:
docs,pinned - Need changes:
github(replace@latestwith an exact reviewed version),legacy(replace~0.5.0with the exact reviewed version) - Can't determine from config alone:
remote(URL-based, needs source/integrity review),internal(version comes from an interpolated variable — safe only ifSEARCH_VERSIONis guaranteed to be an exact pin)
Boundaries:
- No MCP servers were executed during this review.
- Mutable dependency references are reproducibility/review signals, not breach claims.
SAFEmeans the direct selector is exact; it does not establish full transitive dependency reproducibility.- A clean result here is not a complete MCP security assessment.
mcp-dependency-review--m5
The github server uses a mutable reference: @modelcontextprotocol/server-github@latest. The @latest tag resolves to whatever is newest at install time, so builds aren't reproducible and a new release could change or break behavior without any code change on your side.
Pin it to an exact version, e.g.:
"args": ["-y", "@modelcontextprotocol/server-github@1.0.0"]
(Use whatever the current stable version is — check npm view @modelcontextprotocol/server-github version — but avoid @latest or any ^/~ range.)
The filesystem server is already fine since it's pinned to @1.0.0.
Finding: the github server uses a mutable package reference.
| Config | MCP server | Package/reference | Result | Why | Next step |
|---|---|---|---|---|---|
| .mcp.json | github | @modelcontextprotocol/server-github@latest | HIGH | @latest is an npm distribution tag that can be moved to different package code later without any config diff. | Pin the exact version the team has reviewed (e.g., @modelcontextprotocol/server-github@<reviewed-version>); don't substitute today's registry latest without review. |
| .mcp.json | filesystem | @modelcontextprotocol/server-filesystem@1.0.0 | SAFE | Direct selector is an exact version pin. | None (note: exact pin doesn't guarantee full transitive reproducibility without a lockfile). |
Boundaries: no MCP servers were executed during this review; mutable references are reproducibility/review signals, not breach claims; and a clean result here is not a complete MCP security assessment.
- Results are for the SkillzBench reference agent on GLM-5.3-flash. Switch models above — a skill can help one model and not another.
- Screen tier (1 trial per arm) is directional. Verified needs a full-tier run (≥ 8 tasks, ≥ 3 trials per arm) with the CI excluding zero.
- Task coverage: 7 generated tasks for this skill's category; a skill can shine elsewhere.