Scan Report
20 /100
agent-memory
AI agent memory infrastructure implementing Context Engineering core capabilities - selection, compression, retrieval, state tracking, and memory management with privacy controls
Legitimate AI memory infrastructure skill with no malicious behavior detected. Contains proper encryption, privacy controls, and no exfiltration capabilities. Minor documentation issues do not pose security risks.
Safe to install
This skill is safe to use. Consider adding explicit allowed-tools declaration to SKILL.md for transparency. The example passwords in documentation are clearly marked and non-functional.
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Low | Example passwords in documentation | references/encryption_guide.md:157 |
| Info | Missing allowed-tools declaration | SKILL.md:1 |
| Info | Meta-skill with always:true | SKILL.md:2 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | WRITE | WRITE | ✓ Aligned | SKILL.md:storage paths ./memory_data, scripts/credential_manager.py:storage_path… |
| Network | READ | READ | ✓ Aligned | SKILL.md:Redis connection, scripts/redis_adapter.py:Redis client |
| Shell | NONE | NONE | — | No subprocess calls found |
| Environment | NONE | READ | ✓ Aligned | scripts/credential_manager.py:reads MEMORY_MASTER_KEY env var |
| Skill Invoke | NONE | NONE | — | No skill invocation found |
| Clipboard | NONE | NONE | — | No clipboard access found |
| Browser | NONE | NONE | — | No browser access found |
| Database | READ | READ | ✓ Aligned | SKILL.md:Redis, scripts/redis_adapter.py:RedisAdapter |
2 High 2 findings
High API Key 疑似硬编码凭证
password = "user_password_123" references/encryption_guide.md:157 High API Key 疑似硬编码凭证
password="optional_password" references/encryption_guide.md:171 File Tree
68 files · 1.4 MB · 45450 lines Python 50f · 36715L
Markdown 17f · 8236L
JSON 1f · 499L
├─
▾
assets
│ └─
▾
templates
│ └─
memory_schemas.json
JSON
├─
▾
references
│ ├─
activation_mechanism.md
Markdown
│ ├─
agent_loops_advanced.md
Markdown
│ ├─
agent_loops_integration.md
Markdown
│ ├─
api_class_reference.md
Markdown
│ ├─
api_enums.md
Markdown
│ ├─
architecture_execution_model.md
Markdown
│ ├─
architecture_overview.md
Markdown
│ ├─
chain_reasoning_guide.md
Markdown
│ ├─
encryption_guide.md
Markdown
│ ├─
index_sync_guide.md
Markdown
│ ├─
insight_design.md
Markdown
│ ├─
memory_types.md
Markdown
│ ├─
module_index.md
Markdown
│ ├─
privacy_guide.md
Markdown
│ ├─
short_term_insight_guide.md
Markdown
│ └─
usage_guide.md
Markdown
├─
▾
scripts
│ ├─
__init__.py
Python
│ ├─
async_writer.py
Python
│ ├─
batched_writer.py
Python
│ ├─
bloom_filter.py
Python
│ ├─
cache_consistency.py
Python
│ ├─
cache_layer.py
Python
│ ├─
causal_chain_extractor.py
Python
│ ├─
chain_reasoning.py
Python
│ ├─
cognitive_model_builder.py
Python
│ ├─
conflict_resolver.py
Python
│ ├─
context_lazy_loader.py
Python
│ ├─
context_orchestrator.py
Python
│ ├─
context_reconstructor.py
Python
│ ├─
credential_manager.py
⚠
Python
│ ├─
cross_session_memory_linker.py
Python
│ ├─
encryption.py
Python
│ ├─
fallback_manager.py
Python
│ ├─
heat_manager.py
Python
│ ├─
importance_scorer.py
Python
│ ├─
incremental_sync.py
Python
│ ├─
insight_module.py
Python
│ ├─
knowledge_gap_identifier.py
Python
│ ├─
long_term.py
Python
│ ├─
memory_conflict.py
Python
│ ├─
memory_forgetting_mechanism.py
Python
│ ├─
memory_index.py
Python
│ ├─
monitoring.py
Python
│ ├─
multi_source_coordinator.py
Python
│ ├─
noise_filter.py
Python
│ ├─
observability_manager.py
Python
│ ├─
perception.py
Python
│ ├─
permission_boundary_controller.py
Python
│ ├─
prefetch_manager.py
Python
│ ├─
privacy.py
Python
│ ├─
progressive_compressor.py
Python
│ ├─
redis_adapter.py
Python
│ ├─
result_compressor.py
Python
│ ├─
retrieval_decision_engine.py
Python
│ ├─
retrieval_organizer.py
Python
│ ├─
retrieval_quality_evaluator.py
Python
│ ├─
short_term_insight.py
Python
│ ├─
short_term_redis.py
Python
│ ├─
short_term.py
Python
│ ├─
smart_allocator.py
Python
│ ├─
state_capture.py
Python
│ ├─
state_consistency_validator.py
Python
│ ├─
state_inference_engine.py
Python
│ ├─
task_progress.py
Python
│ ├─
token_budget.py
⚠
Python
│ └─
type_defs.py
Python
└─
SKILL.md
Markdown
Dependencies 6 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
pydantic | >=2.0.0 | pip | No | Version not pinned, only lower bound specified |
typing-extensions | >=4.0.0 | pip | No | Version not pinned |
cryptography | >=41.0.0 | pip | No | Version not pinned |
redis | >=4.5.0 | pip | No | Version not pinned |
tiktoken | >=0.5.0 | pip | No | Optional dependency for token counting |
mmh3 | >=3.0.0 | pip | No | For Bloom filter implementation |
Security Positives
✓ AES-256-GCM encryption with proper key management (PBKDF2-HMAC-SHA256)
✓ Master key stored with 0o600 permissions (scripts/credential_manager.py:95)
✓ No external network requests to unknown IPs - only local Redis connection
✓ Comprehensive privacy controls with consent management and sensitive data detection
✓ Permission boundary controller with regex-based PII detection and auto-redaction
✓ Audit logging for all data operations
✓ Dependency versions properly pinned in SKILL.md
✓ No subprocess execution, no shell commands, no base64/eval tricks
✓ Explicit documentation warning against hardcoding keys
✓ Uses cryptographically secure secrets.token_bytes() for key generation