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

@boldsec/express

v0.1.0

Published

BoLD live authorization monitoring for Express (4.x + 5.x): one middleware watches your routes for cross-user access (BOLA/IDOR), function-level (BFLA), mass-assignment (BOPLA), and tenant-isolation risks. Metadata only, fail-safe, zero extraction logic i

Readme

@boldsec/express

Live BOLA/IDOR monitoring for Express. Add one middleware; BoLD watches your API and raises an alarm the moment one user reaches another user's object, in real time, from your app's actual traffic.

  • Metadata only. BoLD receives who made the request (an opaque, non-reversible handle, never the token), the endpoint shape, the object id, the status, and the object's declared owner if the response exposed one. The response body is read once to extract that single owner field and then discarded. No body, no headers, no credentials ever leave your app.
  • Fail-safe. Shipping the metadata is fire-and-forget. If BoLD is slow or down, your response is returned untouched and on time. BoLD can never break or slow the app it watches.
  • Never alters your response. Your handlers run exactly as before; responses are returned byte for byte.

Install

npm install @boldsec/express

Requires Express 4.16 or newer (tested through Express 5).

Configure (once)

Add your keys from the BoLD Live page (shown once when you connect the app):

BOLD_INGEST_URL=https://<your-bold>/api/live/ingest
BOLD_INGEST_KEY=blk_...
# optional: owner-field names to look for in responses (default covers common ones)
BOLD_OWNER_FIELDS=ownerId,owner_id,user_id

Use

Register the middleware once, after your body parser:

import express from "express";
import { boldExpress } from "@boldsec/express";

const app = express();
app.use(express.json());

app.use(boldExpress({
  resolveCallerId: (req) => req.user?.id ?? null, // same namespace as the owner field
}));

resolveCallerId tells BoLD which caller made the request, in the same namespace as your owner field (usually the authenticated user id). Return null when there is no authenticated caller. If you leave it out, BoLD still watches the route but reports the caller as unknown, which shows up as a loud "needs review", never a false all-clear.

Unconfigured (no BOLD_INGEST_URL), the middleware is a transparent pass-through, so it is safe to leave wired in every environment.

What BoLD answers

One question: can one user reach another user's data or action? BoLD is a runtime alarm for the BOLA/IDOR ownership family, not a scanner. It confirms a real cross-user reach on live traffic and never guesses.

Learn more at boldsec.io.