npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

axios-emergency-scanner

v1.5.5

Published

axios & OpenClaw 供应链投毒事件应急审计工具 (2026-03-31)

Readme

axios Supply Chain Poisoning Emergency Scanner

An emergency security tool to scan systems and projects for axios supply chain poisoning (versions 1.14.1 and 0.30.4).

Background

On March 31, 2026, a maintainer account of the popular axios library was compromised. Malicious versions 1.14.1 and 0.30.4 were published to npm, injecting a Remote Access Trojan (RAT) via a postinstall script and the malicious package plain-crypto-js.

Features

  • StepSecurity Threat Intel Integration (v1.5.1+): Includes confirmed C2 domain sfrclak.com, malicious IP 142.11.206.73, and campaign ID 6202033.
  • Anti-Forensics Cleanup Detection (v1.5.1+): Detects infections even if the malicious script attempted to hide its tracks by overwriting package.json.
  • Multi-platform support: Includes scripts for Windows (PowerShell), Linux/macOS (Bash), and a unified Node.js CLI.
  • Network C2 Live Audit (v1.5.0+): Real-time detection of active C2 outbound connections (e.g., axios-updates.com).
  • Process-File Correlation (v1.5.0+): Automatically maps active malicious connections to their originating local processes and filesystem paths.
  • Continuous Watch Mode: Use --watch [interval] to monitor network activity in the background.
  • System DNS Cache Audit (v1.5.0+): Deeply analyzes system resolution history for malicious domain records (Windows only).
  • Global Package Scan: Checks globally installed npm packages for compromised axios versions.
  • Project-level Scan: Recursively finds all package.json files in your workspace and audits dependencies.
  • RAT Detection: Scans for known malicious artifacts:
    • /tmp/ld.py (Linux)
    • /Library/Caches/com.apple.act.mond (macOS)
    • $PROGRAMDATA\wt.exe (Windows)
  • NPM Cache Audit: Checks npm cache for the plain-crypto-js malicious package.
  • Backup & Restore: Supports backing up current axios versions before attempting fixes.
  • Automatic Remediation: Provides a --fix option to update axios to safe versions (1.14.0 or 0.30.3).

Usage

Quick Installation (Recommended)

If you have Node.js installed, you can install the tool globally via npm for easy access:

# Install globally
npm install -g axios-emergency-scanner

# Run scan (current directory)
axios-scan

# Run scan with automatic fix
axios-scan . --fix

# Enable continuous watch mode (e.g., scan network activity every 5s)
axios-scan --watch 5 --md

Run from Source (For Developers)

# Install dependencies
npm install

# Run scanner
npm run scan

# Run scanner on a specific directory
node bin/axios-scan.js /path/to/projects

# Automatic fix
npm run fix

Using Bash (Linux/macOS)

./scripts/axios-security-scan.sh [project_path]

Using PowerShell (Windows)

.\scripts\axios-security-scan.ps1 [project_path]

Remediation Steps

If the scanner finds issues:

  1. Isolate the infected machine.
  2. Rotate all sensitive credentials (npm tokens, AWS keys, etc.).
  3. Rebuild your systems from a known good state.
  4. Lock axios to a safe version (1.14.0 or 0.30.3) in package.json.

License

MIT