MCP, MCP server
io.github.OrderlyNetwork/orderly-mcp
A Model Context Protocol (MCP) server providing documentation and SDK patterns for Orderly Network - an omnichain perpetual futures trading infrastructure.
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High finding. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 45bd29a8ebce, unchanged since the check below.
INSTALL_LIFECYCLE_HOOK NETWORK_HOST_FROM_INPUT
Why this grade
- INSTALL_LIFECYCLE_HOOK Medium
A package install hook (preinstall, install, postinstall or prepare) runs a script.
package.json, line 18
prepare - NETWORK_HOST_FROM_INPUT Medium
A file takes a URL or endpoint as input and has no fixed host list.
scripts/generate_api_from_openapi.js, line 37
const response = await fetch(OPENAPI_URL);
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.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
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.
PERMISSION_DELETE_FILES
scripts/analyze_docs.js, line 190
fs.rmSync(TEMP_DIR, { recursive: true, force: true });
scripts/analyze_sdk.js, line 61
fs.rmSync(TEMP_DIR, { recursive: true, force: true });
scripts/analyze_sdk.js, line 596
fs.rmSync(TEMP_DIR, { recursive: true, force: true });
Show more
scripts/build.js, line 67
fs.rmSync(entryPath, { force: true });
scripts/build.js, line 75
fs.rmSync(dataDestDir, { recursive: true, force: true });
scripts/clean_telegram_export.js, line 297
fs.rmSync(outputDir, { recursive: true, force: true });
Install and update
Concern
runs a script at install time.
INSTALL_LIFECYCLE_HOOK
package.json, line 18
prepare
Network
Serious
accepts a host from input, with no fixed list in this file.
NETWORK_HOST_FROM_INPUT
scripts/generate_api_from_openapi.js, line 37
const response = await fetch(OPENAPI_URL);
scripts/generate_api_from_openapi.js, line 296
fetch(url, {
scripts/generate_api_from_openapi.js, line 308
fetch(url).then(res => res.json()).then(console.log);`;
Show more
scripts/generate_contracts.js, line 215
console.error(` curl -o addresses.mdx "${MDX_URL}"`);
scripts/generate_enriched_docs.js, line 383
const nonceRes = await fetch(\`\${BASE_URL}/v1/registration_nonce\`);
scripts/generate_enriched_docs.js, line 414
const registerRes = await fetch(\`\${BASE_URL}/v1/register_account\`, {
scripts/generate_enriched_docs.js, line 549
const keyRes = await fetch(\`\${BASE_URL}/v1/orderly_key\`, {
scripts/generate_enriched_workflows.js, line 220
const res = await fetch('/v1/orderly_key', {
scripts/generate_enriched_workflows.js, line 392
const ws = new WebSocket(
scripts/generate_indexer_api.js, line 40
const response = await fetch(OPENAPI_URL);
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
scripts/analyze_docs.js, line 47
* 2. NEAR_AI_API_KEY in .env file
scripts/analyze_docs.js, line 87
apiKey: process.env.NEAR_AI_API_KEY || process.env.OPENAI_API_KEY,
scripts/analyze_sdk.js, line 43
if (USE_AI && !process.env.NEAR_AI_API_KEY && !process.env.OPENAI_API_KEY) {
Show more
scripts/analyze_sdk.js, line 51
apiKey: process.env.NEAR_AI_API_KEY || process.env.OPENAI_API_KEY,
scripts/analyze_telegram_chats.js, line 36
* 2. NEAR_AI_API_KEY in .env file.
scripts/analyze_telegram_chats.js, line 105
apiKey: process.env.NEAR_AI_API_KEY || process.env.OPENAI_API_KEY,
scripts/generate_enriched_docs.js, line 48
apiKey: process.env.NEAR_AI_API_KEY || process.env.OPENAI_API_KEY,
scripts/generate_mcp_data.js, line 46
* 2. NEAR_AI_API_KEY in .env file
scripts/generate_mcp_data.js, line 100
apiKey: process.env.NEAR_AI_API_KEY || process.env.OPENAI_API_KEY,
scripts/generate_mcp_data.js, line 797
if (!process.env.NEAR_AI_API_KEY && !process.env.OPENAI_API_KEY) {
.dockerignore, line 6
README.md
.dockerignore, line 7
.env
.dockerignore, line 8
.env.local
.gitignore, line 24
# Environment variables
.gitignore, line 25
.env
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
src/data/api.json, line 1
{
src/data/component-guides.json, line 1
{
src/data/documentation.json, line 1
{
Show more
src/data/indexer-api.json, line 1
{
src/data/orderly-one-api.json, line 1
{
src/data/sdk-symbols.json, line 1
{
src/data/workflows.json, line 1
{
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 45bd29a8ebce. can delete files. runs a script at install time. accepts a host from input, with no fixed list in this file. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 45bd29a8ebcec9e14bdecf2b670cd8caa1261fed
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.