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

hcs-sentinel

v0.1.1

Published

Real-time HCS-backed package release monitoring for critical Hedera ecosystem npm dependencies.

Readme

hcs-sentinel

Real-time package release monitoring for critical Hedera ecosystem npm dependencies. hcs-sentinel detects new releases, analyzes them for suspicious changes, stores findings locally, and can publish structured alert events to an HCS topic.

Example output

Detects suspicious package changes and publishes tamper-evident alerts to HCS: hcs-sentinel output

Status

v0.1.0 is an experimental testnet-first release.
The current goal is to prove the end-to-end monitoring, analysis, and HCS attestation pipeline for critical Hedera ecosystem packages.

Monitored packages

  • @hashgraph/sdk
  • @hashgraph/proto
  • @hashgraphonline/standards-sdk
  • @hashgraphonline/standards-agent-kit

What it detects

  • New or removed dependencies
  • Lifecycle scripts (preinstall, install, postinstall)
  • Risky API usage:
    • child_process
    • process.env
    • fs
    • crypto
  • Compound risk:
    • new dependency + high-risk API in the same release

Current behavior

  • Polls monitored packages on an interval
  • Stores findings locally in SQLite
  • Publishes alert events to HCS when Hedera credentials and a topic ID are configured
  • Runs in local-only mode if HCS is not configured

Setup

cp .env.example .env
# fill in HEDERA_ACCOUNT_ID, HEDERA_PRIVATE_KEY, HEDERA_NETWORK, and HCS_TOPIC_ID
npm install

Usage

# Start continuous monitoring
npm run dev -- monitor

# One-shot scan of a package
npm run dev -- scan-package @hashgraph/sdk

# Scan without publishing to HCS
npm run dev -- scan-package @hashgraph/sdk --no-publish

# Show latest finding per monitored package
npm run dev -- latest

# Inspect a specific finding by ID
npm run dev -- inspect <findingId>

Testing

npm test

Configuration

All config is provided via environment variables or .env.

| Variable | Default | Description | |----------|---------|-------------| | HEDERA_ACCOUNT_ID | — | Hedera account ID used for HCS publishing | | HEDERA_PRIVATE_KEY | — | Private key for the Hedera account | | HEDERA_NETWORK | testnet | Hedera network: testnet, mainnet, or previewnet | | HCS_TOPIC_ID | — | Topic ID for alert publishing | | POLL_INTERVAL_SECONDS | 60 | Polling interval for monitor mode | | DB_PATH | data/sentinel.db | SQLite database path | | LOG_LEVEL | info | Logger verbosity |

Notes

  • This release is focused on testnet validation and MVP functionality.
  • Findings may be truncated when published to HCS to fit message size limits.
  • Initial baseline scans can be noisy and may include informational dependency observations.
  • hcs-sentinel is a separate tool from hcs-trace; future decoder support can be added there.