
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
dep-inspector-cli
Advanced tools
Advanced CLI tool to analyze your Node.js project dependencies — with vulnerability scanning, outdated version detection, dependency chain tracing, and optional AI-powered insights via Groq.
npm audit and surfaces issues with severity levelsnpm install -g dep-inspector-cli
Run from your project root (where package.json lives):
# Basic analysis
dep-inspector
# Same as above using explicit subcommand
dep-inspector analyze
# Enable AI-powered insights (requires GROQ_API_KEY)
dep-inspector --ai
# Output as JSON (great for CI/CD pipelines)
dep-inspector --json
# Limit dependency tree depth (useful for large projects)
dep-inspector --depth 3
# Combine flags
dep-inspector --ai --depth 2
dep-inspector analyze --json --depth 4
| Command / Flag | Description |
|---|---|
dep-inspector | Run full analysis (default) |
dep-inspector analyze | Explicit analyze subcommand |
--ai | Enable AI analysis via Groq LLM |
--json | Output results as JSON |
--depth <n> | Limit dependency tree to n levels deep |
🌳 Dependency Tree
└── my-project@1.0.0
├── axios@0.21.1 (latest: 1.7.2) ❌ HIGH
├── express@4.18.2
│ ├── body-parser@1.20.1
│ └── serve-static@1.15.0
└── lodash@4.17.21
⚠️ Vulnerability Analysis
📦 axios
Severity : HIGH
Version : 0.21.1 → 1.7.2
⚠️ Breaking change possible!
About : Promise based HTTP client
Docs : https://axios-http.com
Author : Matt Zabriskie
Repo : https://github.com/axios/axios
Alternative: —
Tests :
- Test API calls
- Validate request/response headers
🔗 Chain: root → axios
💡 Fix Suggestions
→ axios: npm install axios@latest
✨ Analysis Complete
The --ai flag uses Groq to provide detailed security analysis for each vulnerable package.
.env file in your project root:GROQ_API_KEY=your_groq_api_key_here
The AI will provide:
Use --json flag to integrate into your pipeline:
# Generate JSON report
dep-inspector --json > dep-report.json
# Fail build if any vulnerabilities found
dep-inspector --json | node -e "
let data = '';
process.stdin.on('data', d => data += d);
process.stdin.on('end', () => {
const r = JSON.parse(data);
const count = Object.keys(r.vulnerabilities).length;
if (count > 0) {
console.error('Found ' + count + ' vulnerabilities. Failing build.');
process.exit(1);
}
console.log('No vulnerabilities found.');
});
"
GitHub Actions example:
- name: Check dependencies
run: dep-inspector --json > dep-report.json
- name: Upload report
uses: actions/upload-artifact@v3
with:
name: dependency-report
path: dep-report.json
GROQ_API_KEY in .env (only required for --ai flag)Pull requests are welcome! For major changes, please open an issue first.
git clone https://github.com/Nevin100/Dep-inspector-nevin
cd Dep-inspector-nevin
npm install
npm run build
MIT © Nevin Bali
FAQs
DevOps-grade dependency, security & infrastructure scanner for Node.js projects
The npm package dep-inspector-cli receives a total of 0 weekly downloads. As such, dep-inspector-cli popularity was classified as not popular.
We found that dep-inspector-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.