MCP, MCP server
io.github.alefnt/agentpay
Give every AI Agent a wallet.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
packages/core/src/bit-identity.ts, line 79
const resp = await fetch(`${this.indexerUrl}/v1/account/info`, { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
packages/create-agentpay/src/cli.ts, line 124
// 3. .env - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
packages/core/src/rgbpp-bridge.ts, line 122
this.serviceToken = config.serviceToken || process.env.RGBPP_SERVICE_TOKEN || '';
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
packages/core/src/bit-identity.ts, line 79
const resp = await fetch(`${this.indexerUrl}/v1/account/info`, {
packages/core/src/bit-identity.ts, line 109
const resp = await fetch(`${this.indexerUrl}/v1/account/records`, {
packages/core/src/bit-identity.ts, line 146
const resp = await fetch(`${this.registrarUrl}/v1/account/search`, {
Show more
packages/core/src/bit-identity.ts, line 193
const resp = await fetch(`${this.registrarUrl}/v1/account/order`, {
packages/core/src/fiber-rpc.ts, line 464
const response = await fetch(this.config.rpcUrl, {
packages/core/src/identity.ts, line 34
const res = await fetch(fiberRpcUrl, {
packages/core/src/rgbpp-bridge.ts, line 405
const res = await fetch(url, {
packages/core/src/rgbpp-bridge.ts, line 462
const res = await fetch(ckbRpcUrl, {
scripts/e2e-fiber.ts, line 311
const regRes = await fetch('http://127.0.0.1:4001/health', { signal: AbortSignal.timeout(2000) });
scripts/e2e-fiber.ts, line 317
const regBody = await fetch('http://127.0.0.1:4001/agents', {
scripts/e2e-fiber.ts, line 327
const svcRes = await fetch('http://127.0.0.1:4001/services?name=translate', {
scripts/e2e-fiber.ts, line 334
await fetch(`http://127.0.0.1:4001/agents/${encodeURIComponent(mockAgent.pubkey)}`, {
scripts/setup-node.ts, line 253
`curl -sf -X POST http://127.0.0.1:${config.fiberRpcPort} -H "Content-Type: application/json" -d '{"id":1,"jsonrpc":"2.0","method":"node_info","params":[]}'`,
scripts/setup-node.ts, line 276
║ curl http://127.0.0.1:${config.fiberRpcPort}/health ║
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
packages/core/src/rgbpp-bridge.ts, line 122
this.serviceToken = config.serviceToken || process.env.RGBPP_SERVICE_TOKEN || '';
packages/core/src/rgbpp-bridge.ts, line 520
serviceToken: process.env.RGBPP_SERVICE_TOKEN,
packages/create-agentpay/src/cli.ts, line 124
// 3. .env
Show more
packages/create-agentpay/src/cli.ts, line 125
writeFileSync(join(dir, '.env'), generateEnv(config));
packages/create-agentpay/src/cli.ts, line 126
console.log(' ✅ .env');
packages/create-agentpay/src/cli.ts, line 453
| \`.env\` | 环境变量 |
scripts/setup-node.ts, line 11
* 2. Generates .env with your settings
scripts/setup-node.ts, line 65
// 3. Generate .env
scripts/setup-node.ts, line 164
const envPath = join(config.projectDir, '.env');
.gitignore, line 3
*.tsbuildinfo
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 0eec0cbf4316. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 0eec0cbf4316cf35bdea2420b0273d4469d9d89d
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.