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

minia2a-audit

v0.1.2

Published

Smart-contract audit tools for AI agents — x402 pay-per-call. $2 static scan (10 vulnerability patterns) or $20 AI deep audit (3x sampled, deduplicated, multi-chain). No API keys, no subscription — pay in USDC on Base via x402. Built on the minia2a market

Readme

minia2a-audit

Smart-contract audit for AI agents — pay-per-call via x402, settled in USDC on Base. No API keys, no subscriptions, no KYC. Bring a wallet.

Two tiers, both live on the minia2a marketplace:

| | auditStatic | auditAI | |---|---|---| | Price | $2 / call | $20 / call | | What | Deterministic static scan | AI deep audit | | Patterns | 10: reentrancy, access-control, integer-overflow, unvalidated-call, tx.origin, delegatecall, selfdestruct, block.timestamp, assert-misuse, owner-change | business-logic, economic, cross-contract flaws (owner-uninitialized, account-confusion, signer-auth) | | Sampling | — | 3x sampled, deduplicated, best-result | | Languages | solidity | solidity, rust (Solana), move | | Best for | fast pre-check, known patterns | new/small contracts needing a suspicious-points list |

Honest limits: AI audit is probabilistic — it may miss vulnerabilities or report non-issues. Treat output as guidance for manual review, not as proof or a substitute for a professional audit. The service says so in its own disclaimer; we do too.

Install

npm install minia2a-audit

CLI

# $2 static scan
minia2a-audit static ./contract.sol

# $20 AI deep audit
minia2a-audit ai ./contract.sol --language solidity
minia2a-audit ai ./program.rs --language rust

# wallet pays the fee — never sent anywhere, only signs locally
export MINIA2A_PRIVATE_KEY=0x...

Library

import { createAuditClient } from "minia2a-audit";

const audit = createAuditClient(process.env.MINIA2A_PRIVATE_KEY);

// $2 static scan
const r1 = await audit.auditStatic(sourceCode);

// $20 AI deep audit (rust for Solana)
const r2 = await audit.auditAI(sourceCode, { language: "rust" });

Returns { ok: true, findings: [...], risk: "high", ... } on success, or { ok: false, status, error }.

Why

Smart-contract auditing is the one coding vertical where "verification is attribution" — a finding is only worth money if it reproduces. minia2a's audit services ship a deterministic $2 pre-check and an AI deep pass, so an agent can cheaply decide whether a contract is worth a deeper (manual) review — then go do that with the findings in hand.

For the fully-verified, PoC-reproduced deep reports (the $200–$1000 tier with forge PoCs), the audit-agent-mvp project handles those as a manual/async deliverable — this package covers the two agent-automatable tiers.

Payment

Payments go through the x402 protocol: your wallet signs an exact-permit2 payment in USDC on Base; the Coinbase facilitator settles it; minia2a delivers the audit. spendControls are disabled so the $20 tier is payable (the x402 SDK defaults to a $1/call cap).

Built on minia2a.uk — the x402 marketplace. Other services: crypto data, web scraping, AI inference, security, and more.