Codex, Plugin
Deepseek Usage Monitor
一个 Codex 插件:把 DeepSeek 的 token 用量、账户余额和费用记在本机,按官方峰谷单价算钱,并在超预算或缓存命中异常时提醒。带一个本地可视化面板和一个桌面悬浮球。
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.
NETWORK_NO_FIXED_HOST SECRETS_PATH_UNCONFIRMED SECRETS_ENV_READ
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
plugins/deepseek-usage-monitor/scripts/api.mjs, line 15
const response = await fetch(joinUrl(baseUrl, path), { - SECRETS_PATH_UNCONFIRMED Low
The Secrets check reports a credential or environment file, but no quoted line shows a recognisable path.
plugins/deepseek-usage-monitor/scripts/usage-lib.mjs, line 419
const fromEnv = firstNonEmpty(process.env.DEEPSEEK_API_KEY); - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
plugins/deepseek-usage-monitor/scripts/usage-lib.mjs, line 419
const fromEnv = firstNonEmpty(process.env.DEEPSEEK_API_KEY);
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
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
plugins/deepseek-usage-monitor/scripts/api.mjs, line 15
const response = await fetch(joinUrl(baseUrl, path), {
plugins/deepseek-usage-monitor/scripts/diagnostics.mjs, line 33
const response = await fetch(`${url}/__usage/health`, {
plugins/deepseek-usage-monitor/scripts/proxy.mjs, line 8
// curl http://127.0.0.1:8787/__usage/health
Show more
plugins/deepseek-usage-monitor/web/index.html, line 550
const res = await fetch("/api/state", { cache: "no-store" });
plugins/deepseek-usage-monitor/web/index.html, line 567
await fetch("/api/sync", { method: "POST" });
plugins/deepseek-usage-monitor/web/index.html, line 577
await fetch("/api/config", {
plugins/deepseek-usage-monitor/web/index.html, line 587
await fetch("/api/config", {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_UNCONFIRMED
plugins/deepseek-usage-monitor/scripts/usage-lib.mjs, line 419
const fromEnv = firstNonEmpty(process.env.DEEPSEEK_API_KEY);
.gitignore, line 19
# 凭据
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 80b4e697e019. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 80b4e697e01979a098c31902b5d3d36b01331e55
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.