Security checks for vulnerabilities and agentic risk
Overview
This skill performs local image analysis with Ollama as advertised, with some implementation and disclosure caveats but no evidence of malicious behavior.
Install only if you are comfortable with Chinese-only prompts, a possible first-run qwen3-vl:4b model download of about 2-3GB, and sending selected images to your local Ollama service. Avoid using it on sensitive images in multi-user environments until the temporary-file handling is changed to use unique private temp files.
The file's natural-language interface and outputs are written in Chinese, including the module description, prompts, errors, and CLI usage strings. There is no indication that the skill is region-specific or that users can opt into another language, which makes this a language-policy issue under the rule.
Content
No source excerpt is available for this finding.
subprocess module call
Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
Content
Scanner excerpt · analyze_image.py (reported line 40)May include surrounding context.
python
return False
try:
result = subprocess.run(
[ollama_path, "--version"],
capture_output=True,
text=True,
subprocess module call
Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
Content
Scanner excerpt · analyze_image.py (reported line 58)May include surrounding context.
python
return False
try:
result = subprocess.run(
[ollama_path, "list"],
capture_output=True,
text=True,
subprocess module call
Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
Content
Scanner excerpt · analyze_image.py (reported line 77)May include surrounding context.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
Content
Scanner excerpt · analyze_image.py (reported line 227)May include surrounding context.
python
}
# 发送请求
response = requests.post(api_url, json=payload, timeout=120)
if response.status_code == 200:
result = response.json()
Natural-Language Policy Violations
Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding
The file’s docstring, function docstring, status messages, and startup output are all hard-coded in Chinese, which imposes a specific language on users. Under the policy, locale or language constraints should be optional or clearly justified; this file provides neither opt-in nor documentation that the skill is intended only for Chinese-speaking users.
Content
No source excerpt is available for this finding.
subprocess module call
Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
Content
Scanner excerpt · check_env.py (reported line 17)May include surrounding context.
The file's docstrings, status messages, and user instructions are all presented in Chinese, including the runtime output shown to users. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale restriction is explicitly justified, which is not present here.
Content
No source excerpt is available for this finding.
Missing User Warnings
Low
Category
Not specified by scanner
Confidence
90% confidence
Finding
The skill documentation does not clearly warn users that image data will be transmitted to a local Ollama service for processing, nor does it prominently disclose that first use may trigger an automatic multi-gigabyte model download. This creates a transparency and consent issue: users may expose sensitive local images to another service/process on the machine and incur unexpected bandwidth, storage, or operational costs.
Content
No source excerpt is available for this finding.
Missing User Warnings
Low
Category
Not specified by scanner
Confidence
83% confidence
Finding
This code sends a base64-encoded copy of the user-provided image to an HTTP API endpoint via requests.post. Although the module docstring says it analyzes images with Ollama, there is no user-facing warning at the point of transmission about sending image contents to the local service, which is a data-handling operation covered by the warning rule.