Codex, Plugin
Codex Discord Presence
Before installing this plugin, install Node.js LTS (Node.js 20 or later is recommended), because the plugin hooks and Discord Presence daemon run through node.
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.
PERMISSION_DELETE_FILES
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
plugins/codex-discord-presence/scripts/broker.js, line 110
try { fs.rmSync(heartbeatPath, { force: true }); } catch {}
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
plugins/codex-discord-presence/scripts/broker.js, line 110
try { fs.rmSync(heartbeatPath, { force: true }); } catch {}
plugins/codex-discord-presence/scripts/broker.js, line 112
if (readBrokerState()?.pid === process.pid) fs.rmSync(statePath, { force: true });
plugins/codex-discord-presence/scripts/broker.js, line 139
fs.rmSync(lockPath, { force: true });
Show more
plugins/codex-discord-presence/scripts/codex-discord-presence.js, line 288
try { fs.rmSync(path.join(brokerStateDir, 'codex.json'), { force: true }); } catch {}
plugins/codex-discord-presence/scripts/session-state.js, line 82
fs.rmSync(temporaryPath, { force: true });
plugins/codex-discord-presence/scripts/session-state.js, line 107
fs.rmSync(lockPath, { force: true });
plugins/codex-discord-presence/scripts/stop.js, line 40
fs.rmSync(path.join(brokerStateDir, 'codex.json'), { force: true });
plugins/codex-discord-presence/scripts/shared/daemon-state.js, line 48
fs.rmSync(statePath(dataDir), { force: true });
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Pass
No network call found.
Secrets
Pass
No read of a credential file or secret environment variable found.
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 dbb3018e0049. can delete files.
Date and source
Date checked:
github.com
Commit graded: dbb3018e0049b86c774368fd304e578bef0ec05f
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.