MCP, MCP server
io.github.Neurobyteio/agentrisk
Pre-Trade Security Layer for Autonomous DeFi Agents on Base. Stop letting your autonomous trading bots get rekt by stealth honeypots, malicious taxes, and rugpulls.
Compatibility: Not stated.
Grade C
One Medium finding. Read the findings before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit eec5d8ccb3b8, unchanged since the check below.
PERMISSION_SHELL_UNDECLARED
Why this grade
- PERMISSION_SHELL_UNDECLARED Medium
Runs shell commands that the manifest or description does not mention.
publish.py, line 5
shutil.rmtree(sdk_dir)
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
Concern
can delete files. requests shell access. No manifest field names shell or command execution.
PERMISSION_SHELL_UNDECLARED PERMISSION_DELETE_FILES
publish.py, line 5
shutil.rmtree(sdk_dir)
publish.py, line 22
subprocess.run(["/var/www/agentrisk/venv/bin/python3", "-m", "build"], cwd=sdk_dir, check=True)
publish.py, line 23
subprocess.run(["/var/www/agentrisk/venv/bin/python3", "-m", "twine", "upload", "dist/*", "-u", "__token__", "-p", token], cwd=sdk_dir, check=True)
Show more
publish_npm.js, line 8
fs.rmSync(sdkDir, { recursive: true, force: true });
Install and update
Concern
dependencies are not pinned.
INSTALL_UNPINNED
requirements.txt, line 1
fastapi>=0.111.0
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
publish.py, line 10
ress: str) -> dict:\n response = httpx.get(f"{self.base_url}/v1/token/quick", param
publish_npm.js, line 53
const response = await axios.get(\`\${this.baseUrl}/v1/token/quick\`, { params: { address: tokenAddress } });
publish_npm.js, line 61
const response = await axios.get(\`\${this.baseUrl}/v1/token/deep\`, { params });
Show more
test_batch.py, line 37
response = await http.get(url)
test_x402_client.py, line 38
response = await http.get(TARGET_URL)
agentrisk_js_sdk/src/index.ts, line 11
const response = await axios.get(`${this.baseUrl}/v1/token/quick`, { params: { address: tokenAddress } });
agentrisk_js_sdk/src/index.ts, line 19
const response = await axios.get(`${this.baseUrl}/v1/token/deep`, { params });
agentrisk_sdk/agentrisk/__init__.py, line 34
response = await http.get(f"{self.base_url}/scan?token={token_address}")
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
attestation.py, line 32
private_key = os.environ.get("ATTESTATION_PRIVATE_KEY")
main.py, line 55
api_key_id=os.environ.get("CDP_API_KEY_ID"),
main.py, line 56
api_key_secret=os.environ.get("CDP_API_KEY_SECRET"),
Show more
manual_transfer.py, line 7
load_dotenv('/var/www/agentrisk/.env')
publish.py, line 19
token = os.environ.get("PYPI_TOKEN")
publish.py, line 21
raise RuntimeError("PYPI_TOKEN not set in environment (.env)")
rpc_manager.py, line 9
Environment variables (.env):
rpc_manager.py, line 62
"PRIMARY_BASE_RPC is not set. Define it in your .env file, e.g.\n"
sweeper.py, line 14
PRIVATE_KEY = os.environ.get("SWEEPER_PRIVATE_KEY")
test_batch.py, line 14
PRIVATE_KEY = os.environ.get("TEST_PAYER_PRIVATE_KEY")
test_batch.py, line 16
raise RuntimeError("TEST_PAYER_PRIVATE_KEY not set in .env")
test_x402_client.py, line 22
PRIVATE_KEY = os.environ.get("TEST_PAYER_PRIVATE_KEY")
test_x402_client.py, line 24
raise RuntimeError("TEST_PAYER_PRIVATE_KEY not set in .env")
agentrisk_sdk/agentrisk/cli.py, line 20
private_key = os.environ.get("AGENTRISK_PRIVATE_KEY")
.gitignore, line 1
.env
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Note
no licence file found.
LICENCE_MISSING
No file path was stored.
no licence file found.
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit eec5d8ccb3b8. can delete files. requests shell access. No manifest field names shell or command execution. dependencies are not pinned. can reach a host that is not written as a fixed address. reads a credential or environment file. no licence file found.
Date and source
Date checked:
github.com
Commit graded: eec5d8ccb3b85fbf0fb4017c31910fbb5fb25a2d
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.