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

@jhinresh/game-maiat-plugin

v0.9.0

Published

Maiat Trust Score plugin for the GAME SDK — lets your Virtuals agent verify trust before swapping or transacting

Readme

@virtuals-protocol/game-maiat-plugin

Trust score verification for GAME agents — powered by Maiat Protocol

Give your Virtuals agent the ability to check trust before it acts. Maiat Protocol provides on-chain verified trust scores for tokens, DeFi protocols, and AI agents on Base.

Why

AI agents executing swaps autonomously can be exploited by:

  • Rug-pull tokens with no history
  • Honeypot contracts
  • Low-liquidity traps
  • Unverified counterparties

Maiat trust scores are computed from verified reviews, on-chain activity, and AI analysis — stored in a TrustScoreOracle contract on Base.

Install

npm install @virtuals-protocol/game-maiat-plugin

Quick Start

import { GameAgent, GameWorkerService } from "@virtuals-protocol/game";
import MaiatTrustPlugin from "@virtuals-protocol/game-maiat-plugin";

const maiatPlugin = new MaiatTrustPlugin({
  minScore: 3.0,   // reject tokens with score < 3.0/10
  chain: "base",
});

const agent = new GameAgent(process.env.GAME_API_KEY!, {
  name: "Trust-Gated Agent",
  goal: "Execute swaps only for tokens with Maiat trust score ≥ 3.0",
  workers: [new GameWorkerService(maiatPlugin.getWorker())],
});

await agent.init();
await agent.step({ verbose: true });

Functions

check_trust_score

Query the trust score for any address or project name.

| Arg | Type | Description | |-----|------|-------------| | identifier | string | 0x... address or project name (e.g. "Uniswap", "AIXBT") | | chain | string | Blockchain (default: "base") |

Returns:

{
  "address": "0x...",
  "score": 8.7,
  "risk": "low",
  "type": "DeFi",
  "flags": [],
  "safe": true,
  "summary": "Trust score for Uniswap: 8.7/10 | Risk: LOW | Safe: YES"
}

gate_swap

Check whether a swap is safe before executing. Checks both sides.

| Arg | Type | Description | |-----|------|-------------| | token_in | string | Token being sold | | token_out | string | Token being bought | | min_score | number | Minimum score to pass (default: 3.0) |

Returns: APPROVED or REJECTED with reasons.


batch_check_trust

Score multiple addresses at once, sorted by trust.

| Arg | Type | Description | |-----|------|-------------| | identifiers | string | Comma-separated addresses or names (max 10) |

Configuration

new MaiatTrustPlugin({
  apiUrl: "https://app.maiat.io",  // default
  apiKey: "your-api-key",                        // optional
  minScore: 3.0,                                 // 0–10 scale
  chain: "base",                                 // base | bnb | solana
})

Score Scale

| Score | Risk | Meaning | |-------|------|---------| | 7–10 | 🟢 Low | Trusted, well-reviewed | | 4–6.9 | 🟡 Medium | Use with caution | | 0–3.9 | 🔴 High | Risky, avoid |

Links

License

MIT