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

@unhinged-labs/tenant-roulette

v1.0.0

Published

Bounded defensive tenant-isolation regression testing for controlled Node.js fixtures

Readme

tenant-roulette

A Node.js regression harness for checking tenant isolation in trusted test fixtures with synthetic data. Compare what each tenant should be able to see with what the fixture independently observed. Deliberately incomplete runs say so instead of passing on a lack of evidence.

1.0.0 defensive profile. Use only trusted synthetic fixtures you own. The package provides no exploit reproductions or remote attack capability.

The canonical HTTP example reports incomplete ingress and store-effect coverage in every scenario. Only the paired HTTP scenario qualifies for correlation coverage. The CLI returns an inconclusive result when required evidence is missing.

On development commit f8d536b, the default direct example completed 187 of 200 planned schedules in 118.19 seconds on Linux x64 with Node 24.22.3 and seed 1. Its 563 trials observed 1,126 operations and 2,252 receipts. The 120-second suite budget can return a partial report. Check completed schedules before interpreting a run.

Try the local example from a source checkout

pnpm install --frozen-lockfile --ignore-scripts
pnpm test
node dist/cli.js check examples/local-suite.mjs --max-schedules 1 --json

The included example writes synthetic data to each tenant's own record. It runs both directions and returns exit 4 because the demo doesn't include the full runtime calibration matrix. That is an honest incomplete result, not an isolation failure or certification.

What is observed

  • The harness owns the plan. A fixture independently reports the credential it actually used and the controlled receiver's state.
  • Cooperative gates schedule the invocation itself. The repeated baseline and altered world must replay the same enabled gates.
  • The optional Node HTTP adapter and HTTP reference receiver use their own localhost listeners. Neither accepts a URL or an external target.
  • Summary reports omit raw values. A witness is data, not a command or a path to executable code. Replay accepts only the explicitly selected local suite.

The CLI loads the suite in a supervised controller and runs each trial in a fresh process. It can independently recheck a bounded received checkpoint before disposal, but it cannot recover observations the worker did not send. This is not a sandbox. In-process calls can't preempt synchronous user code. Running against a bounded fixture cannot prove that a deployed application is safe.

For scope and outstanding gates, see scope, release evidence, and research refresh.

Contributing

New to the project? The contributor guide walks through setup, a small local check, and your first pull request. For a security or privacy issue, use GitHub private vulnerability reporting.