Scan Report
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.
Safe to install
Pin dependency versions in requirements.txt to prevent supply chain risks from unpinned packages.
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Low | Unpinned dependency versions Supply Chain | requirements.txt:1 |
| Info | Environment variable access for API key Sensitive Access | scripts/main.py:112 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Network | READ | READ | ✓ Aligned | SKILL.md declares api_client with 'permission: read'; code makes HTTP GET/POST t… |
| Filesystem | WRITE | WRITE | ✓ Aligned | SKILL.md declares template_manager with 'permission: write'; writes to ./output … |
| Environment | READ | READ | ✓ Aligned | SKILL.md metadata declares BP_APP_KEY env requirement; code reads it via os.gete… |
| Shell | NONE | NONE | — | No subprocess, shell=True, or system() calls found |
1 findings
Medium External URL 外部 URL
https://sg-al-cwork-web.mediportal.com.cn/open-api scripts/api_client.py:350 File Tree
47 files · 264.6 KB · 7198 lines 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
Dependencies 3 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
requests | >=2.28.0 | pip | No | Version not pinned - no upper bound |
aiohttp | >=3.8.0 | pip | No | Version not pinned - no upper bound |
PyYAML | >=6.0 | pip | No | Version not pinned - no upper bound |
Security Positives
✓ 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