扫描报告
10 /100
ID Card Recognition OCR - 身份证识别
ID card OCR skill that sends images to JisuAPI for recognition, returning name, ID number and other fields
Legitimate ID card OCR skill using a documented third-party API with proper path traversal protection and secure credential handling.
可以安装
This skill is safe to use. No action required.
安全发现 3 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 提示 | External API processing is documented and expected | idcardrecognition.py:17 |
| 提示 | Path traversal protection implemented | idcardrecognition.py:20 |
| 提示 | API key stored in environment variable | idcardrecognition.py:128 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | READ | READ | ✓ 一致 | idcardrecognition.py:63 - reads local image files with path traversal protection |
| 网络访问 | READ | READ | ✓ 一致 | idcardrecognition.py:17 - POSTs to api.jisuapi.com for OCR processing |
| 环境变量 | READ | READ | ✓ 一致 | idcardrecognition.py:128 - reads JISU_API_KEY from os.getenv |
| 命令执行 | NONE | NONE | — | No subprocess or shell execution found |
1 高危 4 项发现
高危 API 密钥 疑似硬编码凭证
API_KEY="your_appkey_here" SKILL.md:25 中危 外部 URL 外部 URL
https://www.jisuapi.com/ SKILL.md:9 中危 外部 URL 外部 URL
https://www.jisuapi.com/api/idcardrecognition/ SKILL.md:20 中危 外部 URL 外部 URL
https://api.jisuapi.com/idcardrecognition/recognize idcardrecognition.py:17 目录结构
2 文件 · 12.0 KB · 364 行 Python 1f · 196L
Markdown 1f · 168L
├─
idcardrecognition.py
Python
└─
SKILL.md
Markdown
依赖分析 1 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
requests | * | pip | 否 | Standard HTTP library for API calls |
安全亮点
✓ Clear documentation matching implementation
✓ Path traversal protection prevents reading arbitrary files
✓ API key stored in environment, not hardcoded
✓ No subprocess/eval/exec calls
✓ No credential exfiltration
✓ No obfuscated code or hidden functionality
✓ Clean error handling throughout