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-casefile

v1.3.7

Published

Offensive security case tracker for pi and Codex — bug bounties, CTFs, security audits

Downloads

575

Readme

Casefile — Offensive Security Case Tracker

Track durable security cases during bug bounties, CTFs, and security audits.

Surface Support

  • pi extension — registers tools and /casefile dashboard.
  • Codex plugin — MCP server and Skill for autonomous work.

Tools (pi / MCP)

| pi | MCP | Description | |---|---|---| | CaseAdd | casefile_add | Open a new hypothesis or investigation | | CaseUpdate | casefile_update | Update fields (status, evidence, impact, etc.) | | PromoteFinding | casefile_promote | PoC Runner: Verify PoC in Docker to confirm | | CaseGet | casefile_get | Get full details of a single case | | CaseList / Search | casefile_list / _search | Browse or search across fields | | CaseLink / Unlink | casefile_link / _unlink | Connect primitives into exploit chains | | CaseReport | casefile_report | Generate markdown report (confirmed/reported only) |

PoC Runner (Docker / Local)

To promote a case from investigating to confirmed, you must use PromoteFinding with an on-disk PoC path.

  • Sandbox (Docker): Default. Runs in a --network none container with read-only mounts. Uses python:3.12-slim (.py) or alpine (.sh).
  • Local: Use local: true. Runs directly on the host (e.g. for network-dependent bugs).
  • Verification: Only promotes to confirmed if the PoC returns exit code 0.
  • Timeout: 30 second limit.

Offensive Security Workflow

  1. Hypothesize: CaseAdd(status: hypothesis)
  2. Investigate: CaseUpdate(status: investigating, evidence, confidence)
  3. Confirm: PromoteFinding(id, poc_path, local?) -> Exit 0 verifies and confirms.
  4. Chain: CaseLink primitives to escalations.
  5. Report: CaseReport -> CaseUpdate(status: reported).
  6. Kill: CaseUpdate(status: killed) for dead ends.

State Gates

  • hypothesisinvestigating requires evidence + confidence.
  • investigatingconfirmed requires a verified PoC run (exit 0) and poc, evidence, impact, severity.
  • confirmedreported requires CaseReport to have been generated.
  • killed and reported are terminal.

Storage & Environment

Stored as JSONL at .casefile/casefile.jsonl (project) or ~/.casefile/casefile.jsonl (global).

  • CASEFILE_PATH: Force exact ledger path.
  • CASEFILE_SCOPE=project|global: Set storage scope.

Install: pi install npm:pi-casefile or codex plugin marketplace add x4cc3/casefile