npm JavaScript analyzed 1.4.0

AiFinPay/sdk

v1.4.0
npm

Unified agent-economy SDK for autonomous AI agents — chain-opaque AiFinPayAgent surface (call/openSession/balance/verify) over Solana and EVM execution environments (Polygon default; Base, Optimism, Unichain, BOT Chain, XRPL EVM splitter settlement).

maintainer
AiFinPay
license
MIT
first seen
2026-06-09
last seen
2026-08-02
releases · 30d
8
short id

Drift inferred · capture-to-capture

No drift recorded — single capability capture; advisories appear once its surface changes.

capabilities 0 tools
transport stdio · streamable-http · http counts 0 tools · 0 res · 0 prompts permission surface via code analysis

No tools enumerated yet for this server.

skills & danger signals github-tarball
prompt-surface shipped agent-instruction files + hidden-content / dangerous-code findings — quoted from the analyzed source

analyzed v1.4.0 · analyzer v28 · 1d ago

skills & prompt files 1

code evidence v1.4.0 · github-tarball
evidence-backed findings quoted directly from the published source artifact — not inferred

code files: 60

filesystem 1

  • fs AiFinPay-sdk-1c926c1/node/src/agent.ts :89 const raw = await fs.readFile(path, "utf8");

network 5

  • net AiFinPay-sdk-1c926c1/mcp-http/server.js :123 const meta = await fetch(`${base}/.well-known/openid-configuration`).then((r) => r.json());
  • net AiFinPay-sdk-1c926c1/mcp/src/index.ts :8 * - payable_fetch(url, opts?) — raw-URL paid fetch (legacy Solana path)
  • net AiFinPay-sdk-1c926c1/mcp/src/tools/agent-claim-self.ts :92 const res = await fetch(magicLinkUrl, { redirect: "manual" });
  • net AiFinPay-sdk-1c926c1/node/src/crossChain.ts :123 const r = await fetch(url.toString());
  • net AiFinPay-sdk-1c926c1/node/src/unifiedAgent.ts :682 r = await fetch(url);

secrets 2

  • secrets AiFinPay-sdk-1c926c1/mcp/src/config.ts :22 agentSecretB58: process.env.AIFINPAY_AGENT_SECRET || undefined,
  • secrets AiFinPay-sdk-1c926c1/mcp/src/index.ts :21 * const { server } = await createServer({ agentSecretB58: process.env.SECRET });

install hooks 2

  • prepublishOnly AiFinPay-sdk-1c926c1/mcp/package.json :26 npm run build
  • prepublishOnly AiFinPay-sdk-1c926c1/node/package.json :22 npm run build

declared dependencies 5

  • @modelcontextprotocol/sdk@^1.0.0
  • @aifinpay/agent@^1.0.0
  • @types/node@^20.0.0
  • typescript@^5.4.0
  • vitest@^4.1.5

perm:untrusted 1

  • untrusted AiFinPay-sdk-1c926c1/mcp-http/server.js :123 const meta = await fetch(`${base}/.well-known/openid-configuration`).then((r) => r.json());