MCP, MCP server
Ton Agent Kit
Ton Agent Kit, an MCP server listed in the PlugVet directory.
Compatibility: Not stated.
Grade C
One Medium finding. Read the report before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
OBFUSCATION_ENCODED_BLOB
Why this grade
- OBFUSCATION_ENCODED_BLOB Medium
Contains a long base64 shaped string in a file that should be readable.
packages/plugin-escrow/src/contracts/Escrow_Escrow.ts, line 1964
const __code = Cell.fromHex('b5ee9c7241024d0100194b00022cff008e88f4a413f4bcf2c80bed53208e8130e1ed43d90108020378e00204038db96c0ed44d0d200018eb2fa40fa40810101d700d401d0810101d7008101
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
examples/x402-server/src/index.ts, line 208
const res = await fetch("https://api.ipify.org");
packages/core/src/http.ts, line 48
response = await fetch(url, init);
packages/network-mode/src/index.ts, line 24
const res = await fetch("https://api.ipify.org");
Show more
packages/network-mode/src/index.ts, line 47
await fetch(url, { method: "HEAD", signal: AbortSignal.timeout(5000) });
packages/plugin-analytics/src/actions/wait-for-transaction.ts, line 72
const response = await fetch(sseUrl, {
packages/plugin-defi/src/actions/cancel-order.ts, line 29
const response = await fetch(
packages/plugin-defi/src/actions/create-dca-order.ts, line 62
const response = await fetch(
packages/plugin-defi/src/actions/create-limit-order.ts, line 55
const response = await fetch(
packages/plugin-defi/src/actions/get-price.ts, line 26
const response = await fetch(
packages/plugin-defi/src/actions/get-staking-pools.ts, line 40
const response = await fetch(
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
contracts/deploy-escrow.ts, line 7
* Requires .env with TON_MNEMONIC, and optionally TON_NETWORK, TON_RPC_URL and
contracts/deploy-escrow.ts, line 50
if (!mnemonic) throw new Error("[deployEscrow] TON_MNEMONIC not set in .env");
contracts/deploy-reputation.ts, line 7
* Requires .env with TON_MNEMONIC, and optionally TON_NETWORK and TON_RPC_URL.
Show more
contracts/deploy-reputation.ts, line 38
if (!mnemonic) throw new Error("[deployReputation] TON_MNEMONIC not set in .env");
examples/mcp-server/src/index.ts, line 50
const privateKey = process.env.TON_PRIVATE_KEY;
examples/mcp-server/src/index.ts, line 70
TONAPI_KEY: process.env.TONAPI_KEY || "",
examples/mcp-server/src/index.ts, line 113
TONAPI_KEY: process.env.TONAPI_KEY || "",
examples/x402-server/src/index.ts, line 21
// Config (manual .env parsing, no dotenv needed)
examples/x402-server/src/index.ts, line 26
envContent = readFileSync(".env", "utf-8");
examples/x402-server/src/index.ts, line 28
// No .env is fine: the checks below name what is missing. Reading it at
examples/x402-server/src/index.ts, line 45
console.error("Error: Set TON_RECIPIENT or TON_ADDRESS in .env");
packages/core/src/agent.ts, line 526
const apiKey = options?.apiKey || process.env.OPENAI_API_KEY || readEnvKey("OPENAI_API_KEY");
packages/mcp-server/src/index.ts, line 55
const privateKey = process.env.TON_PRIVATE_KEY;
packages/mcp-server/src/index.ts, line 75
TONAPI_KEY: process.env.TONAPI_KEY || "",
packages/mcp-server/src/index.ts, line 119
TONAPI_KEY: process.env.TONAPI_KEY || "",
packages/mcp-server/src/index.ts, line 246
if (process.env.MCP_AUTH_TOKEN) authToken = process.env.MCP_AUTH_TOKEN;
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Concern
contains an encoded blob in a file that should be readable.
OBFUSCATION_ENCODED_BLOB
packages/plugin-escrow/src/contracts/Escrow_Escrow.ts, line 1964
const __code = Cell.fromHex('b5ee9c7241024d0100194b00022cff008e88f4a413f4bcf2c80bed53208e8130e1ed43d90108020378e00204038db96c0ed44d0d200018eb2fa40fa40810101d700d401d0810101d7008101
packages/plugin-identity/src/contracts/Reputation_Reputation.ts, line 2402
const __code = Cell.fromHex('b5ee9c724102db01004bf700022cff008e88f4a413f4bcf2c80bed53208e8130e1ed43d9014e0202710225020120030b020120040902027605070345a71bda89a1a400031d0ff4800203a3b
packages/plugin-token/src/actions/deploy-jetton.ts, line 8
"b5ee9c72c1020d0100029c000000000d00120018002a006b007000bc0139018f02110218027b0114ff00f4a413f4bcf2c80b01020162050202037a600403001faf16f6a2687d007d206a6a183faa9040007dadbcf6a2687d007
Show more
packages/plugin-token/src/actions/deploy-jetton.ts, line 11
"b5ee9c72c1021101000323000000000d001200220027002c00700075007a00e8016801a801e2025e02af02b402bf0114ff00f4a413f4bcf2c80b010201620302001ba0f605da89a1f401f481f481a8610202cc0e04020120060
contracts/output/Escrow_Escrow.pkg, line 1
{"name":"Escrow","code":"te6ccgECTQEAGUsAAiz/AI6I9KQT9LzyyAvtUyCOgTDh7UPZAQICA3jgAwQE7AHQctch0gDSAPpAIRA0UGZvBPhhAvhi7UTQ0gABjrL6QPpAgQEB1wDUAdCBAQHXAIEBAdcA+kDSANQw0IEBAdcAgQEB1wA
contracts/output/Reputation_Reputation.pkg, line 1
{"name":"Reputation","code":"te6ccgEC2wEAS/cAAiz/AI6I9KQT9LzyyAvtUyCOgTDh7UPZAQICAnEDBAScAdBy1yHSANIA+kAhEDRQZm8E+GEC+GLtRNDSAAGOh/pAAQHR2zzjDRE0mF8PXw9fD18H4BEy1w0f8uCCIYIQOKCjB7r
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 61c6a4def80d. can reach a host that is not written as a fixed address. reads a credential or environment file. contains an encoded blob in a file that should be readable.
Date and source
Date checked:
github.com
Commit graded: 61c6a4def80dcdb98ecba615e4f980561735a9d2
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.