Scan Report
20 /100
VIN Recognition OCR - VIN识别
对车架号/VIN 图片做识别并返回 VIN 及品牌厂家等信息
A straightforward VIN OCR skill that reads local images and POSTs them to a third-party API. No malicious behavior, but undocumented network and filesystem access warrant declaration.
Safe to install
Add 'network:WRITE' and 'filesystem:READ' to the skill's declared capabilities in SKILL.md to accurately reflect what the script does.
Findings 6 items
| Severity | Finding | Location |
|---|---|---|
| Low | Undeclared outbound network access | vinrecognition.py:47 |
| Low | Undeclared local filesystem read access | vinrecognition.py:95 |
| Info | Path traversal protection present | vinrecognition.py:17 |
| Info | Credential from environment only | vinrecognition.py:120 |
| Info | API key validated before use | vinrecognition.py:122 |
| Info | No data exfiltration detected | vinrecognition.py:47 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Network | NONE | WRITE | ✓ Aligned | vinrecognition.py:47 — requests.post(VIN_RECOG_URL, ...) |
| Filesystem | NONE | READ | ✓ Aligned | vinrecognition.py:95 — open(path, 'rb') |
| Environment | READ | READ | ✓ Aligned | vinrecognition.py:120 — os.getenv('JISU_API_KEY') |
| Shell | NONE | NONE | — |
1 High 4 findings
High API Key 疑似硬编码凭证
API_KEY="your_appkey_here" SKILL.md:26 Medium External URL 外部 URL
https://www.jisuapi.com/ SKILL.md:9 Medium External URL 外部 URL
https://www.jisuapi.com/api/vinrecognition/ SKILL.md:19 Medium External URL 外部 URL
https://api.jisuapi.com/vinrecognition/recognize vinrecognition.py:17 File Tree
2 files · 10.4 KB · 304 lines Python 1f · 159L
Markdown 1f · 145L
├─
SKILL.md
Markdown
└─
vinrecognition.py
Python
Dependencies 1 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
requests | * | pip | No | Version not pinned; no known vulnerabilities at time of analysis |
Security Positives
✓ Path traversal protection prevents reading files outside the working directory
✓ API key is read exclusively from environment variable, not hardcoded
✓ Script validates API key presence before making any network calls
✓ No credential harvesting or iteration over environment variables
✓ No subprocess, shell execution, or eval usage
✓ No hidden HTML comments or steganographic payloads
✓ No curl|bash or wget|sh remote script execution
✓ No access to sensitive paths like ~/.ssh, ~/.aws, or .env
✓ HTTPS is used for the external API call
✓ Timeout of 15 seconds prevents indefinite hanging