Grades are a hygiene check, not a security guarantee.

Codex, Plugin

Codex Usage Reports

Automatic local token usage reports for every Codex Task and turn.

Compatibility: Not stated.

Grade C

One Medium finding. Read the findings before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

Rescanned at commit 30e8aa9c9e91, unchanged since the check below.

OBFUSCATION_ENCODED_BLOB

Why this grade

  • OBFUSCATION_ENCODED_BLOB Medium

    Contains a long base64 shaped string in a file that should be readable.

    plugins/codex-usage-reports/hooks/hooks.json, line 1 {

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

    plugins/codex-usage-reports/lib/codex_usage_reports/exec_activity_cli.py, line 122

    process = subprocess.Popen(command, cwd=project, env=env, stdout=subprocess.PIPE)

    plugins/codex-usage-reports/lib/codex_usage_reports/meter_source.py, line 147

    def _open_process(codex_binary: str, codex_home: Path | None) -> subprocess.Popen:

    plugins/codex-usage-reports/lib/codex_usage_reports/meter_source.py, line 157

    return subprocess.Popen(

    Show more

    plugins/codex-usage-reports/lib/codex_usage_reports/meter_source.py, line 174

    def __init__(self, process: subprocess.Popen) -> None:

    plugins/codex-usage-reports/lib/codex_usage_reports/meter_source.py, line 416

    def _close_process(process: subprocess.Popen | None) -> None:

    plugins/codex-usage-reports/lib/codex_usage_reports/meter_source.py, line 493

    process: subprocess.Popen | None = None

    plugins/codex-usage-reports/lib/codex_usage_reports/reconcile.py, line 142

    process = subprocess.Popen(

    plugins/codex-usage-reports/lib/codex_usage_reports/report_i18n.py, line 116

    result = subprocess.run(

  • 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/codex-usage-reports/lib/codex_usage_reports/update_notice.py, line 94

    with urllib.request.urlopen(request, timeout=0.8, context=context) as response:

    plugins/codex-usage-reports/scripts/publisher_bootstrap.py, line 130

    def fetch(url, limit):

    plugins/codex-usage-reports/scripts/publisher_bootstrap.py, line 137

    with urllib.request.urlopen(request, timeout=4, context=context) as response:

    Show more

    plugins/codex-usage-reports/hooks/hooks.json, line 15

    "command": "python3 -I -c '\"\"\"Standalone, read-only update/trust sentinel, embedded verbatim in its hook.\n\nKeep this command stable across releases. Never import or execute pl

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_PATH_DOTENV

    scripts/check_sensitive_data.py, line 218

    r"(?i)^(?:\.env(?:\..*)?|.*\.(?:pem|key|p12|pfx|kdbx|sqlite|sqlite3|db|dump|bak|"

    scripts/check_sensitive_data.py, line 273

    return bool(_LOCAL_SENSITIVE_NAME.fullmatch(basename)) and basename != ".env.example"

    scripts/check_sensitive_data.py, line 512

    # A local .env/database/transcript/report is normally ignored on purpose,

    Show more

    .gitignore, line 13

    # the enforcement gate; these patterns only reduce accidental `git add`.

    .gitignore, line 14

    .env

    .gitignore, line 16

    !.env.example

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Concern

    contains an encoded blob in a file that should be readable.

    OBFUSCATION_ENCODED_BLOB

    plugins/codex-usage-reports/hooks/hooks.json, line 1

    {

    plugins/codex-usage-reports/runtime/hook.pyz, line 1

    PK!Pi

    plugins/codex-usage-reports/runtime/publisher.pyz, line 1

    PK!PG�9?��

    Show more

    plugins/codex-usage-reports/hooks/hooks.json, line 9

    "command": "python3 -I -c 'import base64,json\ns=base64.b64decode('\"'\"'IiIiU3RhYmxlIHB1Ymxpc2hlci10cnVzdCBlbnRyeSBwb2ludC4gRW1iZWRkZWQgc291cmNlICsgcHVibGljIGtleSByZXF1aXJlIHRydXN

    plugins/codex-usage-reports/hooks/hooks.json, line 27

    "command": "python3 -I -c 'import base64,json\ns=base64.b64decode('\"'\"'IiIiU3RhYmxlIHB1Ymxpc2hlci10cnVzdCBlbnRyeSBwb2ludC4gRW1iZWRkZWQgc291cmNlICsgcHVibGljIGtleSByZXF1aXJlIHRydXN

    plugins/codex-usage-reports/hooks/hooks.json, line 40

    "command": "python3 -I -c 'import base64,json\ns=base64.b64decode('\"'\"'IiIiU3RhYmxlIHB1Ymxpc2hlci10cnVzdCBlbnRyeSBwb2ludC4gRW1iZWRkZWQgc291cmNlICsgcHVibGljIGtleSByZXF1aXJlIHRydXN

    plugins/codex-usage-reports/hooks/hooks.json, line 53

    "command": "python3 -I -c 'import base64,json\ns=base64.b64decode('\"'\"'IiIiU3RhYmxlIHB1Ymxpc2hlci10cnVzdCBlbnRyeSBwb2ludC4gRW1iZWRkZWQgc291cmNlICsgcHVibGljIGtleSByZXF1aXJlIHRydXN

    plugins/codex-usage-reports/hooks/hooks.json, line 65

    "command": "python3 -I -c 'import base64,json\ns=base64.b64decode('\"'\"'IiIiU3RhYmxlIHB1Ymxpc2hlci10cnVzdCBlbnRyeSBwb2ludC4gRW1iZWRkZWQgc291cmNlICsgcHVibGljIGtleSByZXF1aXJlIHRydXN

    plugins/codex-usage-reports/hooks/hooks.json, line 77

    "command": "python3 -I -c 'import base64,json\ns=base64.b64decode('\"'\"'IiIiU3RhYmxlIHB1Ymxpc2hlci10cnVzdCBlbnRyeSBwb2ludC4gRW1iZWRkZWQgc291cmNlICsgcHVibGljIGtleSByZXF1aXJlIHRydXN

    plugins/codex-usage-reports/hooks/hooks.json, line 89

    "command": "python3 -I -c 'import base64,json\ns=base64.b64decode('\"'\"'IiIiU3RhYmxlIHB1Ymxpc2hlci10cnVzdCBlbnRyeSBwb2ludC4gRW1iZWRkZWQgc291cmNlICsgcHVibGljIGtleSByZXF1aXJlIHRydXN

    plugins/codex-usage-reports/hooks/hooks.json, line 101

    "command": "python3 -I -c 'import base64,json\ns=base64.b64decode('\"'\"'IiIiU3RhYmxlIHB1Ymxpc2hlci10cnVzdCBlbnRyeSBwb2ludC4gRW1iZWRkZWQgc291cmNlICsgcHVibGljIGtleSByZXF1aXJlIHRydXN

  • 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 30e8aa9c9e91. requests shell access. The manifest names this permission. can reach a host that is not written as a fixed address. reads a credential or environment file. contains an encoded blob in a file that should be readable.

Date and source

Date checked:

View source

github.com

Commit graded: 30e8aa9c9e9134374993b47e385b7a2a008ea519

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.

Read how this letter is chosen