MCP, MCP server
cortex
Cortex - Generates interactive API documentation, typed SDKs, and MCP servers from OpenAPI, AsyncAPI, GraphQL, gRPC, OpenRPC, and Markdown.
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 db50bf4e30ef, unchanged since the check below.
INSTALL_REMOTE_SCRIPT SECRETS_PATH_CREDENTIAL
Why this grade
- INSTALL_REMOTE_SCRIPT Medium
Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).
Dockerfile, line 10
curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \ - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
packages/cli/src/commands/publish/publish.command.ts, line 1181
const npmrc = path.join(tempDir, '.npmrc');
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
e2e/publish/run-publish-tests.js, line 74
fs.rmSync(WORK, { recursive: true, force: true });
e2e/publish/run-publish-tests.js, line 77
fs.rmSync(path.join('/shared', entry), { recursive: true, force: true });
e2e/publish/run-publish-tests.js, line 178
fs.rmSync(path.join(root, 'generated'), { recursive: true, force: true });
Show more
e2e/publish/run-publish-tests.js, line 498
fs.rmSync(WORK, { recursive: true, force: true });
e2e/publish/run-publish-tests.js, line 530
fs.rmSync(path.join(WORK, 'generated'), { recursive: true, force: true });
e2e/publish/run-publish-tests.js, line 565
fs.rmSync(path.join(WORK, 'generated'), { recursive: true, force: true });
packages/cli/src/commands/deploy/deploy.command.ts, line 188
fs.rmSync(directory, { recursive: true, force: true });
packages/cli/src/commands/docs/build.command.ts, line 107
fs.rmSync(path.join(runtimeDir, 'app', route), { recursive: true, force: true });
Install and update
Serious
install fetches a script from the network.
INSTALL_REMOTE_SCRIPT
Dockerfile, line 10
curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
Dockerfile, line 48
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
Network
Concern
can reach a host that is not written as a fixed address. can reach phar.phpunit.de. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
e2e/docs-ui-static.spec.ts, line 44
const response = await route.fetch();
e2e/docker/run-sdk-tests.js, line 46
const response = await fetch(`${MOCK_URL}/transport/reset`, { method: 'POST' });
e2e/docker/run-sdk-tests.js, line 51
const response = await fetch(`${MOCK_URL}/transport/status`);
Show more
e2e/docker/run-sdk-tests.js, line 89
try { const res = await fetch(`${url}/health`); if (res.ok) return; } catch {}
e2e/docker/run-sdk-tests.js, line 259
try { run('wget -q https://phar.phpunit.de/phpunit-11.phar -O /tmp/phpunit.phar && chmod +x /tmp/phpunit.phar'); } catch {}
packages/cli/src/commands/deploy/deploy.command.ts, line 63
const response = await fetch(`${api}${route}`, {
packages/cli/src/commands/publish/registry-version.ts, line 140
response = await fetch(url, {
packages/codegen/src/languages/python/templates/grpc/client.ejs, line 94
with urllib.request.urlopen(request, timeout=timeout or 30.0) as response:
packages/docs-ui/scripts/dev.mjs, line 179
const response = await fetch(`http://127.0.0.1:${MOCK_PORT}/health`, {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV
e2e/publish/run-publish-tests.js, line 420
run('cargo', ['run'], { cwd: dir, env: { CARGO_REGISTRIES_CORTEX_TOKEN: process.env.CARGO_REGISTRY_TOKEN } });
packages/cli/src/commands/deploy/deploy.command.ts, line 25
const fromEnvironment = process.env.GITHUB_TOKEN ?? process.env.GH_TOKEN;
packages/cli/src/commands/publish/publish.command.ts, line 1181
const npmrc = path.join(tempDir, '.npmrc');
Show more
packages/cli/src/commands/publish/registry-version.ts, line 237
const npmrc = path.join(tempDir, '.npmrc');
packages/cli/src/commands/publish/registry-version.ts, line 274
const npmrc = path.join(tempDir, '.npmrc');
.gitignore, line 14
coverage/
.gitignore, line 15
.env
packages/cli/src/commands/publish/publish.command.ts, line 1409
env: { ...process.env, ...env },
packages/cli/src/commands/publish/publish.command.ts, line 1453
env: { ...process.env, ...env },
packages/cli/src/commands/publish/registry-version.ts, line 95
env: { ...process.env, ...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. the file cap was reached before every file was read.
OBFUSCATION_FILE_OVER_READ_CAP OBFUSCATION_FILE_CAP_REACHED
package-lock.json, line 1
{
packages/codegen/src/languages/ruby/templates/graphql/multi-query.ejs, line 1
<% const queries = (it.queries ?? []).slice(0, 2); -%>
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 db50bf4e30ef. can delete files. install fetches a script from the network. can reach a host that is not written as a fixed address. can reach phar.phpunit.de. The description does not name that host. reads a credential or environment file. a file was over the read cap and was not fully read. the file cap was reached before every file was read.
Date and source
Date checked:
github.com
Commit graded: db50bf4e30efe3442cf248be5f46bc496a741ced
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.