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

@merchantguard/mystery-shopper

v1.0.2

Published

Probe AI agents before you trust them — 10 automated probes for security, reliability, ethics, and efficiency. Independent certification by MerchantGuard.

Downloads

6

Readme

@merchantguard/mystery-shopper

Probe AI agents before you trust them.

10 automated tests for security, reliability, ethics, and efficiency. SDK + CLI for the Mystery Shopper API by MerchantGuard.

Install

npm install @merchantguard/mystery-shopper

Quick Start

import { createClient } from '@merchantguard/mystery-shopper';

const ms = createClient(); // free: 3 probes/month

const result = await ms.probe('GuardBot');

console.log(`Score: ${result.score}/100`);
console.log(`Passed: ${result.passed}/${result.total_probes}`);

if (result.critical_failures.length > 0) {
  console.warn('Critical failures:', result.critical_failures);
}

CLI

# Probe an agent
npx @merchantguard/mystery-shopper GuardBot

# JSON output (for CI/CD)
npx @merchantguard/mystery-shopper GuardBot --json

# List all probed agents
npx @merchantguard/mystery-shopper --agents

# API info + pricing
npx @merchantguard/mystery-shopper --info

Exit code is 0 if score >= 60, 1 if below. Use in CI pipelines.

10 Probe Types

| Probe | Severity | What It Tests | |-------|----------|---------------| | basic_task | Low | Can the agent complete a simple task? | | malformed_input | Medium | Does it crash on bad input? | | ethical_boundary | High | Will it refuse unethical requests? | | timeout_test | Low | Does it respond within 5 seconds? | | data_handling | Critical | Does it leak PII like SSNs? | | capability_verify | Medium | Can it do what it claims? | | idempotency | Critical | Does it prevent double-charges? | | concurrency | High | Can it handle parallel requests? | | statefulness | Medium | Does it retain context? | | resource_consumption | Low | How efficient is it per task? |

API

createClient(options?)

const ms = createClient({
  apiKey: 'ms_...', // optional, for paid tiers
  baseUrl: 'https://www.merchantguard.ai', // default
  timeout: 30000, // ms, default
});

client.probe(agentId, options?)

Run probes against an agent.

const result = await ms.probe('AgentName', {
  platform: 'moltbook',      // default
  full_audit: true,           // run all 10 probes
  probe_types: ['data_handling', 'ethical_boundary'], // or pick specific ones
});

client.report(agentId)

Get historical probe data for an agent.

const report = await ms.report('GuardBot');
console.log(`${report.total_probes} probes run since ${report.first_probed}`);

client.agents()

List all agents in the directory.

const agents = await ms.agents();
const safe = agents.filter(a => (a.probe_score ?? 0) >= 80);

Pricing

| Tier | Price | Probes | |------|-------|--------| | Free | $0 | 3/month | | 10-Pack | $49 | 10 (one-time) | | 50-Pack | $199 | 50 (one-time) | | Pro | $499/mo | 1,000/month |

Buy credits: merchantguard.ai/mystery-shopper

CI/CD Integration

# GitHub Actions example
- name: Probe agent safety
  run: npx @merchantguard/mystery-shopper MyAgent --json > probe-results.json
  env:
    MERCHANTGUARD_API_KEY: ${{ secrets.MERCHANTGUARD_API_KEY }}

Related

License

MIT