
Security News
pnpm 11.5 Adds Support for Recognizing npm Staged Publishes
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.
devcompass
Advanced tools
Dependency health checker with ecosystem intelligence, unified interactive dashboard with 5 dynamic layouts (Tree/Force/Radial/Conflict/Analytics), historical tracking with SQLite, snapshot comparison, timeline visualization, modular CSS/JS architecture,
Professional dependency health checker with AI-powered insights, real-time CVE detection, and comprehensive project analysis
DevCompass is a comprehensive dependency analysis platform that combines security scanning, health monitoring, and AI-powered recommendations into a single powerful CLI tool. Built for modern JavaScript projects, it provides enterprise-grade insights with developer-friendly workflows.
DevCompass analyzes your project dependencies to provide actionable insights about:
Real-time CVE scanning with industry-standard databases:
Get intelligent insights with multi-provider LLM support:
Monitor dependency evolution with comprehensive tracking:
Explore dependencies with rich, interactive graphs:
Automated issue resolution with safety guarantees:
# Global installation (recommended)
npm install -g devcompass
# Local project installation
npm install --save-dev devcompass
# One-time use with npx
npx devcompass analyze
# Run your first analysis (shows Top 3 critical issues)
devcompass analyze
# Get full detailed report
devcompass analyze --deep
# Get AI-powered recommendations
devcompass analyze --ai
# Generate interactive dependency graph
devcompass graph --open
# Get free NVD API key from: https://nvd.nist.gov/developers/request-an-api-key
devcompass cve key --set --api-key YOUR_KEY
# Test connection
devcompass cve test
# Run analysis with CVE detection
devcompass analyze
analyze - Analyze Project DependenciesComprehensive dependency analysis with security scanning and health metrics.
# Basic analysis (Top 3 critical issues)
devcompass analyze
# Full detailed report (all issues)
devcompass analyze --deep
# With AI recommendations
devcompass analyze --ai
# JSON output for CI/CD
devcompass analyze --json
# Silent mode (no output)
devcompass analyze --silent
# CI mode (exit code based on health)
devcompass analyze --ci
# CI mode with custom threshold
devcompass analyze --ci --threshold 8.0
Output Modes:
Health Score Icons:
cve - CVE Vulnerability ManagementManage CVE detection settings and vulnerability database.
# Configure NVD API key
devcompass cve key --set --api-key YOUR_KEY
devcompass cve key # Show current status
devcompass cve key --remove # Remove stored key
# Test API connection
devcompass cve test
# Cache management
devcompass cve cache --stats # View cache statistics
devcompass cve cache --clear # Clear cached data
Getting NVD API Key:
Cache Behavior:
fix - Automated Issue ResolutionFix dependency issues with intelligent risk classification and safety guarantees.
# Interactive fix with preview (NEW default behavior)
devcompass fix
# Skip confirmation
devcompass fix --yes
# Include all fixes (including risky)
devcompass fix --all
# Preview only (no changes)
devcompass fix --dry-run
Safety Features:
graph - Dependency Graph VisualizationGenerate interactive dependency graphs with multiple layouts and filters.
# Generate graph with default settings
devcompass graph
# Specify layout
devcompass graph --layout force # Force-directed
devcompass graph --layout radial # Radial tree
devcompass graph --layout conflict # Highlight conflicts
# Apply filters
devcompass graph --filter vulnerable # Security issues only
devcompass graph --filter outdated # Outdated packages
devcompass graph --filter unused # Unused dependencies
# Customize output
devcompass graph --output my-deps.html
devcompass graph --width 1600 --height 900
devcompass graph --depth 5
# Open in browser
devcompass graph --open
Interactive Features:
snapshot - Snapshot ManagementManage project state snapshots for comparison and tracking.
# Save current state
devcompass snapshot save
# List snapshots
devcompass snapshot list
devcompass snapshot list --limit 50
devcompass snapshot list --project myapp
# View details
devcompass snapshot view 123
devcompass snapshot view 123 --verbose
# Delete snapshot
devcompass snapshot delete 123
devcompass snapshot delete 123 --yes
compare - Snapshot ComparisonCompare two snapshots to track changes over time.
# Basic comparison
devcompass compare 51 52
# Detailed comparison
devcompass compare 51 52 --verbose
# Save report
devcompass compare 51 52 -o report.md
history - Historical AnalysisView and analyze snapshot history.
# List all snapshots
devcompass history list
devcompass history list --limit 50
devcompass history list --month 05-2025
# Monthly summary
devcompass history summary
# Statistics
devcompass history stats
timeline - Timeline VisualizationGenerate interactive timeline showing dependency evolution.
# Generate timeline
devcompass timeline
# Customize timeframe
devcompass timeline --days 30
devcompass timeline --days 90
# Open in browser
devcompass timeline --open
backup - Backup ManagementManage package.json and package-lock.json backups.
# List backups
devcompass backup list
# Show backup details
devcompass backup info --name backup-2025-05-10T19-50-37-541Z
# Restore from backup
devcompass backup restore --name backup-2025-05-10T19-50-37-541Z
devcompass backup restore --name backup-xxx --force
# Clean old backups
devcompass backup clean # Keep latest 5
devcompass backup clean --keep 3 # Keep latest 3
ai - AI-Powered InsightsInteract with AI for dependency analysis and recommendations.
# Ask questions
devcompass ai ask "Why is axios outdated?"
devcompass ai ask "Should I update to React 19?"
# Get package alternatives
devcompass ai alternatives moment
# Interactive chat
devcompass ai chat
# Get recommendations
devcompass ai recommend
llm - AI Provider ManagementConfigure and manage AI/LLM providers.
# Add provider
devcompass llm add --provider openai --token sk-xxx --model gpt-4o-mini
devcompass llm add --provider local --model llama3.2 --base-url http://localhost:11434
# List providers
devcompass llm list
# Set default
devcompass llm default openai
# Test connection
devcompass llm test openai
# View usage statistics
devcompass llm stats
# Update provider
devcompass llm update openai --model gpt-4o
# Remove provider
devcompass llm remove anthropic
config - DevCompass ConfigurationManage DevCompass settings.
# Set GitHub token (avoid rate limits)
devcompass config --github-token YOUR_TOKEN
# Show current configuration
devcompass config --show
# Remove GitHub token
devcompass config --remove-github-token
DevCompass integrates with two industry-standard vulnerability databases:
OSV (Open Source Vulnerabilities) - Primary source, no API key required
NVD (National Vulnerability Database) - Secondary enrichment, optional
Every devcompass analyze automatically:
🛡️ CVE VULNERABILITY DATABASE (4)
🟡 MEDIUM: 12
Affected Packages:
axios@0.21.1
● GHSA-3p68-rc4w-qgx5 - MEDIUM
Axios has a NO_PROXY Hostname Normalization Bypass
● GHSA-43fc-jf86-j433 - MEDIUM
Axios Denial of Service vulnerability
express@4.17.1
● GHSA-qw6h-vgh9-j6wx - MEDIUM
Express.js Open Redirect in malformed URLs
● GHSA-rv95-896h-c2vc - MEDIUM
Express.js path traversal vulnerability
💡 Sources: OSV + NVD
Run npm audit fix to address vulnerabilities
| Operation | Without Cache | With Cache | Improvement |
|---|---|---|---|
| 6 packages | 2-5 seconds | <100ms | 20-50× faster |
| CVE lookup | 300-500ms | <10ms | 30-50× faster |
| Full scan | 8-12 seconds | 5-6 seconds | ~50% faster |
# 1. Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
# 2. Start Ollama
ollama serve
# 3. Pull a model
ollama pull llama3.2
# 4. Configure DevCompass
devcompass llm add --provider local --model llama3.2 --base-url http://localhost:11434
# 5. Test it
devcompass llm test local
# 6. Use it!
devcompass analyze --ai
devcompass ai ask "What should I update first?"
# Get API key from: https://platform.openai.com/api-keys
# Configure
devcompass llm add --provider openai --token sk-YOUR-KEY --model gpt-4o-mini
# Test
devcompass llm test openai
# Use
devcompass analyze --ai
Analysis Integration:
Interactive Q&A:
devcompass ai ask "Why is my health score low?"
devcompass ai ask "Should I update axios?"
devcompass ai ask "What are the breaking changes in React 19?"
Package Alternatives:
devcompass ai alternatives moment
# Returns:
# 1. date-fns (~2KB vs 67KB) - Tree-shakeable, modern API
# 2. dayjs (~2KB) - moment.js compatible, drop-in replacement
# 3. Luxon (~15KB) - Better timezone support, richer features
Interactive Chat:
devcompass ai chat
# Opens interactive session:
# You: What's wrong with my dependencies?
# AI: You have 3 packages with known CVEs...
# You: Which should I fix first?
# AI: Priority 1 is axios because...
# In your CI pipeline
devcompass analyze --ci --json > analysis.json
# Check exit code
# 0 = health score above threshold
# 1 = health score below threshold
# GitHub Actions example
- name: Dependency Health Check
run: |
npm install -g devcompass
devcompass analyze --ci
# Weekly security scan
devcompass analyze --deep > security-report.txt
devcompass cve cache --stats
# Export for compliance
devcompass analyze --json | jq '.vulnerabilities'
# Before updates
devcompass snapshot save
devcompass backup list
# Update dependencies
npm update
# Check impact
devcompass analyze
devcompass compare <before-id> <after-id>
# Rollback if needed
devcompass backup restore --name <backup-name>
# Generate weekly report
devcompass analyze --deep > weekly-report.txt
devcompass timeline --days 7 --open
# Track trends
devcompass history summary
devcompass history stats
~/.devcompass/
├── history.db # Snapshot database
├── cve.db # CVE cache
├── ai.db # AI conversation history
├── config.db # Configuration
└── llm.db # LLM provider settings
<project>/.devcompass-backups/ # Backup files
<project>/.devcompass-cache.json # Analysis cache
Dynamic Package Tracking:
data/tracked-repos.json - GitHub repositories to monitordata/popular-packages.json - Common package patternsdata/quality-alternatives.json - Deprecated package replacementsdata/gpl-alternatives.json - GPL license alternativesBatch Fix Categories:
data/batch-categories.json - Fix categorization rulesdata/priorities.json - Priority classificationCommand not found
npm install -g devcompass
# or
npx devcompass analyze
Old version installed
npm update -g devcompass
devcompass --version # Should show 3.2.5
No analysis cache found
# Run analyze first
devcompass analyze
# Then other commands work
devcompass graph --open
CVE detection not working
# Clear cache
devcompass cve cache --clear
# Run fresh scan
devcompass analyze
NVD API key invalid
# Test connection
devcompass cve test
# Get new key from: https://nvd.nist.gov/developers/request-an-api-key
# Update key
devcompass cve key --remove
devcompass cve key --set --api-key NEW_KEY
No AI provider configured
# Add a provider
devcompass llm add --provider local --model llama3.2 --base-url http://localhost:11434
Ollama connection failed
# Check if Ollama is running
ps aux | grep ollama
# Start Ollama
ollama serve
# Test connection
devcompass llm test local
Contributions are welcome! Here's how you can help:
data/quality-alternatives.jsonsrc/ai/prompt-templates.jssrc/dashboard/scripts/layouts.js# Fork and clone
git clone https://github.com/YOUR_USERNAME/devcompass.git
cd devcompass
# Create feature branch
git checkout -b feature/amazing-feature
# Make changes and test
npm test
# Commit with conventional commits
git commit -m "feat: add amazing feature"
# Push and create PR
git push origin feature/amazing-feature
# Install dependencies
npm install
# Link for local testing
npm link
# Test your changes
devcompass analyze
# Run in different project
cd /path/to/test-project
devcompass analyze
MIT © Ajay Thorat
If DevCompass helps your project, please consider giving it a star! ⭐
Made with ❤️ by Ajay Thorat
DevCompass v3.2.5 - Professional Dependency Intelligence Platform 🧭✨
FAQs
Dependency health checker with ecosystem intelligence, unified interactive dashboard with 5 dynamic layouts (Tree/Force/Radial/Conflict/Analytics), historical tracking with SQLite, snapshot comparison, timeline visualization, modular CSS/JS architecture,
The npm package devcompass receives a total of 102 weekly downloads. As such, devcompass popularity was classified as not popular.
We found that devcompass 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.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.