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

acrionix-shield

v1.0.0

Published

Pre-publish security scanner — prevents source leaks and detects supply chain attacks in npm packages

Downloads

13

Readme

Acrionix Shield

Pre-publish security scanner — prevents source leaks and detects supply chain attacks in npm packages.

Built by Acrionix Technologies in response to the Anthropic/Claude Code source leak and the axios supply chain attack of March 2026.


The Problem

On March 31, 2026, two major security incidents shook the npm ecosystem:

  1. Anthropic's Claude Code accidentally published a .map file containing references to 500,000 lines of unobfuscated source code on a public cloud bucket
  2. axios (400M+ weekly downloads) was compromised — versions 1.14.1 and 0.30.4 injected a malicious plain-crypto-js dependency that harvested credentials

Acrionix Shield is a zero-dependency CLI that catches both types of issues before they reach production.

Quick Start

npx acrionix-shield check

That's it. No config needed.

What It Scans

Source Leak Scanner

  • .map source map files that expose your source code
  • .env, .pem, .key files with secrets
  • Cloud storage URLs (AWS S3, Google Cloud, Azure Blob, Cloudflare R2)
  • Hardcoded API keys (AWS, GitHub, npm, OpenAI, Anthropic, Slack)
  • Embedded private keys and certificates
  • Internal file paths (/Users/..., C:\Users\...)
  • sourceMappingURL references in compiled code
  • Missing .npmignore or files field warnings

Supply Chain Scanner

  • Known compromised packages (axios, event-stream, ua-parser-js, coa, rc, colors, faker, node-ipc, and more)
  • Typosquatting detection (catches axois instead of axios, 1odash instead of lodash)
  • Suspicious registries (packages resolved from non-standard URLs)
  • Missing integrity hashes in lockfiles
  • Supports package-lock.json, yarn.lock, and pnpm-lock.yaml

Usage

# Run all checks
npx acrionix-shield check

# Scan for source leaks only
npx acrionix-shield scan-leaks

# Scan dependencies only
npx acrionix-shield scan-deps

# CI mode — exit code 1 on any finding
npx acrionix-shield check --ci

# Only report high and critical issues
npx acrionix-shield check --severity high

# JSON output for programmatic use
npx acrionix-shield check --json

# Scan a specific directory
npx acrionix-shield check --dir ./dist

CI/CD Integration

GitHub Actions

name: Security Check
on: [push, pull_request]
jobs:
  shield:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
      - run: npx acrionix-shield check --ci --severity high

Pre-publish Hook

Add to your package.json:

{
  "scripts": {
    "prepublishOnly": "npx acrionix-shield check --ci"
  }
}

Configuration

Create a .shieldrc.json in your project root for custom rules:

{
  "ignorePatterns": ["test/fixtures/.*", "docs/.*"],
  "customCloudPatterns": [
    {
      "pattern": "https://my-internal-cdn\\.example\\.com",
      "description": "Internal CDN URL",
      "severity": "high"
    }
  ],
  "customSensitivePatterns": [
    {
      "pattern": "INTERNAL_SECRET_[A-Z0-9]+",
      "description": "Internal secret token",
      "severity": "critical"
    }
  ],
  "knownCompromised": {
    "my-internal-pkg": [
      {
        "versions": ["2.0.0"],
        "advisory": "Internal advisory #42",
        "description": "Compromised build artifact",
        "severity": "critical"
      }
    ]
  }
}

Severity Levels

| Level | Icon | Meaning | |-------|------|---------| | Critical | 🚨 | Immediate action required — active exploit, leaked secrets, compromised package | | High | 🔴 | Serious risk — source code exposure, cloud storage URLs, suspicious registries | | Medium | 🟡 | Should fix — missing lockfile, missing integrity hashes, config issues | | Low | 🔵 | Informational — metadata files, backup files |

Zero Dependencies

Acrionix Shield has zero npm dependencies. It uses only Node.js built-in modules. This is intentional — a security tool should not itself be vulnerable to supply chain attacks.

License

MIT — Acrionix Technologies