Codex, Plugin
Ask Llm
MCP server for AI-to-AI collaboration — bridge Claude with Gemini, Codex, and other LLMs for code review, second opinions, and plan debate
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 6d382ea0a061, unchanged since the check below.
INSTALL_LIFECYCLE_HOOK
Why this grade
- INSTALL_LIFECYCLE_HOOK Medium
A package install hook (preinstall, install, postinstall or prepare) runs a script.
apps/docs/providers/grok.md, line 50
curl -fsSL https://x.ai/cli/install.sh | bash
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
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
docs/BUGS.md, line 280
- **Description:** `child_process.spawn()` fails on Windows because `gemini` resolves to `gemini.cmd`. Needs `shell: true` option and proper argument escaping.
docs/DECISIONS.md, line 1291
- **Decision:** Inline a minimal `child_process.spawn("codex", [...])` directly in `scripts/codex-pair-watch.mjs` with zero workspace imports. The hook becomes a self-contained `.m
Install and update
Concern
runs a script at install time. The docs document an installer that pipes a download into a shell. README documents an installer that pipes a download into a shell.
INSTALL_LIFECYCLE_HOOK INSTALL_DOCUMENTED_INSTALLER
apps/docs/providers/grok.md, line 50
curl -fsSL https://x.ai/cli/install.sh | bash
packages/grok-mcp/README.md, line 31
curl -fsSL https://x.ai/cli/install.sh | bash
package.json, line 25
prepare
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
packages/grok-mcp/src/utils/grokExecutor.ts, line 249
response = await globalThis.fetch(`${XAI_API_BASE_URL}${path}`, { ...init, signal: controller.signal });
packages/ollama-mcp/src/utils/ollamaExecutor.ts, line 111
response = await globalThis.fetch(url, {
packages/ollama-mcp/src/utils/ollamaExecutor.ts, line 160
const response = await globalThis.fetch(url, { signal: controller.signal });
Show more
packages/ollama-mcp/src/utils/ollamaExecutor.ts, line 175
const response = await globalThis.fetch(url, { signal: controller.signal });
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
packages/grok-mcp/src/utils/grokCliExecutor.ts, line 60
for (const secret of [process.env.XAI_API_KEY, process.env.GROK_API_KEY].filter(isPresent)) {
packages/grok-mcp/src/utils/grokExecutor.ts, line 274
const configured = process.env.ASK_GROK_MAX_OUTPUT_TOKENS;
packages/llm-mcp/src/cursorAgent.ts, line 59
for (const secret of [process.env.CURSOR_API_KEY].filter(isPresent)) {
Show more
packages/llm-mcp/src/doctorCli.ts, line 79
process.env.ASK_GROK_HARNESS === "grok-cli" || (!process.env.ASK_GROK_HARNESS && !process.env.XAI_API_KEY?.trim())
.gitignore, line 3
*.log
docs/DECISIONS.md, line 17
**Context:** Existing users reached Ask LLM through several routes: an `ask-llm` entry running `npx -y @ask-llm/mcp` (or the earlier unscoped `ask-llm-mcp`), split provider servers
docs/DECISIONS.md, line 1155
- **Context:** Prior to this ADR, the codex-pair hook scattered its state across five sibling-flat paths in the project root: `.codex-pair-context.md` (marker, ADR-077), `.codex-pa
docs/DECISIONS.md, line 1398
- **Consequences:** ADR-058's session surfaces have explicit persistence semantics. For Codex, callers must opt in on turn one with `sessionId: ""` and then pass that call's return
docs/DECISIONS.md, line 1427
- **Decision:** Added `vitest@^4.0.18` to the plugin's devDependencies and replaced the placeholder test script with `vitest run`. Wrote 4 test files in `src/__tests__/`, totaling
packages/llm-mcp/src/hosts/apply.ts, line 27
return { ...env, ...host.spec.env, PATH: getSpawnEnv().PATH };
packages/llm-mcp/src/hosts/detect.ts, line 64
? { ...env, HOME: probeHome, XDG_CONFIG_HOME: probeHome, XDG_CACHE_HOME: probeHome, GROK_HOME: probeHome }
packages/llm-mcp/src/hosts/detect.ts, line 186
inEnv = trimmed === `[${table}.env]` || trimmed === `[mcp_servers."${name}".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
yarn.lock, line 1
# This file is generated by running "yarn install" inside your project.
docs/DECISIONS.md, line 1
# Architectural Decisions
packages/llm-mcp/src/migrate.ts, line 1
import { type Applied, backupConfig, firstLine, HOST_COMMAND_TIMEOUT_MS, hostEnv, NOT_FOUND } from "./hosts/apply.js";
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 6d382ea0a061. requests shell access. The manifest names this permission. runs a script at install time. The docs document an installer that pipes a download into a shell. README documents an installer that pipes a download into a shell. 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. the file cap was reached before every file was read.
Date and source
Date checked:
github.com
Commit graded: 6d382ea0a0617b4aa33d55795dec671dd49f4418
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.