New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

blindspot

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blindspot

CLI tool that scans Node.js projects and detects missing common npm utilities (DX blindspots)

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

blindspot

Scans Node.js projects and detects missing common npm utilities (DX blindspots).

What problem this solves

Many Node.js projects reinvent the wheel or use raw APIs when battle-tested packages exist. This tool scans your codebase and identifies patterns that suggest you might benefit from adding a dedicated package.

Installation

npx blindspot .

Or install globally:

npm install -g blindspot
blindspot /path/to/project

Usage

# Scan current directory
blindspot .

# Scan specific project
blindspot /path/to/project

# JSON output (for CI/scripts)
blindspot . --json

Example Output

📦 blindspot
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Project: my-app
Files scanned: 83
Dependencies: 30

Found 2 potential DX gaps:

┌─ HTTP Request Retry/Resilience
│  Category: Networking
│  Confidence: ████████░░ 85%
│  Reason: HTTP calls detected without retry/resilience patterns
│
│  Recommended packages:
│    npm install p-retry
│    npm install axios-retry
└─────────────────────────────────────────

┌─ Logging Abstraction
│  Category: Observability
│  Confidence: ████████░░ 80%
│  Reason: heavy console.log usage without structured logging
│
│  Recommended packages:
│    npm install pino
│    npm install winston
└─────────────────────────────────────────

How It Works

  • Scans all .js, .ts, .tsx files (ignores node_modules, dist)
  • Reads package.json to check existing dependencies
  • Runs rules that detect patterns via regex + dependency absence
  • Filters results with confidence > 60%
  • Outputs sorted by confidence (highest first)

Supported Gap Types

IDCategoryDetects
env-managementConfigurationprocess.env usage without dotenv
cli-parsingCLIprocess.argv or bin entry without commander/yargs
loggingObservabilityHeavy console.log without pino/winston
schedulerSchedulingsetInterval without node-cron
config-validationConfigurationConfig/env without zod/joi validation
http-retryNetworkingfetch/axios calls without retry logic
testingTestingNo test framework in multi-file project
file-watchingDevelopmentfs.watch without chokidar

Roadmap

  • Custom rule configuration
  • Ignore specific rules via CLI flag
  • Auto-fix suggestions (add to package.json)
  • GitHub Action integration
  • More detection rules (rate limiting, caching, etc.)

License

MIT

Keywords

cli

FAQs

Package last updated on 02 Feb 2026

Did you know?

Socket

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.

Install

Related posts