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

ctrlz-cli

v0.2.15

Published

EVM On-Chain Risk Scanner CLI

Readme

Ctrl+Z — EVM On-Chain Risk Scanner

npm License: MIT TypeScript Node.js

Production-grade smart contract risk assessment tool for EVM-compatible blockchains

Instantly analyze smart contract risk across multiple chains with comprehensive on-chain data verification, liquidity analysis, and evidence-backed scoring.


🚀 Quick Start

Execute risk analysis with zero setup:

npx ctrlz-cli <contract-address>

Real-world examples:

npx ctrlz-cli 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
npx ctrlz-cli 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 --chain base

✅ Zero Configuration Required

  • No installation — Runs directly via npx
  • Universal compatibility — Works anywhere with Node.js 18+
  • Portable output — Plain text reports safe to share

📋 Usage

ctrlz-cli <contract-address> [--chain <chainKey>]

Parameters

| Parameter | Type | Description | Default | |-----------|------|-------------|---------| | <contract-address> | string | EVM contract address (0x...) | Required | | --chain <chainKey> | string | Target blockchain network | ethereum |

Supported Networks

| Network | Chain Key | Status | |---------|-----------|--------| | Ethereum | ethereum | ✅ Available | | Base | base | ✅ Available | | BSC | bsc | ✅ Available | | Polygon | polygon | 🔄 Coming Soon | | Arbitrum | arbitrum | 🔄 Coming Soon | | Optimism | optimism | 🔄 Coming Soon | | Avalanche | avalanche | 🔄 Coming Soon | | Fantom | fantom | 🔄 Coming Soon | | Blast | blast | 🔄 Coming Soon |


💡 Examples

Basic analysis:

npx ctrlz-cli 0xabc123...

Multi-chain analysis:

npx ctrlz-cli 0xabc123... --chain arbitrum
npx ctrlz-cli 0xabc123... base
npx ctrlz-cli 0xdef456... --chain polygon

🔍 Analysis Coverage

Core Risk Vectors

| Category | Analysis Depth | |--------------|-------------------| | Access Control | Owner privileges, role-based permissions, centralization risks | | Upgradeability | Proxy patterns, admin controls, implementation risks | | Supply Controls | Mint functions, pause mechanisms, blacklist capabilities | | Liquidity Infrastructure | DEX integration, pool depth, LP token analysis | | Token Distribution | Holder concentration, whale analysis, distribution patterns | | Code Verification | Bytecode validation, source code availability, deployment context |

Technical Standards

  • DEX Protocol Support: Uniswap V2/V3/V4, SushiSwap, PancakeSwap, Curve
  • Proxy Pattern Detection: Transparent, UUPS, Beacon, Diamond proxies
  • Token Standard Compliance: ERC-20, ERC-721, ERC-1155 variants

📊 Risk Assessment Framework

Scoring Methodology

  • Risk Tiers: LOWMEDIUMHIGHCRITICAL
  • Evidence-Based: All findings linked to verifiable on-chain data
  • Conservative Approach: Unknown data treated as potential risk
  • Guardrail System: Hard limits prevent overconfidence in incomplete data

Output Standards

Structured Reports with clear risk categorization
Evidence Links to blockchain explorers and contract interactions
Confidence Metrics indicating data completeness and reliability
Actionable Insights for risk mitigation and due diligence


⚙️ Development

Note: This section is for contributors and maintainers. End users should use npx ctrlz-cli directly.

Local Development Setup

git clone https://github.com/rayyanabdat/ctrlz
cd ctrlz
npm install
npm run build

Project Structure

src/
├── cli.ts              # Command-line interface
├── engine/             # Core analysis engines
│   ├── evm.ts         # EVM contract scanner
│   ├── liquidity.ts   # DEX liquidity analysis
│   └── scoring.ts     # Risk scoring algorithms
└── config/            # Chain configurations

⚠️ Disclaimer

This tool provides structural risk assessment based on observable on-chain data and contract patterns. It does not constitute financial advice, investment recommendations, or security guarantees.

Risk assessment scope: Technical contract structure, not project legitimacy or market dynamics.


📄 License

MIT License — See LICENSE for full terms.


Built with precision for the DeFi ecosystem

Made by gogetrekt | Report Issues