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

@mattersec/matt

v0.1.65

Published

matt — AI agent telemetry for developer machines

Readme

@mattersec/matt

AI agent telemetry collector for developer machines. Monitors Claude Code, Cursor, and Codex hooks, captures events, forwards to the Mattersec security intelligence dashboard.

Install

npm install -g @mattersec/matt

Installation notes

On POSIX platforms the postinstall step replaces the JS shim with a direct symlink to the native binary so matt invocations skip Node cold-start entirely. If you install with npm install -g --ignore-scripts (common in locked-down corporate npm environments), the optimize step is skipped and every invocation pays ~30 ms of Node startup overhead. Functionally correct, just slower. To apply the optimization after an --ignore-scripts install:

node "$(npm root -g)/@mattersec/matt/install.js"

Quickstart

Easiest path: visit app.mattersec.com, sign up, and follow the install wizard. It hands you a one-time npx @mattersec/matt link --token=… command that authenticates this machine and then asks before it does anything else: whether to install hooks for the AI tools it finds, which repositories should report, and whether to import history from before you installed it (default: no).

If you'd rather drive each step manually:

matt auth login                 # device-code flow
matt install-hooks claude-code  # install hooks
matt start                      # register background service + start daemon
matt status

Uninstall

Because npm has no preuninstall hook, run the service cleanup explicitly before removing the package:

matt uninstall-service
npm uninstall -g @mattersec/matt

Commands

| Command | Purpose | |---|---| | matt start | Register service + start daemon | | matt stop | Stop daemon (service registration stays) | | matt status | Print daemon / auth / events status | | matt auth login/logout/status/whoami | Auth subcommands | | matt install-hooks <tool> | Install hooks for claude-code, cursor, or codex | | matt uninstall-hooks <tool> | Remove hooks | | matt check | Hook installation status | | matt buffer list/flush/clear | Manage the encrypted event buffer | | matt backfill --dry-run | Preview which past sessions would be imported — writes nothing | | matt backfill | Import past sessions. Never runs on its own; you have to ask | | matt allow <path> | Report activity from a repository (the default; also undoes a matt deny). --under covers every repo beneath a directory; --tier t0\|t1\|t2 sets how much content leaves | | matt deny <path> | Stop reporting a repository or path — for every checkout and worktree, in every session, from the moment you type it. Guard keeps running there | | matt policy reset | Empty the consent store and start over — every repository reports by default again | | matt quiet <path> | Hide Guard advisories for a path without changing what is reported. --off to undo | | matt receipts | Every consent change on record | | matt telemetry off\|on | Switch PostHog error reports off or on for this machine. Mattersec reporting is unaffected. Reaches a service-launched daemon, which MATT_NO_TELEMETRY / DO_NOT_TRACK do not | | matt dashboard | Open Mattersec dashboard in browser | | matt update | Update via npm registry | | matt uninstall-service | Remove service registration |

Stopping reporting for one session

It is not a terminal command — the verb still exists, hidden from --help, because /matt off shells out to it, but nothing here teaches you to type it in a shell. Type matt off in your agent, as an ordinary chat message — matt's prompt-submit hook sees it in Claude Code, Codex, Cursor and Windsurf alike and stops that session reporting. On Claude Code, /matt off does the same thing. matt on (or /matt on) turns it back on.

It covers that one session and nothing else: a second editor window in the same checkout is never affected. It outlives the editor — closing the editor does not turn it back on, and claude --resume or --continue keeps the session id, so it comes back still off. /clear, /rewind or picking another conversation in the editor starts a new session that reports until you type matt off there too.

For a repository that should never report, use matt deny <path> — that one is a terminal command, directory-scoped and durable: every repository reports by default, and matt deny stops one immediately, for every checkout, worktree and session, until matt allow reverses it. Either way only reporting changes; local checks, where they run, are untouched.

License

Proprietary — © Mattersec Labs.