MCP server run from a moving version or over plain HTTP
Partialmedium severity · reads .jsonBeta
An agent trusts the tools this server offers. With no version, or @latest, the next start can load different code and different tool descriptions than the ones you approved. Over plain HTTP anyone on the network path can change them (OWASP LLM04, CWE-829). When Lintsure finds this, it marks it as Partial: it may be fine, depending on context only you can confirm.
What it looks like
A line Lintsure flags in its own test app:
// .mcp.json
"files": { "command": "npx", "args": ["-y", "some-mcp-server@latest"] }How to fix it
Pin the server to an exact version you have looked at, for example some-server@1.4.2, and update it on purpose. Use https for a remote server.
Through a coding agent, Lintsure suggests the change and waits. Nothing is edited until you approve it.
Controls it relates to
- OWASP LLM Top 10LLM04:2026Supply Chain
- OWASP Top 10A08:2025Software or Data Integrity Failures
- AST02Supply Chain Compromise
- AST07Update Drift
What the framework asks
OWASP LLM Top 10 LLM04:2026: Supply Chain
Models, datasets, plugins and packages come from others. Pin and check them like any dependency.
Evidence a reviewer may ask for: Where each model and dataset comes from, and its licence.
AST02: Supply Chain Compromise
Skills, hooks and tool servers come from others. Pin them to a version you have read, and treat config files an agent runs by itself as code.
Evidence a reviewer may ask for: A list of installed skills and servers with their versions and sources.
AST07: Update Drift
A skill or server that updates by itself can change after you approved it. Pin versions and look again on every update.
Evidence a reviewer may ask for: How updates to skills and servers are approved.
Summaries are our own reading of the public texts, not the official wording.
Check your code for this
Runs on your machine. Your code is never uploaded.
npx lintsure scanThis rule is in Beta: its mapping to framework controls is our own reading of the public texts, not independently reviewed. Lintsure is a readiness tool, not an audit or legal advice. A finding, or the lack of one, doesn't make you compliant. Disclaimer
We improve these rules all the time. If you see a false alarm, a missed problem or anything that could work better, tell us in a review and we will use it to improve your experience.
Related rules
- Personal data written to logs
- Secret or private key committed to source
- Data sent over plain HTTP
- Personal data or tokens in a URL
Did this rule flag something that's fine, or miss a real problem? Tell us on GitHub. Every report becomes a test case, so the same mistake can't come back.