Codex, Plugin
Moodle Codex
Moodle Codex, a plugin listed in the PlugVet directory.
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.
SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- SECRETS_PATH_DOTENV Low
Mentions a .env file.
.gitignore, line 3
.env - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
plugins/moodle-codex/scripts/read-tool.mjs, line 24
const value = redactSecrets(result.structuredContent ?? result, process.env.MOODLE_TOKEN ?? '');
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
Pass
No network call found.
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
plugins/moodle-codex/scripts/read-tool.mjs, line 24
const value = redactSecrets(result.structuredContent ?? result, process.env.MOODLE_TOKEN ?? '');
plugins/moodle-codex/scripts/read-tool.mjs, line 34
console.error(JSON.stringify({ error: redactSecrets(String(error.message), process.env.MOODLE_TOKEN ?? '') }));
.gitignore, line 3
.env
Show more
plugins/moodle-codex/src/moodle-client.mjs, line 118
token = process.env.MOODLE_TOKEN,
plugins/moodle-codex/src/moodle-client.mjs, line 139
configured: baseUrlValid && Boolean(process.env.MOODLE_TOKEN?.trim()),
plugins/moodle-codex/src/moodle-client.mjs, line 142
token_present: Boolean(process.env.MOODLE_TOKEN?.trim()),
.gitignore, line 2
.npm-cache/
.gitignore, line 5
!.env.example
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
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 b7c99248984d. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: b7c99248984d0da198971ba6d2baefea3fc7a8f3
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.