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

deepcleaner-ag

v1.0.8

Published

High-accuracy, multi-layer defensive security, SAST, secret detection, dependency, and malware-indicator scanner

Downloads

1,216

Readme

deepcleaner-ag

High-Accuracy, Multi-Layer Defensive Security & Malware Indicator Scanner for Software Projects

npm version License: MIT Node.js Version

DeepCleaner is an evidence-driven, local-first developer security scanner designed for high accuracy and minimal false positives. It performs comprehensive recursive scanning across normal and hidden project files, AST taint-tracking, multi-step behavioral attack chain correlation, OSV dependency lookups, configuration auditing, and optional AI-assisted verification.


🎯 Accuracy Philosophy & The Golden Rule

Accuracy > Number of Findings. DeepCleaner prioritizes precision over raw alert counts. A file is never labeled as malware solely because it contains minified code, encoded strings, shell commands, dynamic imports, or unusual JavaScript.

Multi-Tier Classification

Findings are categorized using evidence-based confidence:

  • Confirmed Malware: Requires verified cryptographic signatures, known threat intel hashes, or full behavioral attack chains.
  • Potentially Malicious: High-confidence suspicious correlation requiring immediate review.
  • Suspicious: Anomalies (e.g. disguised executables, reverse shell patterns, obfuscated loaders).
  • Needs Review: Informational or unverified security practices.

⚡ Quick Start

Run instantly without installing:

npx deepcleaner-ag .

Or install globally:

npm install -g deepcleaner-ag
deepcleaner .

🛡️ Core Capabilities

  • Behavioral Attack-Chain Tracker: Correlates multi-step attack flows across AST nodes (e.g., Credential Access (id_rsa/.env) + Base64/XOR Encoding + Network Transmission (fetch/socket) + Dynamic Execution).
  • Secret & Credential Scanner: 40+ patterns for cloud credentials (AWS, Google, Azure), tokens (GitHub, GitLab, Slack, Discord, Stripe), private certificates, JWTs, and database URIs with Shannon entropy validation and strict evidence masking.
  • AST-Based SAST: Babel AST traversal with taint-tracking from untrusted sources (req.query, req.body, req.params) to sensitive sinks (exec, eval, innerHTML, db.query). Multi-language support for Python, PHP, Go, Java, and C/C++.
  • Dependency Intelligence: Multi-ecosystem manifest parsing (package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, requirements.txt, composer.lock, go.mod) with batched OSV queries, lifecycle script auditing (preinstall/postinstall), and offline fallback.
  • Polyglot & Binary Inspection: Magic-byte signature verification detecting disguised executables (e.g. PE/ELF payloads hidden with .png or .pdf extensions).
  • Container-Aware Inode Permissions: Suppresses false positives in containerized environments (Docker, GitHub Actions, Codespaces) while alerting on truly dangerous writable credentials and scripts.
  • External Engine Integration: Transparently detects local yara and clamscan/clamdscan installations with graceful fallbacks.
  • Multi-Format Reporting: ANSI terminal UI with 0–100 risk scoring, pure JSON (--json), standalone offline interactive HTML (--html), and OASIS SARIF v2.1.0 (--sarif).
  • Database Telemetry & Persistence: Optional direct scan report synchronization into MongoDB Atlas (--mongodb).
  • Advisory AI Layer: Opt-in Groq Llama-3 advisory analysis (--ai) with pre-transmission credential redaction.

📖 CLI Usage

# Basic scan of the current directory
deepcleaner .

# Deep scan including Git commit history
deepcleaner --deep .

# Run with focus on malware indicators
deepcleaner --malware .

# Disable dependency queries or git scans
deepcleaner --no-deps --no-git .

# Run in CI mode (fail if HIGH or CRITICAL issues found)
deepcleaner --ci --fail-on high .

# Generate an offline HTML dashboard
deepcleaner --html -o security-report.html .

# Output pure JSON for automated tooling
deepcleaner --json .

# Push scan results directly to MongoDB
deepcleaner --mongodb .

# Run system diagnostic health check
deepcleaner doctor

🔒 Disclaimers & Safety

  • No automated scanner can detect 100% of malware samples or software bugs.
  • Static analysis findings may include false positives; verify reachability within your application architecture.
  • Vulnerability databases (OSV, NVD) are continuously updated and may be incomplete.
  • AI-generated insights are advisory and should be verified by a security professional.

📄 License

MIT License © Abhishek Gandhi