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

bloom-security-shield

v1.1.0

Published

Bloom Shield — middleware SDK for deep-visibility security monitoring (input tracking, file malware scanning, session revocation, JA4 fingerprinting).

Readme

bloom-security-shield

Bloom SIEM Shield — middleware SDK for deep-visibility security monitoring.

Install

npm install bloom-security-shield
# or
bun add bloom-security-shield

Quick start (Next.js)

  1. Add your domain on the Bloom SIEM dashboard → get BLOOM_PROJECT_ID and BLOOM_API_KEY.
  2. Add to .env.local:
BLOOM_PROJECT_ID=proj_xxxxxxxx
BLOOM_API_KEY=xxxxx-xxxx-xxxx-xxxx
  1. Create middleware.ts at your project root:
import { Bloom } from 'bloom-security-shield/next';

export default Bloom.init({
  projectId: process.env.BLOOM_PROJECT_ID!,
  apiKey: process.env.BLOOM_API_KEY!,
  features: {
    trackInputs: true,
    scanFiles: true,
    trackSessions: true,
    blockInline: true,
  },
});

export const config = {
  matcher: ['/((?!_next/static|_next/image|favicon.ico).*)'],
};

Quick start (Express)

import express from 'express';
import { Bloom } from 'bloom-security-shield/express';

const app = express();
app.use(express.json());
app.use(Bloom.init({
  projectId: process.env.BLOOM_PROJECT_ID!,
  apiKey: process.env.BLOOM_API_KEY!,
  features: { trackInputs: true, scanFiles: true, trackSessions: true },
}));

Features

| Feature | What it does | |---------|--------------| | trackInputs | Sanitizes and streams form/JSON body metadata to Bloom for SQLi/XSS detection | | scanFiles | SHA-256-hashes uploaded files and checks them against Bloom's malware signature DB before allowing the upload | | trackSessions | Reads session cookies / JWT / Authorization header and checks Bloom's revocation list — instantly logs out flagged users | | blockInline | Synchronously blocks requests Bloom's AI has flagged (500ms timeout, fails open) |

How it works

[ User's App ] ──(Bloom SDK middleware)──> [ Bloom SIEM /api/sdk/ingest ]
                                              │
                                              ├─ Detect SQLi/XSS in inputs
                                              ├─ Hash + scan uploaded files
                                              ├─ Check session revocation list
                                              ├─ Run custom WAF rules
                                              └─ AI threat evaluation

The SDK is fire-and-forget: telemetry calls never block the request. Synchronous checks (threat evaluation, session revocation, file scan) have hard timeouts and fail open so your app stays up even if Bloom is unreachable.

Privacy

  • Passwords, tokens, and credit-card numbers are scrubbed from inputs before transmission
  • Only the first 500 chars of any input are sent
  • File contents are never sent — only SHA-256 hashes

License

MIT