Scan Report
20 /100
agi-evolution-model
基于双环架构的AGI进化模型,通过意向性分析、人格层映射和元认知检测实现持续自我演进
This is a legitimate AGI personality evolution model skill with no malicious behavior. Minor concern: the perception_node.py calculator uses eval() on untrusted input, which is a code injection risk if the tool is exposed to untrusted callers.
Safe to install
Consider replacing eval() in the calculator tool with a safer expression evaluator (e.g., ast.literal_eval or a math expression parser). No other security concerns identified; the skill's functionality aligns with its documentation.
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Medium | Unsafe eval() usage in calculator tool RCE | scripts/perception_node.py:474 |
| Low | Optional unsigned C extension loading Supply Chain | scripts/personality_layer_pure.py:43 |
| Low | SKILL.md uses Bash directive but only calls Python scripts Doc Mismatch | SKILL.md:3 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | WRITE | WRITE | ✓ Aligned | SKILL.md declares mkdir -p ./agi_memory; scripts write personality.json to ./agi… |
| Shell | WRITE | WRITE | ✓ Aligned | SKILL.md declares python3 scripts/* execution for initialization and personality… |
| Network | NONE | NONE | — | No actual network requests in code; URLs in documentation are static references … |
| Environment | NONE | NONE | — | No os.environ iteration or credential access found |
| Skill Invoke | NONE | NONE | — | No cross-skill invocation patterns found |
| Clipboard | NONE | NONE | — | No clipboard access detected |
| Browser | NONE | NONE | — | No browser automation found |
| Database | NONE | NONE | — | No database access; uses local JSON files only |
11 findings
Medium External URL 外部 URL
https://en.wikipedia.org/wiki/Tf%E2%80%93idf references/cognitive-insight-v2-implementation.md:1220 Medium External URL 外部 URL
https://en.wikipedia.org/wiki/Cache_replacement_policies#LRU references/cognitive-insight-v2-implementation.md:1221 Medium External URL 外部 URL
https://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average references/cognitive-insight-v2-implementation.md:1222 Medium External URL 外部 URL
https://www.gnu.org/licenses/agpl-3.0.html references/cognitive-insight-v2-implementation.md:1223 Medium External URL 外部 URL
https://storage.example.com/reports/report.pdf?signature=... references/tool_use_spec.md:625 Medium External URL 外部 URL
https://docs.example.com/migration/weather-v1-to-v2 references/tool_use_spec.md:956 Medium External URL 外部 URL
https://platform.openai.com/docs/guides/function-calling references/tool_use_spec.md:2137 Medium External URL 外部 URL
https://docs.anthropic.com/en/docs/tool-use references/tool_use_spec.md:2138 Medium External URL 外部 URL
https://modelcontextprotocol.io/ references/tool_use_spec.md:2139 Medium External URL 外部 URL
https://json-schema.org/ references/tool_use_spec.md:2140 Medium External URL 外部 URL
https://html.spec.whatwg.org/multipage/server-sent-events.html references/tool_use_spec.md:2141 File Tree
45 files · 732.9 KB · 21607 lines Python 26f · 11667L
Markdown 18f · 9817L
JSON 1f · 123L
├─
▾
assets
│ └─
personality_template.json
JSON
├─
▾
references
│ ├─
architecture.md
Markdown
│ ├─
c_extension_usage.md
Markdown
│ ├─
capability_boundaries.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
│ ├─
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
├─
▾
scripts
│ ├─
advice_pool.py
Python
│ ├─
cognitive_insight_backup.py
Python
│ ├─
cognitive_insight_help.py
Python
│ ├─
cognitive_insight.py
Python
│ ├─
concept_extraction_extension.py
Python
│ ├─
data_lifecycle_manager.py
Python
│ ├─
history_manager.py
Python
│ ├─
init_dialogue_optimized.py
Python
│ ├─
intentionality_analyzer.py
Python
│ ├─
intentionality_classifier.py
Python
│ ├─
intentionality_collector.py
Python
│ ├─
intentionality_regulator.py
Python
│ ├─
intentionality_trigger.py
Python
│ ├─
learning_stage_tracker.py
Python
│ ├─
memory_store_pure.py
Python
│ ├─
metacognition_history.py
Python
│ ├─
objectivity_evaluator.py
Python
│ ├─
perception_node.py
Python
│ ├─
personality_core_pure.py
Python
│ ├─
personality_customizer.py
Python
│ ├─
personality_layer_pure.py
Python
│ ├─
show_help.py
Python
│ ├─
strategy_selector.py
Python
│ ├─
test_metacognition_integration.py
Python
│ ├─
test_perception_node.py
Python
│ └─
transcendence_keeper.py
Python
└─
SKILL.md
Markdown
Dependencies 1 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
None (Python standard library only) | N/A | stdlib | No | No external pip/npm/cargo dependencies. Uses only Python built-in modules: json, os, sys, tempfile, time, datetime, argparse, shutil, uuid, hashlib, logging, typing, dataclasses, enum, functools, collections, re |
Security Positives
✓ No credential harvesting or sensitive file access (no ~/.ssh, ~/.aws, .env scanning)
✓ No data exfiltration, C2 communication, or external IP connections
✓ No obfuscation techniques (no base64, atob, or anti-analysis patterns)
✓ No reverse shell, RCE, or remote code execution payloads
✓ Uses only Python standard library — no external dependencies
✓ Atomic file writes with temp file + rename pattern prevents data corruption
✓ Documentation accurately describes core functionality and architecture
✓ C extension loading gracefully falls back to pure Python implementation
✓ File operations are scoped to ./agi_memory directory only
✓ No supply chain risk from unpinned packages — no package manager used