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

@safebrowse/daemon

v0.1.5

Published

Localhost SafeBrowse daemon for browser-use agent enforcement

Readme

@safebrowse/daemon

Localhost SafeBrowse daemon with bundled runtime assets for policy, verified registry, and KB loading.

Install

npm install @safebrowse/daemon

Run

npx @safebrowse/daemon \
  --host 127.0.0.1 \
  --port 8787 \
  --deployment-profile secure_v6 \
  --approval-broker-public-key-path ./knowledge_base/signing/safebrowse_vf_ed25519_public.pem

When secure_v6 is selected, the daemon forces:

  • approval broker mode external_service
  • parser isolation mode node_permission_process

Model Guard

The daemon supports a model-guard sidecar protocol for compatible private runtimes. The SDK does not publish model weights or runtime bundles.

npx @safebrowse/daemon \
  --model-guard-url http://127.0.0.1:8788 \
  --model-guard-enforcement-mode shadow

Supported modes:

  • off: default; no scoring, even when a URL is configured
  • shadow: records compiledObservation.modelAssessment for deterministic ALLOW observations without changing verdicts or authorities
  • tighten: only applies stricter outcomes such as approval, read-only replan, or block

GET /health reports model-guard readiness, bundle/schema metadata, and digest metadata when the sidecar provides it. secure_v6 claim readiness does not require model availability.

Routes

  • GET /health
  • POST /v6/session/start
  • POST /v6/observe
  • POST /v6/action/evaluate
  • POST /v6/approval/issue
  • POST /v6/tool/prepare
  • POST /v6/tool/callback/verify
  • POST /v6/artifact/ingest
  • POST /v6/artifact/extract
  • POST /v6/memory/stage
  • POST /v6/memory/promote
  • POST /v6/memory/rollback
  • POST /v6/replay/bundle

Secure Surface Notes

The daemon now accepts both pre-extracted structured captures and direct raw binary inputs for:

  • MIME email via rawMimeBase64
  • DOCX, XLSX, and PPTX via contentBase64

Those raw inputs are materialized into secure typed captures before normal policy and authority evaluation.

Environment Variables

  • SAFEBROWSE_HOST
  • SAFEBROWSE_PORT
  • SAFEBROWSE_ROOT_DIR
  • SAFEBROWSE_DEPLOYMENT_PROFILE
  • SAFEBROWSE_APPROVAL_BROKER_PUBLIC_KEY_PATH
  • SAFEBROWSE_APPROVAL_BROKER_MODE
  • SAFEBROWSE_PARSER_ISOLATION_MODE
  • SAFEBROWSE_MODEL_GUARD_URL
  • SAFEBROWSE_MODEL_GUARD_TIMEOUT_MS
  • SAFEBROWSE_MODEL_GUARD_ENFORCEMENT_MODE (off, shadow, or tighten)

See the repository README for release and security guidance: