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

@xaccefy/pi-xpi

v0.2.9

Published

XPI — offensive security tools for Pi Agent. Casefile tracking, web search, library docs, exploit technique search, code intelligence, todo tracking, and authenticated-session management.

Readme

XPI

Security tools for Pi Agent: casefile tracking, web search, library docs, exploit technique search, code intelligence, and todos.

Install

Automate XPI plus third-party extension deps (pi-codex-goal, pi-mcp-adapter):

./install.sh

Or:

pi install npm:@xaccefy/pi-xpi

API keys / env

| Variable | Package | Purpose | |----------|---------|---------| | PREVIEW_IS_API_KEY | exploitsearch | Required for ExploitSearch (preview.is) | | PI_XP_MODE | casefile | on / off — force casefile cyber-workflow injection | | PI_CASEFILE_PATH | casefile | Override SQLite ledger path | | PI_WEBSEARCH_PORT | lookup | open-websearch daemon port (default 3210) | | PI_CHROMIUM_PATH | lookup | Chromium binary for SPA re-render in web_fetch |

export PREVIEW_IS_API_KEY="rk_yourkeyhere"

Tools

| Tool | Use for | |------|---------| | auth / /auth | Store & resolve authenticated sessions for targets (cookie, OAuth client-credentials, mTLS) | | ExploitSearch | Attack techniques, primitives, bypasses (PREVIEW_IS_API_KEY) | | web_search | CVEs, advisories, documentation | | web_fetch | Page content; SPA pages re-rendered via Chromium when the shell is thin | | context7 | Current library docs | | deepwiki | Q&A on a public GitHub repo | | CaseAdd / CaseUpdate / PromoteFinding | Ledger + hard PoC gate to confirm | | CaseGet / CaseList / CaseSearch | Browse cases | | CaseLink / CaseUnlink | Exploit chains | | CaseReport | Markdown report | | /casefile | Case dashboard | | /xp | Toggle casefile XP mode (cyber workflow injection; default OFF) | | todo / /todos | Multi-step task lists | | Codebase* | AST index, symbols, call graph, architecture |

Quick start

/ops <bugbounty|ctf|pentest> <target>   # start an engagement
/pipeline <audit|harness|patch> <target>   # VDH/VVS discovery→validate→patch
/xp on                                      # enable casefile cyber workflow in context

Engagements and pipelines restate the workflow in the prompt body, so they work with XP mode off. Use /xp on when you want the full attacker discipline injected every turn.

Packages

| Package | npm | |---------|-----| | Umbrella | @xaccefy/pi-xpi | | Auth sessions | @xaccefy/pi-engage | | Case ledger | @xaccefy/pi-casefile | | Lookup | @xaccefy/pi-lookup | | Exploit search | @xaccefy/pi-exploitsearch | | Code intel | @xaccefy/pi-codeintel | | Todos | @xaccefy/pi-xtodo |

See each package’s README.md under packages/*/.

Structure

pi-xpi/
├── prompts/                 # /ops, /pipeline
├── agents/                  # auditor, exploit-dev, patch-writer, harness
├── packages/
│   ├── pi-casefile
│   ├── pi-exploitsearch
│   ├── pi-lookup
│   ├── pi-codeintel
│   └── pi-xtodo
└── package.json

Develop / release

bun install
bun test --isolate
bun run typecheck

Release (CI): GitHub Actions → Release workflow → choose patch / minor / major.
Requires repo secret NPM_TOKEN. The job runs tests, bumps all workspace versions, publishes every package + umbrella, tags vX.Y.Z, and pushes.

Local release helper:

bun run release:patch   # or release:minor / release:major

(Requires a clean tree, npm auth, and push rights.)