Skip to content
Back to skills

Dependency Checker

ASecurity

Scan npm and pip projects for outdated dependencies, security

  • 21 stars
  • 0 votes
  • 0 copies
  • 9 views
  • Added September 7, 2026
toolsbashexpressflaskapisecurity

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill dependency-checker --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dependency Checker?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dependency Checker
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-dependency-checker/badge)](https://www.skillsdirectory.com/skills/modbender-dependency-checker)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dependency-checker
description: Scan npm and pip projects for outdated dependencies, security
  vulnerabilities, and updates.
---


# Dependency Checker

Check for outdated dependencies and security issues in npm and pip projects.

## Instructions

1. **Detect project type**: `package.json` → npm, `requirements.txt`/`pyproject.toml` → pip

2. **Run checks**:
   ```bash
   # npm
   cd /path/to/project
   npm outdated --json 2>/dev/null
   npm audit --json 2>/dev/null

   # pip
   pip list --outdated --format=json 2>/dev/null
   pip-audit 2>/dev/null  # if installed
   ```

3. **Output format**:
   ```
   📦 Dependency Check — my-project

   ## npm (3 outdated of 42 total)
   | Package | Current | Latest | Type |
   |---------|---------|--------|------|
   | express | 4.18.2  | 5.0.1  | ⚠️ Major |
   | lodash  | 4.17.20 | 4.17.21| 🟢 Patch |

   ## 🔒 Security Issues
   | Package | Severity | Issue |
   |---------|----------|-------|
   | lodash <4.17.21 | 🔴 High | Prototype Pollution |

   ## Update Commands
   npm update                          # safe (patch+minor)
   npm install express@latest          # major (review changelog!)
   pip install --upgrade flask requests
   ```

4. **Version classification**:
   - 🟢 Patch (x.y.3→x.y.4): Safe to update
   - 🔵 Minor (x.2.z→x.3.0): Usually safe, check changelog
   - ⚠️ Major (1.x→2.0): Breaking changes likely

## Edge Cases

- **Monorepos**: Check each package directory separately
- **Lock file only**: If no `package.json` in current dir, look for `package-lock.json`
- **Private registries**: May need `.npmrc` configuration
- **Pinned versions**: Flag `==` pins in requirements.txt that prevent updates

## Security

- Never run `npm audit fix --force` without user approval (may introduce breaking changes)
- Review major updates' changelogs before recommending

## Requirements

- `npm` and/or `pip` CLI tools
- No API keys needed

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.