Scan Report
5 /100
openai-agent-sdk
使用 OpenAI Agents SDK 构建多 Agent AI 系统。轻量级但强大的框架,支持 Agent 协作、工具调用、交接机制和追踪调试。
这是一个合法的 OpenAI Agents SDK 技能文档,仅包含教学示例代码,无恶意行为。eval() 调用存在于示例中但属于合法教学用途。
Safe to install
无需限制使用。eval() 在生产环境中应使用安全的表达式求值库替代,但当前仅为示例代码,不影响实际部署安全。
Findings 1 items
| Severity | Finding | Location |
|---|---|---|
| Low | 示例代码使用 eval() 函数 RCE | examples/tools_example.py:30 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | NONE | — | 纯文档技能,无文件操作代码 |
| Network | NONE | NONE | — | 无网络请求代码 |
| Shell | NONE | NONE | — | 无 shell 执行代码 |
| Environment | NONE | NONE | — | 无环境变量访问代码 |
| Skill Invoke | NONE | NONE | — | 无技能调用代码 |
| Clipboard | NONE | NONE | — | 无剪贴板操作代码 |
| Browser | NONE | NONE | — | 无浏览器操作代码 |
| Database | NONE | NONE | — | 无数据库操作代码 |
2 High 3 findings
High API Key 疑似硬编码凭证
API_KEY="sk-your-api-key-here" SKILL.md:174 High API Key 疑似硬编码凭证
api_key="your-anthropic-key" SKILL.md:279 Medium External URL 外部 URL
https://openai.github.io/openai-agents-python/ README.md:54 File Tree
7 files · 22.2 KB · 962 lines Markdown 2f · 664L
Python 5f · 298L
├─
▾
examples
│ ├─
basic_agent.py
Python
│ ├─
handoffs_example.py
Python
│ └─
tools_example.py
Python
├─
▾
templates
│ ├─
agent_template.py
Python
│ └─
multi_agent_template.py
Python
├─
README.md
Markdown
└─
SKILL.md
Markdown
Security Positives
✓ 这是一个纯文档型技能,仅包含教学示例代码
✓ SKILL.md 清晰描述了功能和使用方法,无隐瞒行为
✓ API 密钥占位符(sk-your-api-key-here)是示例,非真实凭证
✓ 代码结构规范,示例完整,包含多种设计模式
✓ 无网络请求、无敏感文件访问、无凭证收割行为