Scan Report
15 /100
purchase_record
采购记录管理 - 自动将采购信息写入 Excel
Legitimate purchase record management tool with minor security concerns (hardcoded paths, exec() usage) but no malicious behavior detected.
Safe to install
Consider pinning openpyxl version and documenting the shell:WRITE permission in SKILL.md for transparency.
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Low | Undeclared shell execution via exec() | scripts/index.js:15 |
| Low | Hardcoded absolute paths | scripts/index.js:4 |
| Info | Unpinned dependency | scripts/record.py:5 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | WRITE | WRITE | ✓ Aligned | openpyxl load_workbook/save to desktop path |
| Shell | NONE | WRITE | ✓ Aligned | scripts/index.js:15 exec() with python command |
| Network | NONE | NONE | — | No network requests found |
| Environment | NONE | NONE | — | No environment variable access |
| Skill Invoke | NONE | NONE | — | No cross-skill invocation |
| Clipboard | NONE | NONE | — | No clipboard access |
| Browser | NONE | NONE | — | No browser access |
| Database | NONE | NONE | — | No database access |
File Tree
10 files · 16.7 KB · 569 lines Python 3f · 332L
JavaScript 3f · 175L
Markdown 2f · 60L
JSON 2f · 2L
├─
▾
scripts
│ ├─
add_purchase.js
JavaScript
│ ├─
add_purchase.py
Python
│ ├─
index.js
JavaScript
│ ├─
main.py
Python
│ ├─
record.py
Python
│ └─
test.js
JavaScript
├─
config.json
⚠
JSON
├─
package.json
JSON
├─
README.md
Markdown
└─
SKILL.md
Markdown
Dependencies 2 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
openpyxl | unspecified | pip | No | Version not pinned in requirements.txt |
exceljs | unspecified | npm | No | Version not pinned in package.json |
Security Positives
✓ No network requests or data exfiltration detected
✓ No credential harvesting or sensitive path access
✓ No base64-encoded payloads or obfuscated code
✓ No curl|bash or remote script execution
✓ Input sanitization present (quote escaping in exec())
✓ Legitimate use case: local Excel file manipulation only