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

deathwatch

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

deathwatch

Scan a project's dependencies and detect abandoned or dying packages

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

deathwatch

Scan a project's dependencies and detect abandoned or dying packages. Supports both npm (package.json) and pip (requirements.txt).

Install

npm install -g deathwatch

Usage

# Auto-detect package.json / requirements.txt in current directory
deathwatch

# Specify a directory
deathwatch --path ./my-app

# Custom thresholds (in months)
deathwatch --threshold 12 --warn 6

Options

OptionDefaultDescription
--path <dir>cwdDirectory to scan
--threshold <months>12Months since last publish to flag as dead (red)
--warn <months>6Months since last publish to flag as suspicious (yellow)

Output

Each package is color-coded:

  • RED bold — dead (no update longer than --threshold months)
  • YELLOW — suspicious (no update longer than --warn months)
  • GREEN — healthy
  • GRAY — unknown (fetch failed or package not found)

Metadata shown per package:

  • Last updated (months ago)
  • Downloads/week (npm only; flagged if < 100/week)
  • [DEPRECATED] notice if the npm package is deprecated

A summary is printed at the end with total, healthy, suspicious, dead, and unknown counts.

What it checks

npm (via registry.npmjs.org)

  • Date of last publish
  • Whether the latest version has a deprecated notice
  • Weekly download count (flagged if < 100/week)

pip (via pypi.org/pypi/<pkg>/json)

  • Date of last release
  • Whether the package has any releases at all

Requirements

  • Node.js >= 18 (uses native fetch)

License

Apache 2.0

Keywords

npm

FAQs

Package last updated on 15 Mar 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