tools / mcp audit / rules / package installed from a url or git repo · v0.1.0 · View source · Edit on GitHub
MCP audit rule · v0.1.0
Package installed from a URL or git repo
Code pulled from a git branch or tarball URL skips registry checks and can change without a version bump.
- each server checks
- 3 test fixtures
high package-from-url
Flagged
5 "args": [
6 "-y",
7 > "github:user/repo"
8 ]
9 }Fix
Install a published, version-pinned release, e.g. "args": ["-y", "some-mcp@1.4.2"], or pin the git ref to a full commit hash.
Fine
{
"mcpServers": {
"s": {
"command": "npx",
"args": [
"-y",
"some-mcp@1.4.2"
]
}
}
}