Scan Report
65 /100
face-analysis
中医面诊分析工具 (TCM Face Analysis Tool) - claims to only perform video-based health analysis
This TCM face-analysis skill contains hardcoded database credentials, undeclared database connectivity, and hidden token management functionality not documented in SKILL.md.
Do not install this skill
Remove all hardcoded credentials from config files, implement proper secret management, and update SKILL.md to accurately declare all database and token management capabilities.
Findings 5 items
| Severity | Finding | Location |
|---|---|---|
| High | Hardcoded Database Credentials in config.yaml Credential Theft | skills/scripts/common/config.yaml:4 |
| High | Hardcoded Feishu App Secret Credential Theft | skills/scripts/common/config.yaml:15 |
| High | Undeclared Database Connectivity and Token Management Doc Mismatch | skills/scripts/common/dao.py:54 |
| High | Database Passwords in Test/Dev Configs with Special Characters Supply Chain | skills/scripts/common/config-test.yaml:1 |
| Medium | Environment Variable Reading for User Identification Sensitive Access | skills/scripts/common/config.py:195 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | READ | READ | ✓ Aligned | scripts/face_analysis.py - file upload via multipart/form-data |
| Network | READ | WRITE | ✗ Violation | skills/scripts/common/dao.py:45 - database WRITE to MySQL server |
| Database | NONE | WRITE | ✗ Violation | skills/scripts/common/dao.py:54-180 - Full CRUD operations on sys_user table |
2 High 9 findings
High API Key 疑似硬编码凭证
API_KEY = "your-api-key-here" README.md:11 High IP Address 硬编码 IP 地址
172.31.16.2 skills/scripts/common/config.yaml:4 Medium External URL 外部 URL
https://your-api-server.com/api/v1/face-analysis README.md:10 Medium External URL 外部 URL
http://livemonitortest.lifeemergence.com/smyx-open-api skills/scripts/common/config-dev.yaml:4 Medium External URL 外部 URL
https://healthtest.lifeemergence.com/jeecg-boot skills/scripts/common/config-dev.yaml:5 Medium External URL 外部 URL
http://192.168.1.234:8080/jeecg-boot skills/scripts/common/config-dev.yaml:6 Medium External URL 外部 URL
https://open.lifeemergence.com/smyx-open-api skills/scripts/common/config.yaml:5 Medium External URL 外部 URL
https://lifeemergence.com/jeecg-boot skills/scripts/common/config.yaml:6 Info Email 邮箱地址
[email protected] skills/scripts/common/config-dev.yaml:3 File Tree
21 files · 76.2 KB · 2036 lines Python 12f · 1590L
Markdown 3f · 286L
Text 1f · 127L
YAML 5f · 33L
├─
▾
references
│ └─
api_doc.md
Markdown
├─
▾
scripts
│ ├─
__init__.py
Python
│ ├─
api_service.py
Python
│ ├─
config.py
Python
│ ├─
config.yaml
YAML
│ ├─
face_analysis.py
Python
│ └─
skill.py
Python
├─
▾
skills
│ └─
▾
scripts
│ └─
▾
common
│ ├─
__init__.py
Python
│ ├─
api_service.py
Python
│ ├─
base.py
Python
│ ├─
config-dev.yaml
YAML
│ ├─
config-prod.yaml
YAML
│ ├─
config-test.yaml
YAML
│ ├─
config.py
Python
│ ├─
config.yaml
YAML
│ ├─
dao.py
Python
│ └─
util.py
Python
├─
__init__.py
Python
├─
README.md
Markdown
├─
requirements.txt
Text
└─
SKILL.md
Markdown
Dependencies 4 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
requests | 2.32.5 | pip | No | Version pinned - good practice |
sqlalchemy | 2.0.46 | pip | No | Version pinned - good practice |
pymysql | 1.1.2 | pip | No | Version pinned - good practice |
cryptography | 3.4.8 | pip | No | Version not latest but stable release |
Security Positives
✓ No shell execution (subprocess) detected - skill uses only Python libraries
✓ No base64-encoded payloads or obfuscation techniques observed
✓ No direct IP address network requests to suspicious endpoints
✓ No attempts to access ~/.ssh, ~/.aws, or other sensitive home directory files
✓ No curl|bash or wget|sh remote script execution patterns
✓ Legitimate API-based face analysis functionality as documented