扫描报告
15 /100
bp-reporting-templates
Generate BP monthly/quarterly/half-year/year report filling templates from BP data (API first, file fallback) with strict reviewer checks
Legitimate BP report template generation skill with no malicious behavior; minor supply chain concern due to unpinned dependency versions.
可以安装
Pin dependency versions in requirements.txt to prevent supply chain risks from unpinned packages.
安全发现 2 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 低危 | Unpinned dependency versions 供应链 | requirements.txt:1 |
| 提示 | Environment variable access for API key 敏感访问 | scripts/main.py:112 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 网络访问 | READ | READ | ✓ 一致 | SKILL.md declares api_client with 'permission: read'; code makes HTTP GET/POST t… |
| 文件系统 | WRITE | WRITE | ✓ 一致 | SKILL.md declares template_manager with 'permission: write'; writes to ./output … |
| 环境变量 | READ | READ | ✓ 一致 | SKILL.md metadata declares BP_APP_KEY env requirement; code reads it via os.gete… |
| 命令执行 | NONE | NONE | — | No subprocess, shell=True, or system() calls found |
1 项发现
中危 外部 URL 外部 URL
https://sg-al-cwork-web.mediportal.com.cn/open-api scripts/api_client.py:350 目录结构
47 文件 · 264.6 KB · 7198 行 Markdown 35f · 5130L
Python 9f · 1871L
JSON 1f · 124L
YAML 1f · 70L
Text 1f · 3L
├─
▾
design
│ ├─
DESIGN.md
Markdown
│ ├─
DISCUSSION-LOG.md
Markdown
│ └─
LEARNING-LOOP.md
Markdown
├─
▾
references
│ ├─
alert_rules.yaml
YAML
│ ├─
BP编码速查表.md
Markdown
│ ├─
基础模板_半年报.md
Markdown
│ ├─
基础模板_季报.md
Markdown
│ ├─
基础模板_年报.md
Markdown
│ ├─
基础模板_月报.md
Markdown
│ └─
通用填写规范.md
Markdown
├─
▾
scripts
│ ├─
api_client.py
Python
│ ├─
filler.py
Python
│ ├─
input_handler.py
Python
│ ├─
main.py
Python
│ ├─
parser.py
Python
│ ├─
reviewer.py
Python
│ ├─
template_manager.py
Python
│ └─
utils.py
Python
├─
▾
tests
│ ├─
▾
output-archives
│ │ ├─
▾
output-fallback-test
│ │ │ ├─
产品中心_林刚_季报填写规范_DRAFT_审查未通过.md
Markdown
│ │ │ ├─
产品中心_林刚_季报填写规范_REVIEW.json
JSON
│ │ │ └─
产品中心_林刚_季报填写规范.md
Markdown
│ │ ├─
▾
output-regression-4set
│ │ │ ├─
集团_组织_半年报填写规范.md
Markdown
│ │ │ ├─
集团_组织_季报填写规范.md
Markdown
│ │ │ ├─
集团_组织_年报填写规范.md
Markdown
│ │ │ └─
集团_组织_月报填写规范.md
Markdown
│ │ └─
▾
output-uat-batch-2026bp
│ │ ├─
产品部_组织_季报填写规范.md
Markdown
│ │ ├─
产品部_组织_月报填写规范.md
Markdown
│ │ ├─
人力资源部_组织_季报填写规范.md
Markdown
│ │ ├─
人力资源部_组织_月报填写规范.md
Markdown
│ │ ├─
技术部_组织_季报填写规范.md
Markdown
│ │ ├─
技术部_组织_月报填写规范.md
Markdown
│ │ ├─
法务部_组织_季报填写规范.md
Markdown
│ │ ├─
法务部_组织_月报填写规范.md
Markdown
│ │ ├─
行政管理部_组织_季报填写规范.md
Markdown
│ │ ├─
行政管理部_组织_月报填写规范.md
Markdown
│ │ ├─
行政部_组织_季报填写规范.md
Markdown
│ │ ├─
行政部_组织_月报填写规范.md
Markdown
│ │ ├─
财务部_组织_季报填写规范.md
Markdown
│ │ ├─
财务部_组织_月报填写规范.md
Markdown
│ │ ├─
运营部_组织_季报填写规范.md
Markdown
│ │ ├─
运营部_组织_月报填写规范.md
Markdown
│ │ ├─
销售部_组织_季报填写规范.md
Markdown
│ │ └─
销售部_组织_月报填写规范.md
Markdown
│ └─
test_all.py
Python
├─
requirements.txt
Text
├─
setup.md
Markdown
└─
SKILL.md
Markdown
依赖分析 3 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
requests | >=2.28.0 | pip | 否 | Version not pinned - no upper bound |
aiohttp | >=3.8.0 | pip | 否 | Version not pinned - no upper bound |
PyYAML | >=6.0 | pip | 否 | Version not pinned - no upper bound |
安全亮点
✓ No code execution vulnerabilities (no eval, exec, or compile())
✓ No subprocess or shell=True usage
✓ No base64-encoded execution or obfuscation
✓ No credential theft - API keys used only for intended BP API calls
✓ No data exfiltration - all network traffic is to the declared BP API endpoint
✓ No sensitive file access (~/.ssh, ~/.aws, .env)
✓ No hidden functionality - all capabilities match declared permissions
✓ No remote script execution (curl|bash, wget|sh)
✓ File writes restricted to ./output directory only
✓ Clean regex-based parsing without unsafe constructs