Codex, Plugin
Codex Lark Plugin
codex lark channel plugin
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.
Rescanned at commit b6202ceed1b9, unchanged since the check below.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
src/codex-exec-action-channel.ts, line 176
await fs.rm(this.dir, { recursive: true, force: true }).catch(() => undefined); - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
scripts/codex-exec-trace-smoke.ts, line 159
command: 'curl -H "Authorization: Bearer should-not-appear" https://example.test', - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
scripts/codex-exec-trace-smoke.ts, line 159
command: 'curl -H "Authorization: Bearer should-not-appear" https://example.test', - SECRETS_PATH_DOTENV Low
Mentions a .env file.
AGENTS.md, line 23
src/config.ts - Loads config from ~/.codex/channels/lark/.env (dotenv) - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
plugins/lark/runtime/chunks/chunk-WOBAO6HM.js, line 134
if (process.env.DOTENV_KEY && process.env.DOTENV_KEY.length > 0) { - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
plugins/lark/runtime/index.js, line 1
import { createRequire as __larkCreateRequire } from 'node:module'; import { fileURLToPath as __larkFileURLToPath } from 'node:url'; import { dirname as __larkPathDirname } from 'n
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
Concern
can delete files.
PERMISSION_DELETE_FILES
src/codex-exec-action-channel.ts, line 176
await fs.rm(this.dir, { recursive: true, force: true }).catch(() => undefined);
src/codex-exec-action-channel.ts, line 279
await fs.rm(entryPath, { recursive: true, force: true });
src/codex-exec-actions.ts, line 617
await Promise.allSettled(temporaryPaths.map((filePath) => fs.rm(filePath, { force: true })));
Show more
src/codex-exec-progress.ts, line 150
await fs.rm(this.dir, { recursive: true, force: true }).catch(() => undefined);
src/codex-exec-progress.ts, line 342
await fs.rm(entryPath, { recursive: true, force: true });
src/codex-exec.ts, line 281
await fs.rm(tmpDir, { recursive: true, force: true }).catch(() => {});
src/codex-exec.ts, line 501
await fs.rm(tmpDir, { recursive: true, force: true }).catch(() => {});
src/codex-session-store.ts, line 101
await fs.unlink(tmpPath).catch(() => {});
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach example.test. The description does not name that host. can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
scripts/codex-exec-trace-smoke.ts, line 159
command: 'curl -H "Authorization: Bearer should-not-appear" https://example.test',
src/channel.ts, line 341
const fetched = await sdkChannel.comments.fetch(target, comment.commentId);
docs/channel-sdk-node-migration.md, line 84
| Doc-comment mention handling | Keep SDK comment event and SDK `channel.comments.resolveTarget()` / `fetch()` for selected-text context. | Preserve `doc:<file_token>` identity, se
Show more
docs/lark-transport-fallback-policy.md, line 29
and `channel.comments.fetch()` on a best-effort basis, then preserves the local
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
AGENTS.md, line 23
src/config.ts - Loads config from ~/.codex/channels/lark/.env (dotenv)
plugins/lark/runtime/doctor.js, line 134
configFilePresent ? `Validated ${options.configPath}.` : "Validated credentials from the process environment; no .env file is present."
plugins/lark/runtime/chunks/chunk-WOBAO6HM.js, line 134
if (process.env.DOTENV_KEY && process.env.DOTENV_KEY.length > 0) {
Show more
plugins/lark/runtime/doctor.js, line 143
"Run $lark:configure setup and verify the generated .env file."
plugins/lark/runtime/doctor.js, line 323
configPath: path.join(os.homedir(), ".codex", "channels", "lark", ".env"),
plugins/lark/runtime/chunks/chunk-WOBAO6HM.js, line 50
"\u25C8 encrypted .env [www.dotenvx.com]",
plugins/lark/runtime/chunks/chunk-WOBAO6HM.js, line 53
"\u2318 custom filepath { path: '/custom/path/.env' }",
plugins/lark/runtime/chunks/chunk-WOBAO6HM.js, line 57
"\u2318 multiple files { path: ['.env.local', '.env'] }"
plugins/lark/runtime/chunks/chunk-WOBAO6HM.js, line 135
return process.env.DOTENV_KEY;
plugins/lark/runtime/chunks/chunk-WOBAO6HM.js, line 145
const err = new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:[email protected]/vault/.env.vault?environment=development");
scripts/access-control-smoke.ts, line 7
process.env.LARK_APP_SECRET ||= 'access_control_test_secret';
scripts/codex-exec-action-channel-smoke.ts, line 8
process.env.LARK_APP_SECRET ||= 'test_app_secret';
scripts/codex-exec-actions-smoke.ts, line 8
process.env.LARK_APP_SECRET ||= 'test_app_secret';
scripts/codex-exec-config-smoke.ts, line 7
process.env.LARK_APP_SECRET ||= 'test_app_secret';
scripts/codex-exec-metrics-smoke.ts, line 4
process.env.LARK_APP_SECRET ||= 'test_app_secret';
scripts/codex-exec-trace-smoke.ts, line 8
process.env.LARK_APP_SECRET ||= 'test_app_secret';
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
plugins/lark/runtime/index.js, line 1
import { createRequire as __larkCreateRequire } from 'node:module'; import { fileURLToPath as __larkFileURLToPath } from 'node:url'; import { dirname as __larkPathDirname } from 'n
plugins/lark/runtime/chunks/chunk-XJOXMTOR.js, line 1
import { createRequire as __larkCreateRequire } from 'node:module'; import { fileURLToPath as __larkFileURLToPath } from 'node:url'; import { dirname as __larkPathDirname } from 'n
scripts/continuation-repository-smoke.ts, line 1
import assert from 'node:assert/strict';
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 b6202ceed1b9. can delete files. can reach example.test. The description does not name that host. 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: b6202ceed1b9f0d50fd671193a2a0e7a5dd24b0d
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.