Codex, Plugin
xwatch
xwatch, a plugin listed in the PlugVet directory.
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High finding. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 3bfcab8bf581, unchanged since the check below.
Pattern found, check before installing
The checks matched a pattern that needs a closer look. It does not mean the code is harmful. Read the quoted lines below.
- NETWORK_HOST_FROM_INPUT High
host from input plus a credential path in operative code
NETWORK_HOST_FROM_INPUT PERMISSION_SHELL_UNDECLARED SECRETS_PATH_CREDENTIAL
Why this grade
- NETWORK_HOST_FROM_INPUT High
A file takes a URL or endpoint as input and has no fixed host list.
src/xwatch/cli.py, line 468
help="how many recent posts to fetch (5-100, the X API's range)") - PERMISSION_SHELL_UNDECLARED Medium
Runs shell commands that the manifest or description does not mention.
src/xwatch/schedule.py, line 258
result = subprocess.run( - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
src/xwatch/config.py, line 6
``config_dir()``. The bearer token lives apart, in ``credentials.json`` (a 0600
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.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
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
requests shell access. No manifest field names shell or command execution.
PERMISSION_SHELL_UNDECLARED
src/xwatch/schedule.py, line 258
result = subprocess.run(
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Serious
accepts a host from input, with no fixed list in this file.
NETWORK_HOST_FROM_INPUT
src/xwatch/cli.py, line 468
help="how many recent posts to fetch (5-100, the X API's range)")
src/xwatch/media.py, line 154
response = http.get(url, timeout=_TIMEOUT_SECONDS)
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_CREDENTIAL
src/xwatch/config.py, line 6
``config_dir()``. The bearer token lives apart, in ``credentials.json`` (a 0600
src/xwatch/config.py, line 17
``credentials.json``, ``accounts.toml``); small and safe to sync.
src/xwatch/config.py, line 52
"""Hand-editable settings and the secret: ``config.toml``, ``credentials.json``,
Show more
src/xwatch/credentials.py, line 5
``~/.config/xwatch/credentials.json`` (mode 0600), the same location and format xwatch used
src/xwatch/credentials.py, line 39
# The credbox app whose store xwatch's secrets live in: ~/.config/xwatch/credentials.json.
src/xwatch/credentials.py, line 44
"""Where xwatch's standalone store lives: ``credentials.json`` in ``config_dir()``.
src/xwatch/credentials.py, line 51
return config_dir() / "credentials.json"
.gitignore, line 9
venv/
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 3bfcab8bf581. requests shell access. No manifest field names shell or command execution. accepts a host from input, with no fixed list in this file. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 3bfcab8bf581ad519eff01ba2825bade35f08fa0
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.