扫描报告
20 /100
agi-evolution-model
基于双环架构的AGI进化模型,通过意向性分析、人格层映射和元认知检测实现持续自我演进
Legitimate AGI evolution model with CLI tools; dangerous commands in docs are blocked by SecurityChecker, not executed. Minor documentation inconsistencies about file paths exist.
可以安装
Fix documentation inconsistencies (cli_file_operations.py etc. don't exist, actual files are in perception/tools/). Consider removing dangerous command examples from documentation to avoid confusion.
安全发现 3 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 中危 | Documentation references non-existent files 文档欺骗 | SKILL.md:237 |
| 低危 | Dangerous command examples in documentation 文档欺骗 | references/cli-tools-guide.md:326 |
| 低危 | Shell execution with shell=True 代码执行 | scripts/perception/tools/executor.py:55 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | NONE | WRITE | ✓ 一致 | scripts/perception/tools/file_ops.py - FileWriteTool, FileDeleteTool, FileMoveTo… |
| 命令执行 | NONE | WRITE | ✓ 一致 | scripts/perception/tools/executor.py:18-21 - BashExecuteTool with shell=True (ma… |
| 网络访问 | NONE | READ | ✓ 一致 | scripts/perception/tools/system_info.py:167-192 - NetworkInfoTool connects to 8.… |
| 环境变量 | NONE | READ | ✓ 一致 | scripts/perception/tools/system_info.py:269-289 - EnvInfoTool reads os.environ w… |
| 进程 | NONE | ADMIN | ✓ 一致 | scripts/perception/tools/process.py:210-262 - ProcessKillTool can terminate arbi… |
6 严重 1 高危 19 项发现
严重 危险命令 危险 Shell 命令
rm -rf / references/cli-tools-guide.md:326 严重 危险命令 危险 Shell 命令
wget xxx | sh references/cli-tools-guide.md:332 严重 危险命令 危险 Shell 命令
curl xxx | sh references/cli-tools-guide.md:332 严重 危险命令 危险 Shell 命令
rm -rf ~ references/troubleshooting.md:136 严重 危险命令 危险 Shell 命令
wget | sh scripts/perception/tools/base.py:176 严重 危险命令 危险 Shell 命令
curl | sh scripts/perception/tools/base.py:177 高危 IP 地址 硬编码 IP 地址
8.8.8.8 scripts/perception/tools/system_info.py:220 中危 外部 URL 外部 URL
https://en.wikipedia.org/wiki/Tf%E2%80%93idf references/cognitive-insight-v2-implementation.md:1220 中危 外部 URL 外部 URL
https://en.wikipedia.org/wiki/Cache_replacement_policies#LRU references/cognitive-insight-v2-implementation.md:1221 中危 外部 URL 外部 URL
https://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average references/cognitive-insight-v2-implementation.md:1222 中危 外部 URL 外部 URL
https://www.gnu.org/licenses/agpl-3.0.html references/cognitive-insight-v2-implementation.md:1223 中危 外部 URL 外部 URL
https://storage.example.com/reports/report.pdf?signature=... references/tool_use_spec.md:625 中危 外部 URL 外部 URL
https://docs.example.com/migration/weather-v1-to-v2 references/tool_use_spec.md:956 中危 外部 URL 外部 URL
https://platform.openai.com/docs/guides/function-calling references/tool_use_spec.md:2137 中危 外部 URL 外部 URL
https://docs.anthropic.com/en/docs/tool-use references/tool_use_spec.md:2138 中危 外部 URL 外部 URL
https://modelcontextprotocol.io/ references/tool_use_spec.md:2139 中危 外部 URL 外部 URL
https://json-schema.org/ references/tool_use_spec.md:2140 中危 外部 URL 外部 URL
https://html.spec.whatwg.org/multipage/server-sent-events.html references/tool_use_spec.md:2141 中危 外部 URL 外部 URL
https://www.python.org/downloads/ references/troubleshooting.md:117 目录结构
57 文件 · 782.2 KB · 23804 行 Python 33f · 12844L
Markdown 23f · 10837L
JSON 1f · 123L
├─
▾
assets
│ └─
personality_template.json
JSON
├─
▾
references
│ ├─
architecture.md
Markdown
│ ├─
async-migration-progress.md
Markdown
│ ├─
c_extension_usage.md
Markdown
│ ├─
capability_boundaries.md
Markdown
│ ├─
cli-tools-guide.md
Markdown
│ ├─
cognitive-architecture-insight-module.md
Markdown
│ ├─
cognitive-insight-quick-reference.md
Markdown
│ ├─
cognitive-insight-v2-implementation.md
Markdown
│ ├─
information-flow-main-loop.md
Markdown
│ ├─
information-flow-overview.md
Markdown
│ ├─
information-flow-secondary-loop.md
Markdown
│ ├─
init_dialogue_optimized_guide.md
Markdown
│ ├─
intelligence-agent-response-rules.md
Markdown
│ ├─
intentionality_architecture.md
Markdown
│ ├─
maslow_needs.md
Markdown
│ ├─
metacognition-check-component.md
Markdown
│ ├─
metacognition-enhancement-guide.md
Markdown
│ ├─
personality_mapping.md
Markdown
│ ├─
stratified-storage-design.md
Markdown
│ ├─
tool_use_spec.md
Markdown
│ ├─
troubleshooting.md
Markdown
│ └─
usage-examples.md
Markdown
├─
▾
scripts
│ ├─
▾
perception
│ │ ├─
▾
_core
│ │ │ └─
__init__.py
Python
│ │ ├─
▾
tools
│ │ │ ├─
__init__.py
Python
│ │ │ ├─
base.py
Python
│ │ │ ├─
basic.py
Python
│ │ │ ├─
executor.py
Python
│ │ │ ├─
file_ops.py
Python
│ │ │ ├─
process.py
Python
│ │ │ └─
system_info.py
Python
│ │ ├─
__init__.py
Python
│ │ ├─
context.py
Python
│ │ ├─
node.py
Python
│ │ ├─
registry.py
Python
│ │ └─
response.py
Python
│ ├─
advice_pool.py
Python
│ ├─
cognitive_insight.py
Python
│ ├─
concept_extraction_extension.py
Python
│ ├─
history_manager.py
Python
│ ├─
init_dialogue_optimized.py
Python
│ ├─
intentionality_analyzer.py
Python
│ ├─
intentionality_classifier.py
Python
│ ├─
intentionality_collector.py
Python
│ ├─
intentionality_daemon.py
Python
│ ├─
intentionality_regulator.py
Python
│ ├─
intentionality_trigger.py
Python
│ ├─
memory_store_async.py
Python
│ ├─
memory_store_pure.py
Python
│ ├─
metacognition_history.py
Python
│ ├─
objectivity_evaluator.py
Python
│ ├─
personality_core_pure.py
Python
│ ├─
personality_customizer.py
Python
│ ├─
personality_layer_pure.py
Python
│ ├─
strategy_selector.py
Python
│ └─
transcendence_keeper.py
Python
└─
SKILL.md
Markdown
依赖分析 2 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
aiofiles | >=23.0.0 | pip | 否 | Version requirement is pinned, minimum specified |
Python standard library only | N/A | builtin | 否 | No external dependencies besides aiofiles |
安全亮点
✓ SecurityChecker class implements blacklist for dangerous commands (rm -rf /, wget|sh, curl|sh, mkfs, fork bomb, etc.)
✓ Shell execution has timeout controls (default 30s, max 300s)
✓ File operations implement path validation to prevent directory traversal
✓ Process kill tool protects PID 1, current process, and system processes (init, systemd, kernel)
✓ Environment variable access filters sensitive keys (PASSWORD, SECRET, TOKEN, API_KEY, etc.)
✓ Dangerous tools are properly marked with dangerous=True flag
✓ Uses only Python standard library (no supply chain risk from external dependencies)
✓ aiofiles dependency is version-pinned (>=23.0.0)