MCP, MCP server
CTXAI
Self-hosted, open-source AI generation studio.
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.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
apps/web/src/components/montage/montage-editor.tsx, line 81
const res = await fetch("/api/compositions", { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
.gitignore, line 7
.env - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
apps/web/src/lib/crypto.test.ts, line 5
process.env.ENCRYPTION_KEY = "a".repeat(64); - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
pnpm-lock.yaml, line 1
lockfileVersion: '9.0'
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
apps/web/src/components/montage/montage-editor.tsx, line 81
const res = await fetch("/api/compositions", {
apps/web/src/components/settings/api-keys-section.tsx, line 29
const res = await fetch("/api/keys", {
apps/web/src/components/settings/api-keys-section.tsx, line 109
await fetch(`/api/keys/${key.id}`, { method: "DELETE" });
Show more
apps/web/src/components/settings/provider-key-card.tsx, line 45
const res = await fetch(`/api/credentials/${provider.id}`, init);
apps/web/src/components/studio/studio.tsx, line 75
const res = await fetch("/api/jobs", {
apps/web/src/hooks/use-job-stream.ts, line 15
const res = await fetch(`/api/jobs/${jobId}`);
apps/web/src/lib/assets.ts, line 38
const res = await fetch(asset.url);
apps/web/src/lib/providers/http.ts, line 11
res = await fetch(url, rest);
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
apps/web/src/lib/crypto.test.ts, line 5
process.env.ENCRYPTION_KEY = "a".repeat(64);
apps/web/src/lib/crypto.test.ts, line 30
const key = process.env.ENCRYPTION_KEY;
.gitignore, line 7
.env
Show more
apps/web/src/lib/crypto.test.ts, line 31
process.env.ENCRYPTION_KEY = "
apps/web/src/lib/crypto.test.ts, line 33
process.env.ENCRYPTION_KEY = key;
apps/web/src/lib/crypto.ts, line 12
const hex = process.env.ENCRYPTION_KEY;
packages/cli/index.js, line 65
const key = flags.key ?? process.env.CTXAI_API_KEY ?? stored.key;
packages/cli/test.mjs, line 97
...env,
packages/mcp-stdio/index.js, line 15
const apiKey = process.env.CTXAI_API_KEY;
packages/mcp-stdio/test.mjs, line 89
delete process.env.CTXAI_API_KEY;
.gitignore, line 6
*.db-journal
CLAUDE.md, line 14
`apps/web/.env` needs `BETTER_AUTH_SECRET` (base64) and `ENCRYPTION_KEY`
CONTRIBUTING.md, line 12
cp .env.example apps/web/.env # set BETTER_AUTH_SECRET + ENCRYPTION_KEY
README.md, line 46
cat > .env <<EOF
README.md, line 66
cp .env.example apps/web/.env # fill BETTER_AUTH_SECRET + ENCRYPTION_KEY
docker-compose.yml, line 11
BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET:?set BETTER_AUTH_SECRET in .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
pnpm-lock.yaml, line 1
lockfileVersion: '9.0'
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 5739800e569c. can reach a host that is not written as a fixed address. 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: 5739800e569cf0395cf9e0cc8ea11618767c5407
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.