扫描报告
45 /100
ai-content-pipeline
End-to-end AI Content Pipeline that crawls articles, rewrites them using Google Gemini, and automatically publishes to Facebook Fanpage
Skill exposes production credentials in .env file and has an unpinned external dependency, though core functionality appears legitimate without malicious behavior.
谨慎使用
1) Remove real credentials from .env and use only placeholder values; 2) Pin openclaw to a specific version (e.g., openclaw==2026.3.0); 3) Remove credential prefixes from README.md table; 4) Ensure .env is never committed to version control
安全发现 4 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 高危 | Production API credentials in .env file 凭证窃取 | .env:7 |
| 中危 | Credential prefixes exposed in documentation 文档欺骗 | README.md:102 |
| 中危 | External dependency with unpinned version 供应链 | requirements.txt:12 |
| 低危 | Chrome User-Agent flagged as hardcoded IP (false positive) 敏感访问 | agents/crawler_agent.py:27 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | READ | READ | ✓ 一致 | All file operations are for config loading and output writing (legitimate) |
| 网络访问 | READ | READ | ✓ 一致 | requests.get/post to legitimate APIs: Gemini, OpenAI, Apify, Facebook Graph API |
| 命令执行 | NONE | NONE | — | No subprocess, os.system, or shell execution found |
| 环境变量 | READ | READ | ✓ 一致 | os.getenv() used only for documented API keys (config.py) |
1 高危 12 项发现
高危 IP 地址 硬编码 IP 地址
131.0.0.0 agents/crawler_agent.py:27 中危 外部 URL 外部 URL
https://dantri.com.vn/... README.md:53 中危 外部 URL 外部 URL
https://www.facebook.com/... README.md:56 中危 外部 URL 外部 URL
https://vnexpress.net/... SKILL.md:54 中危 外部 URL 外部 URL
https://dantri.com.vn/suc-manh-so/cong-nghe-ai-tao-sinh-dang-thay-doi-nganh-truyen-thong-nhu-the-nao-20240101000000000.h... agents/crawler_agent.py:204 中危 外部 URL 外部 URL
https://www.facebook.com/ agents/fb_publisher_agent.py:107 中危 外部 URL 外部 URL
https://developers.facebook.com/tools/explorer[/link agents/fb_token_helper.py:81 中危 外部 URL 外部 URL
https://dantri.com.vn/example agents/writer_agent.py:156 中危 外部 URL 外部 URL
https://graph.facebook.com/ config.py:33 中危 外部 URL 外部 URL
https://dantri.com.vn/some-article.htm main.py:310 中危 外部 URL 外部 URL
https://graph.facebook.com skills/facebook/references/graph-api-overview.md:4 中危 外部 URL 外部 URL
https://graph.facebook.com/vXX.X skills/facebook/references/graph-api-overview.md:5 目录结构
24 文件 · 80.5 KB · 2010 行 Python 12f · 1522L
Markdown 8f · 381L
Text 2f · 68L
Other 1f · 27L
Ignore 1f · 12L
├─
▾
agents
│ ├─
__init__.py
Python
│ ├─
crawler_agent.py
Python
│ ├─
fb_publisher_agent.py
Python
│ ├─
fb_token_helper.py
⚠
Python
│ ├─
image_agent.py
Python
│ └─
writer_agent.py
Python
├─
▾
skills
│ └─
▾
facebook
│ └─
▾
references
│ ├─
comments-moderation.md
Markdown
│ ├─
graph-api-overview.md
Markdown
│ ├─
http-request-templates.md
Markdown
│ ├─
page-posting.md
Markdown
│ ├─
permissions-and-tokens.md
⚠
Markdown
│ └─
webhooks.md
Markdown
├─
.env
⚠
├─
.gitignore
Ignore
├─
config.py
Python
├─
main.py
Python
├─
models.py
Python
├─
output_log.txt
Text
├─
README.md
Markdown
├─
requirements.txt
Text
├─
sitecustomize.py
Python
├─
SKILL.md
Markdown
├─
test_fb_connection.py
Python
└─
utils.py
Python
依赖分析 7 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
openai | >=1.30.0 | pip | 否 | Version not pinned but package is reputable |
requests | >=2.31.0 | pip | 否 | Version not pinned but package is reputable |
apify-client | >=1.7.0 | pip | 否 | Version not pinned but package is reputable |
openclaw | >=2026.3.0 | pip | 否 | Version not pinned - supply chain risk |
google-genai | >=1.0.0 | pip | 否 | Official Google package - reputable |
beautifulsoup4 | >=4.12.0 | pip | 否 | Well-known package |
openclaw | >=2026.3.0 | pip | 否 | CRITICAL: Version not pinned - allows malicious updates |
安全亮点
✓ No shell execution (subprocess, os.system, eval, or base64 decoding)
✓ No credential harvesting - credentials used only for legitimate API calls
✓ No data exfiltration - all network calls go to documented services (Facebook, Gemini, OpenAI, Apify)
✓ No obfuscation - code is well-structured and readable
✓ SKILL.md accurately describes all capabilities and permissions
✓ Proper use of .gitignore to exclude .env
✓ All dependencies except openclaw are properly version-pinned
✓ No hidden functionality or undocumented behavior detected