
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@yolfi/agent
Advanced tools
Thin SDK, CLI, and MCP adapter that lets AI coding agents integrate Yolfi payments.
Thin SDK, CLI, and MCP adapter for AI coding agents that add Yolfi crypto payments to user apps.
This package does not create a second Yolfi API. It maps agent actions to the existing Yolfi endpoints:
| Agent action | Endpoint |
|---|---|
| Register workspace | POST /api/auth/agent/register |
| Check account | GET /api/private/organization/current |
| Configure organization/webhooks/settlement | PUT /api/private/organization/current |
| Create paylink | POST /api/private/paylinks/create |
| List paylinks | GET /api/private/paylinks |
| Create payment | POST /api/public/payments |
| Payment status | GET /api/public/payments/:id |
npx -y @yolfi/agent help
yolfi auth:agent-register \
--project-name "Space Shop" \
--agent-name "Codex" \
--integration-intent accept_payments \
--ref npm
The returned apiKey is shown once. Store it in an ignored env file as YOLFI_API_KEY.
{
"mcpServers": {
"yolfi-api": {
"command": "npx",
"args": ["-y", "@yolfi/agent", "mcp"],
"env": {
"YOLFI_API_KEY": "..."
}
},
"yolfi-knowledge": {
"command": "npx",
"args": ["-y", "@yolfi/agent", "mcp"]
}
}
}
YOLFI_API_KEY.X-Yolfi-Signature on webhook payloads.Yolfi signs the raw JSON payload with HMAC-SHA256 base64 using X-Yolfi-Signature.
In v1 the signing secret is the organization API key.
import { verifyWebhookSignature } from '@yolfi/agent';
const valid = verifyWebhookSignature(rawBody, signature, process.env.YOLFI_API_KEY);
FAQs
AI agent payment integration SDK, CLI, and MCP server for adding Yolfi crypto checkout, payment links, webhooks, and payment status checks.
The npm package @yolfi/agent receives a total of 52 weekly downloads. As such, @yolfi/agent popularity was classified as not popular.
We found that @yolfi/agent demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.