MCP, MCP server
Cloaked Agent
Trustless spending accounts for AI agents on Solana
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.
Rescanned at commit b9f1ee8c4f46, unchanged since the check below.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST OBFUSCATION_ENCODED_BLOB SECRETS_ENV_READ
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/agent.ts, line 465
const state = await (program.account as any).cloakedAgentState.fetch(agentStatePda); - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
src/agent.ts, line 465
const state = await (program.account as any).cloakedAgentState.fetch(agentStatePda); - OBFUSCATION_ENCODED_BLOB Low
Contains a long base64 shaped string in a file that should be readable.
src/zk/ownership_proof.json, line 1
{"noir_version":"1.0.0-beta.18+99bb8b5cf33d7669adbdef096b12d80f30b4c0c9","hash":"215865484024365799","abi":{"parameters":[{"name":"agent_secret","type":{"kind":"field"},"visibility - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/mcp/index.ts, line 399
const agentKey = process.env.CLOAKED_AGENT_KEY;
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. can reach api.cloakedagent.com. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
src/agent.ts, line 465
const state = await (program.account as any).cloakedAgentState.fetch(agentStatePda);
src/agent.ts, line 1296
const state = await (program.account as any).tokenVaultState.fetch(tokenStatePda);
src/relayer.ts, line 77
const response = await fetch(`${baseUrl}/api/relayer/${endpoint}`, {
Show more
src/relayer.ts, line 99
const response = await fetch(`${baseUrl}/api/relayer/status`);
src/relayer.ts, line 154
const response = await fetch(`${baseUrl}/api/relayer/create-private`, {
src/relayer.ts, line 325
const response = await fetch(`${baseUrl}/api/relayer/cosign-spend`, {
src/relayer.ts, line 354
const response = await fetch(`${baseUrl}/api/relayer/pubkey`);
src/mcp/index.ts, line 87
description: "The URL to fetch (must be a valid HTTP/HTTPS URL)",
Secrets
Note
reads an environment variable.
SECRETS_ENV_READ
src/mcp/index.ts, line 399
const agentKey = process.env.CLOAKED_AGENT_KEY;
src/mcp/index.ts, line 413
if (!process.env.CLOAKED_AGENT_KEY) {
src/mcp/tools.ts, line 70
const key = agentKey || process.env.CLOAKED_AGENT_KEY;
Show more
src/mcp/tools.ts, line 135
const key = agentKey || process.env.CLOAKED_AGENT_KEY;
src/mcp/tools.ts, line 205
const key = agentKey || process.env.CLOAKED_AGENT_KEY;
src/mcp/tools.ts, line 332
const key = agentKey || process.env.CLOAKED_AGENT_KEY;
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
src/zk/ownership_proof.json, line 1
{"noir_version":"1.0.0-beta.18+99bb8b5cf33d7669adbdef096b12d80f30b4c0c9","hash":"215865484024365799","abi":{"parameters":[{"name":"agent_secret","type":{"kind":"field"},"visibility
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 b9f1ee8c4f46. can reach a host that is not written as a fixed address. can reach api.cloakedagent.com. The description does not name that host. reads an environment variable. contains an encoded blob in a file that should be readable.
Date and source
Date checked:
github.com
Commit graded: b9f1ee8c4f469a9b8ac111d2e42f7f89b4e10f47
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.