MCP, MCP server
PhotoS
PhotoS, an MCP server 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.
Rescanned at commit a7ced720fa87, unchanged since the check below.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
packaging/build.py, line 50
result = subprocess.run(cmd, cwd=ROOT) - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
photo_s/modelstore.py, line 295
resp = urllib.request.urlopen(req, timeout=timeout) - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
photo_s/server.py, line 1103
tls_key = os.environ.get("PHOTO_S_KEY") or tls_cert - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
photo_s/gui/app.py, 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
Concern
can delete files.
PERMISSION_DELETE_FILES
packaging/build.py, line 50
result = subprocess.run(cmd, cwd=ROOT)
photo_s/bench.py, line 163
shutil.rmtree(tmpdir, ignore_errors=True)
photo_s/engine.py, line 699
subprocess.run(
Show more
photo_s/engine.py, line 974
subprocess.run(
photo_s/engine.py, line 1170
subprocess.run(
photo_s/i18n.py, line 61
proc = subprocess.run(
photo_s/plugincmd.py, line 31
return subprocess.run(
photo_s/select.py, line 149
os.remove(src) # only after the copy succeeded
photo_s/select.py, line 157
os.remove(tmp)
photo_s/gui/theme.py, line 81
out = subprocess.run(
photo_s/gui/theme.py, line 120
out = 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
photo_s/modelstore.py, line 295
resp = urllib.request.urlopen(req, timeout=timeout)
photo_s/modelstore.py, line 307
resp = urllib.request.urlopen(req, timeout=timeout)
plugins/auto-tone/photo_s_plugin_auto_tone/models.py, line 470
with urllib.request.urlopen(req, timeout=30) as r, \
Show more
tools/tts_mcp_client.py, line 33
resp = urllib.request.urlopen(req, timeout=600)
Secrets
Note
reads an environment variable.
SECRETS_ENV_READ
photo_s/server.py, line 1103
tls_key = os.environ.get("PHOTO_S_KEY") or tls_cert
plugins/auto-tone/photo_s_plugin_auto_tone/core/embed.py, line 21
_SIGLIP_HUB = os.environ.get("PHOTOS_AUTO_TONE_SIGLIP_TOKENIZER",
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
photo_s/gui/app.py, line 1
"""
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 a7ced720fa87. can delete files. can reach a host that is not written as a fixed address. reads an environment variable. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: a7ced720fa876a3a45bf60425f6dbbddf9f1a92c
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.