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

pi-recon

v1.0.5

Published

Pi extension for red-team recon and asset discovery. 14 tools: ICP lookup, subdomain enum, DNS/cert/ASN, asset search (Shodan/FOFA/Hunter/Quake), port scan, web probe, dir brute, backup finder, 403 bypass, vuln check, JS analysis.

Readme

pi-recon

Red-team recon & asset discovery plugin for Pi Coding Agent — 14 pure Node.js tools, zero external dependencies.

中文文档


Tools (14)

| Tool | Description | Phase | |------|-------------|-------| | icp_lookup | ICP备案 + Tianyancha + Baidu → domains | Target Resolution | | subdomain_enum | Subdomain enumeration (DNS brute + cert transparency / crt.sh) | Domain Discovery | | dns_enum | DNS record enumeration (A / AAAA / CNAME / MX / NS / TXT / SOA) | Domain Discovery | | whois_lookup | WHOIS lookup | Domain Discovery | | cert_search | SSL certificate transparency search (crt.sh) | Domain Discovery | | asn_lookup | ASN / IP range lookup | Domain Discovery | | asset_search | Shodan + FOFA + Hunter + Quake asset search | Asset Mapping | | port_scan | Web port scan (pure net.connect) | Service Discovery | | web_probe | HTTP/HTTPS service probe + fingerprinting (10,000+ rules) | Service Discovery | | dir_brute | Directory brute force | Deep Probing | | backup_finder | Backup file discovery (.bak / .zip / .git / .svn / .env) | Deep Probing | | bypass_403 | 403 bypass (path normalization attacks) | Deep Probing | | vuln_check | Vuln checks — shortname / log4shell / viewstate / sharepoint / apidocs / aclbypass | Vuln Checks | | js_analyzer | JavaScript static analysis (endpoints / secrets / hidden paths) | Analysis |


Install

# npm (recommended)
pi install npm:pi-recon

# Git
pi install git:github.com/Xaaaa-bip/pi-recon

# Local
pi install ./pi-recon

# Temp run
pi --extensions ./pi-recon

Config

Create ~/.pi/recon-config.json:

{
  "shodanKey": "your-shodan-key",
  "fofaEmail": "your-fofa-email",
  "fofaKey": "your-fofa-key",
  "hunterKey": "your-hunter-key",
  "quakeKey": "your-quake-key",
  "otxKey": "your-otx-key",
  "tianyanchaToken": "your-tianyancha-token",
  "callbackServer": "dns://xxx.callback.red"
}

Or via env vars: SHODAN_KEY FOFA_EMAIL FOFA_KEY HUNTER_KEY QUAKE_KEY OTX_KEY TIANYANCHA_TOKEN CALLBACK_SERVER


Usage

/recon <company|domain|IP>

Activates the FastTortoise pipeline:

  1. Company → icp_lookup (parallel)
  2. All domains → subdomain_enum + asset_search (parallel)
  3. Discovered IPs → asset_search(host) (parallel)
  4. Live hosts → port_scan + web_probe
  5. All web servers → vuln_check (parallel)
  6. High-value targets → dir_brute + backup_finder + js_analyzer

Tech Stack

  • Pure Node.js, zero npm dependencies
  • 10,000+ fingerprint rules (finger-data.json)
  • Chrome 131 User-Agent
  • Auto wildcard DNS detection
  • Aggressive concurrency defaults for red-team speed

Links

  • npm: https://www.npmjs.com/package/pi-recon
  • GitHub: https://github.com/Xaaaa-bip/pi-recon
  • pi.dev: https://pi.dev/packages (search pi-recon)