Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

io.github.mlawsonking/package-guard-mcp

NPM · PACKAGE-GUARD-MCP · SCANNED AUG 3

Supply-chain guard for AI coding agents: verify packages, check vulns/malware, detect typosquats.

Available components

+20 this week 66 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security87
  • No malware found by supply-chain analysis.Pass
  • Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability63
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 1216 tokens (~243/item across 5 items; 5 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management23
  • Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · package-guard-mcp

# add to Claude Code
claude mcp add mlawsonking-package-guard-mcp -- npx -y package-guard-mcp
# add to Codex CLI
codex mcp add mlawsonking-package-guard-mcp -- npx -y package-guard-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mlawsonking-package-guard-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "package-guard-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add mlawsonking-package-guard-mcp --command npx --arg -y --arg package-guard-mcp
# ~/.hermes/config.yaml
mcp_servers:
  mlawsonking-package-guard-mcp:
    command: "npx"
    args: ["-y", "package-guard-mcp"]
// mcp.json
{
  "mcpServers": {
    "mlawsonking-package-guard-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "package-guard-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 2 Aug 26 +48
    • Provenance: unverified → fail security
    • Install scripts: unverified → pass security
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • MCP protocol: unverified → pass functional
    • Maintenance: unverified → pass functional
    • Stability: unverified → 0.20 functional
    • Dependency health: unverified → partial functional
    • License: unverified → pass functional
    • Schema quality: unverified → excellent functional
    • Licence: MIT functional
  • 1 Aug 26 −7
    • Stability: 0.13 → unverified security
    • Capabilities: pass → unverified functional
  • 31 Jul 26 −21
    • Malware scan: pass → unverified security
    • Tool coverage: 100 → unverified functional
    • First check of Schema quality: unverified functional
    • Package version: 1.0.1 → 1.1.0 functional
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 27 Jul 26 46

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Dependencies 95 packages

95 packages in the resolved dependency tree · 95 deprecated · 29 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 5 exposed · ~1,216 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
audit_deps ~270

Audit a set of npm or PyPI dependencies in one call. Give it a list of names, or the text of a package.json (its dependencies and devDependencies), or the text of a requirements.txt. Returns a per-package report (exists, vulns, malicious, deprecated, verdict, flags) and a summary. Direct entries only: no lockfile is parsed and no transitive dependency is resolved, so this is not a full-tree audit and a vulnerable grandchild dependency will not appear. First 40 names, the rest are dropped and truncated is set. A version range is reduced to the digits inside it, so ^4.17.20 is checked as 4.17.20 and the real resolved version may differ. When the batch OSV call fails, every package reports vulns=null with vulns_checked=false rather than a reassuring zero. Network: needs registry.npmjs.org, pypi.org, api.osv.dev.

NameTypeReqDescription
ecosystemstringPackage ecosystem: npm or pypi (default npm). Other ecosystems have no registry client here. Use check_vulns for those.
packageJsonstringRaw package.json content.
packagesarrayList of package names.
requirementsstringRaw requirements.txt content.

No output schema declared.

No examples provided.

check_vulns ~184

Known vulnerabilities and malware advisories for a package, optionally for one version, from the OSV.dev database. This is the one tool here that is correct for all seven ecosystems it accepts (npm, PyPI, Go, crates.io, RubyGems, Maven, NuGet), because it queries OSV directly and never touches a registry. It therefore cannot tell you whether the package exists, who publishes it, or whether it is maintained. An empty list means OSV held nothing for that name and version, not that the package is safe: OSV only knows what has been reported. A failed lookup returns an error and never an empty list. Network: needs api.osv.dev.

NameTypeReqDescription
ecosystemstringPackage ecosystem (default npm).
namestringyesPackage name.
versionstringVersion (omit to check all versions).

No output schema declared.

No examples provided.

package_info ~168

Registry metadata for an npm or PyPI package: latest version, first and last publish dates, age, weekly downloads, deprecation, license, repository and description. Use it to judge whether a dependency is maintained. It makes no security judgement and runs no vulnerability lookup. Weekly downloads come from api.npmjs.org or pypistats.org and the field is simply absent when those are unavailable, so a missing weekly_downloads is not a zero. License and repository are whatever the publisher declared, unverified. Network: needs registry.npmjs.org, pypi.org.

NameTypeReqDescription
ecosystemstringPackage ecosystem: npm or pypi (default npm). Other ecosystems have no registry client here. Use check_vulns for those.
namestringyesPackage name.

No output schema declared.

No examples provided.

typosquat_scan ~248

Generate lookalike names around an npm or PyPI package and report which ones are actually registered and which look recent enough to be suspicious. The variants are heuristic and ASCII only: single-character deletions, adjacent transpositions, doubled letters, the swaps l/1, o/0, rn/m, -/_, ./-, i/l and s/z, and the name with every hyphen or underscore dropped. Up to 20 variants, no Unicode homoglyphs, no prefix or suffix squats such as name-js or python-name, so an empty result is not evidence that nobody is squatting the name. "suspicious" means only that the variant is registered and is either under a year old or has no creation date, which catches new squats and also flags legitimate new packages. Registration is not evidence of malice: nothing here inspects what a variant contains. Network: needs registry.npmjs.org, pypi.org.

NameTypeReqDescription
ecosystemstringPackage ecosystem: npm or pypi (default npm). Other ecosystems have no registry client here. Use check_vulns for those.
namestringyesPackage name to scan around.

No output schema declared.

No examples provided.

verify_package ~346

The pre-install guard for npm and PyPI. Call it before installing or recommending a package. Returns safe, caution or danger from deterministic checks: is the name registered, does OSV hold vulnerability or malware advisories for it, how old is it, weekly downloads, deprecation, license. If the name is not in the registry, likely_hallucination is set and npm names come with a "did you mean" list (PyPI names get an empty list). That flag means "not in this registry" and cannot tell an AI-invented name from a typo, a rename, or a package that only lives in a private registry. The slopsquat and typosquat score is a heuristic, not a finding: it adds up age under 90 days, under 50 weekly downloads, and a name within 2 edits of an npm search hit, so it both false-alarms on new legitimate packages and misses well-aged malicious ones. Package contents are never downloaded or analysed, so a malicious package with no OSV advisory reads as safe here. vulnerabilities.checked=false with count=null means the OSV lookup failed and the package was NOT checked: treat that as unknown, not as clean. Network: needs registry.npmjs.org, pypi.org, api.osv.dev.

NameTypeReqDescription
ecosystemstringPackage ecosystem: npm or pypi (default npm). Other ecosystems have no registry client here. Use check_vulns for those.
namestringyesPackage name (e.g. "express", "@scope/pkg", "requests").
versionstringSpecific version to check vulns against (default: latest).

No output schema declared.

No examples provided.