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

@audren-xyz/gateway-screening-publisher

v1.0.5

Published

Turnkey US Treasury OFAC SDN XML + multi-feed Ed25519 signed-snapshot publisher for Audren Gateways (audren-gateway-screen-v1)

Readme

@audren-xyz/gateway-screening-publisher

Standalone CLI that fetches the official US Treasury OFAC SDN XML (primary https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/SDN.XML, automatic fallback https://www.treasury.gov/ofac/downloads/sdn.xml), extracts canonical 32-byte Base58 Solana addresses (Digital Currency Address - SOL), merges optional supplementary feeds (--extra-feed), guards against truncated upstream responses (--min-addresses), and signs a canonical audren-gateway-screen-v1 Ed25519 JSON snapshot.

Usage

Run directly from npm (npx)

# Generate a dedicated Ed25519 screening signing keypair
npx --yes @audren-xyz/gateway-screening-publisher --generate-key

# Fetch OFAC SDN XML, merge an optional exploit feed, and write a signed snapshot
SCREENING_SIGNING_KEY_HEX=<64-or-128-hex-key> npx --yes @audren-xyz/gateway-screening-publisher \
  --out ./ofac-solana.json \
  --min-addresses 1 \
  --extra-feed https://example.com/solana-exploits.json

CLI Options & Exit Codes

  • --generate-key / --keygen — Print a fresh { signingKeySeedHex, signingPubkeyHex } Ed25519 keypair JSON and exit.
  • --signing-key-hex <64-or-128-hex> (or env SCREENING_SIGNING_KEY_HEX) — 32-byte seed (64 hex chars) or 64-byte Ed25519 keypair (128 hex chars).
  • --out <path> — Output file path (omit to write the signed JSON to stdout).
  • --min-addresses <n> — Minimum extracted address guard (default 1).
  • --extra-feed <https-url-or-file> — Repeatable supplementary feed (HTTPS URL or local file path; accepts JSON { addresses: string[] }, JSON string[], or newline-separated Base58 addresses with optional # comments).
  • --ofac-file <path> — Parse a local OFAC SDN XML file instead of fetching from US Treasury.
  • --skip-ofac — Skip OFAC SDN XML and publish from --extra-feed sources only.
  • --help / -h — Show usage and exit 0.
  • Exit codes: 0 on success / --help; 1 on invalid arguments, upstream fetch failure, post-sign verification error, or --min-addresses guard rejection.

Run from a local checkout

pnpm --dir tools/screening-publisher install --frozen-lockfile
pnpm --dir tools/screening-publisher publish:snapshot -- --generate-key

Upload the resulting JSON file to your Cloudflare R2 SCREENING_BUCKET (e.g., npx --yes wrangler@4 r2 object put <bucket>/screening/ofac-solana.json --file ./ofac-solana.json --content-type application/json --remote) and point your Gateway at SCREENING_LIST_URL="r2://screening/ofac-solana.json" with your pinned SCREENING_SIGNING_PUBKEY_HEX. Schedule refreshes well within SCREENING_MAX_AGE_SEC (for GitHub Actions .github/workflows/publish-screening.yml, configure the production environment secrets SCREENING_SIGNING_KEY_HEX, SCREENING_R2_BUCKET, CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_API_TOKEN, and optional vars.SCREENING_R2_KEY matching your SCREENING_LIST_URL key).