Scan Report
This report was generated in Chinese. Some content may be in Chinese.
15 /100
autonomous-procurement-agent
企业采购自动化工具,支持双引擎解析(正则+GPT-4o)、F1/F2/F3欺诈检测、自动审批流程
企业采购代理工具,具有完善的安全机制(隐私遮罩、Webhook loopback 绑定、无硬编码凭证),install.sh 中的 curl|bash 是合法的安装引导,非隐蔽执行。
Safe to install
可安全使用。建议确保 NODE_ENV=production 环境变量在生产部署时设置,以启用 HTTPS webhook 验证。
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Low | 权限声明与实际能力不符 Priv Escalation | SKILL.md:1 |
| Low | install.sh 包含危险命令示例 Doc Mismatch | install.sh:3 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | WRITE | ✗ Violation | install.sh:27 创建数据目录, self-healing-parser.js:1425 fs.writeFileSync |
| Network | READ | WRITE | ✗ Violation | self-healing-parser.js:481 callLLM POST 到 api.openai.com |
| Shell | NONE | NONE | — | 无 shell 命令执行 |
| Environment | NONE | READ | ✓ Aligned | self-healing-parser.js:60 读取 ENV 对象 |
| Skill Invoke | NONE | NONE | — | 无跨技能调用 |
| Clipboard | NONE | NONE | — | 无剪贴板访问 |
| Browser | NONE | NONE | — | 无浏览器自动化 |
| Database | NONE | NONE | — | 无数据库访问 |
1 Critical 11 findings
Critical Dangerous Command 危险 Shell 命令
curl -fsSL https://.../install.sh | bash install.sh:3 Medium External URL 外部 URL
https://clawhub.ai/skills/autonomous-procurement-agent SKILL.md:4 Medium External URL 外部 URL
https://.../install.sh install.sh:3 Medium External URL 外部 URL
https://nodejs.org install.sh:77 Medium External URL 外部 URL
https://openclaw.ai package.json:29 Info Email 邮箱地址
[email protected] PRIVACY.md:54 Info Email 邮箱地址
[email protected] SKILL.md:50 Info Email 邮箱地址
[email protected] SKILL.md:51 Info Email 邮箱地址
[email protected] install.sh:55 Info Email 邮箱地址
[email protected] install.sh:56 Info Email 邮箱地址
[email protected] listing.json:16 File Tree
12 files · 110.9 KB · 2912 lines JavaScript 5f · 2138L
JSON 3f · 355L
Markdown 3f · 314L
Shell 1f · 105L
├─
admin.js
JavaScript
├─
auth-middleware.js
JavaScript
├─
install.sh
Shell
├─
listing.json
JSON
├─
manifest.json
JSON
├─
package.json
JSON
├─
PRIVACY.md
Markdown
├─
README.md
Markdown
├─
self-healing-parser.js
JavaScript
├─
SKILL.md
Markdown
├─
test-oversized-payload.js
JavaScript
└─
webhook-handler.js
JavaScript
Dependencies 2 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
openai | ^4.80.0 | npm optionalDependencies | No | 可选依赖,无 API key 时不加载 |
node | >=18.0.0 | system requirement | No | 仅需要 Node.js 运行时 |
Security Positives
✓ 三层隐私保护机制(maskSensitiveData + privacyShield + 传输前二次遮罩)
✓ Webhook 仅绑定 127.0.0.1 loopback,无外部暴露
✓ POST body 10KB 限制防止 DoS
✓ NODE_ENV=production 时强制 HTTPS webhook
✓ 无 eval/new Function/dynamic require 等动态执行
✓ 无硬编码凭证,所有密钥来自环境变量
✓ 完整的 F1/F2/F3 欺诈检测审计日志
✓ SMTP 发送邮件前有连接超时保护
✓ 历史价格数据仅存储在 PARSER_DATA_DIR 本地目录