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

@veto-protocol/cli

v0.6.0

Published

The Veto CLI. Tell an AI agent what to buy. Veto decides if it's safe.

Readme

@veto-protocol/cli

Tell an AI agent what to buy. Veto decides if it's safe.

npx @veto-protocol/cli "buy weather data for New York"

That's it. The command spins up Claude as the driving agent, gives it tools for x402 payments + Veto authorize, and lets it figure out the rest. Every spend the agent plans is run through Veto's 8-stage risk engine first — allow, deny, or escalate. Every decision is signed Ed25519 and verifiable offline.

Veto isn't the payment rail. Veto governs the agent that uses the payment rail. Two layers, working together.


What it does

  • npx @veto-protocol/cli "buy weather for NYC" — Claude reads your intent, picks an x402 endpoint, asks Veto for permission on every spend, pays, returns the data + signed receipt
  • npx @veto-protocol/cli demo — canned allow/deny/escalate walkthrough (no LLM key required)
  • npx @veto-protocol/cli verify <jwt> — verify any Veto receipt offline against /.well-known/jwks.json
  • npx @veto-protocol/cli plugin install — drop the Veto plugin into Claude Code
  • npx @veto-protocol/cli register — open browser-based signup at veto-ai.com

Setup

  1. Get a Veto API key: npx @veto-protocol/cli register (opens browser).
  2. Set env vars:
    export VETO_API_KEY=vk_...
    export VETO_AGENT_ID=agt_...
    export ANTHROPIC_API_KEY=sk-ant-...   # for agent mode only
  3. Run.

Agent mode needs an Anthropic key (Claude is the driving agent). Demo mode doesn't.


Add Veto to your own agent

The CLI is the demo. To put Veto in YOUR agent's payment path:

// TypeScript / JavaScript
import { pay, payX402 } from "@veto-protocol/pay";
const result = await payX402({ url, maxAmount: "$0.05" });
//  ↑ Veto authorize fires automatically before the spend
# Python
from veto_pay import pay, payX402
result = payX402(url=..., max_amount="$0.05")

That's it. Veto adds the policy gate without changing your payment rail.


What you get

Every Veto-governed spend ships with:

  • A signed receipt (JWT, Ed25519, verifiable against /.well-known/jwks.json) — anyone can prove a decision happened
  • An engine trace — which of the 8 stages fired and why
  • An optional on-chain enforcement path via VetoGuardedAccount — funds physically refused without a fresh Veto-signed mandate

Eight stages: precheck, policy, prompt-injection, merchant-fraud (typosquat), crypto-safety (OFAC, drainer, address-poisoning), intent verification, anomaly, behavioral baseline.

See veto-ai.com/how-it-works for the engine walkthrough. See veto-ai.com/security for what's strong and what's still maturing.


Links

MIT. Built by Investech Global LLC.