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

@brickhouse-tech/json-schema-lts

v0.4.3

Published

JSON Schema validation and specifications

Readme

json-schema — Critical Security Patch (CVSS 9.8)

npm version npm downloads License Security: Patched


The Problem

The original json-schema package:

  • 28.9 million weekly downloads on npm
  • Abandoned by maintainers — no release since 2014
  • Critical prototype pollution vulnerability (CVE-2021-3918, CVSS 9.8)
  • Fix merged in 2021 but never published to npm

Your production apps are pulling vulnerable code right now.


The Solution

@brickhouse-tech/json-schema-lts is a drop-in replacement with the critical security fix published and ready to deploy.

CVE-2021-3918 patched
API-compatible — zero code changes required
Battle-tested — same codebase, just with the fix shipped
LTS maintenance — security patches published promptly


Migration Guide

One-Line Fix

npm uninstall json-schema
npm install @brickhouse-tech/json-schema-lts

That's it. No code changes. No API differences. Just a secure package.


What's Fixed

CVE-2021-3918: Prototype Pollution (CVSS 9.8)

Vulnerability:
Attackers could inject malicious properties like __proto__ or constructor into schema objects, polluting JavaScript's prototype chain. This allows:

  • Arbitrary property injection into all objects
  • Authentication bypasses
  • Remote code execution in some contexts
  • Denial of service

Example Attack:

{
  "type": "object",
  "properties": {
    "__proto__": { "isAdmin": true }
  }
}

The Fix:
Our fork includes the upstream patch that validates and sanitizes dangerous property names before schema processing. The fix:

  • Blocks __proto__, constructor, and prototype in schema keys
  • Prevents prototype chain pollution during validation
  • Maintains full backward compatibility for legitimate schemas

Impact:
This is rated Critical (9.8) because prototype pollution can lead to complete application compromise in many JavaScript environments.


Enterprise Support

Need SLA guarantees, priority patches, or dedicated security support?

Support Tiers

| Tier | Response Time | Support Channels | Custom Patches | |------|---------------|------------------|----------------| | Community | Best-effort | GitHub Issues | ❌ | | Professional | 48 hours | Email + Slack | ✅ | | Enterprise | 4 hours | Dedicated channel | ✅ Priority |

👉 View pricing and sign up
(Coming soon — contact for early access)

For compliance officers: we provide CVE notifications, SBOM exports, and security attestation on request.


Support Open Source Maintenance

Keeping critical infrastructure secure is a public good. If this package protects your stack, consider supporting continued LTS maintenance:

💖 GitHub Sponsors

Your sponsorship funds:

  • Security monitoring and rapid CVE response
  • Automated testing and release pipelines
  • Dependency updates and compatibility fixes
  • Public incident response and disclosure

About This Package

This is a community-maintained LTS fork of the original json-schema package by Kris Zyp.

The upstream package represents an early, efficient implementation of JSON Schema draft specifications. While the spec has evolved (see json-schema.org), this package remains a foundational dependency for millions of projects.

Our mission: Publish critical security fixes that upstream can't or won't ship.

What We Do

✅ Backport and publish security patches
✅ Keep CI and tooling current
✅ Respond to new CVEs within 72 hours
✅ Maintain API stability

What We Don't Do

❌ Add new features
❌ Implement new JSON Schema drafts
❌ Break backward compatibility

This is an LTS (Long-Term Support) fork, not a feature fork. If you need bleeding-edge JSON Schema features, see the official implementations.


Installation

npm install @brickhouse-tech/json-schema-lts

Then update your imports (if not using json-schema as an alias):

// Before:
const validator = require('json-schema');

// After:
const validator = require('@brickhouse-tech/json-schema-lts');

Or create an npm alias for zero code changes:

npm install json-schema@npm:@brickhouse-tech/json-schema-lts

Security Disclosure

Found a vulnerability? Please report it responsibly:

📧 Email: [email protected]
🔒 PGP: Available on request
⏱️ Response SLA: 72 hours for critical issues

We follow coordinated disclosure practices and will credit researchers in security advisories.


License

Licensed under AFL-2.1 OR BSD-3-Clause (same as upstream).

Original code by Kris Zyp. Security maintenance by Brickhouse Tech.


Questions?

Don't wait for a breach. Upgrade today.