← smart-memory@3.1.0

Propose a patch

A fix the maintainer can act on, with the evidence attached. It opens under your GitHub account in your browser; KillerSkills holds no token and never modifies the package. The fix is verified the only way we verify anything: the next crawl re-runs the new version in the honeypot. 70 · Caution

Evidence

The sandbox observed nothing beyond the static findings; the proposal cites those.

Diff · removes 25 caught lines

Download .patch
diff --git a/memory_lanes/__init__.py b/memory_lanes/__init__.py
--- a/memory_lanes/__init__.py
+++ b/memory_lanes/__init__.py
@@ -1,1 +1,0 @@
-from .core_memory_manager import CoreMemoryManager
diff --git a/migration/v3_migration.py b/migration/v3_migration.py
--- a/migration/v3_migration.py
+++ b/migration/v3_migration.py
@@ -1,1 +1,0 @@
-"""Migration helpers from legacy JSON stores into the v3 SQLite backend."""
diff --git a/entities/alias_resolver.py b/entities/alias_resolver.py
--- a/entities/alias_resolver.py
+++ b/entities/alias_resolver.py
@@ -1,1 +1,0 @@
-"""Entity alias resolution utilities."""
diff --git a/prompt_engine/composer.py b/prompt_engine/composer.py
--- a/prompt_engine/composer.py
+++ b/prompt_engine/composer.py
@@ -1,1 +1,0 @@
-"""Prompt Composer orchestration."""
diff --git a/entities/__init__.py b/entities/__init__.py
--- a/entities/__init__.py
+++ b/entities/__init__.py
@@ -1,1 +1,0 @@
-"""Entity package exports."""
diff --git a/evaluation/__init__.py b/evaluation/__init__.py
--- a/evaluation/__init__.py
+++ b/evaluation/__init__.py
@@ -1,1 +1,0 @@
-from .eval_runner import EvalRunner
diff --git a/ingestion/memory_classifier.py b/ingestion/memory_classifier.py
--- a/ingestion/memory_classifier.py
+++ b/ingestion/memory_classifier.py
@@ -1,1 +1,0 @@
-"""Memory type classifier for ingestion."""
diff --git a/entities/entity_normalizer.py b/entities/entity_normalizer.py
--- a/entities/entity_normalizer.py
+++ b/entities/entity_normalizer.py
@@ -1,1 +1,0 @@
-"""Deterministic entity normalization helpers."""
diff --git a/evaluation/scenarios/preference_change.json b/evaluation/scenarios/preference_change.json
--- a/evaluation/scenarios/preference_change.json
+++ b/evaluation/scenarios/preference_change.json
@@ -1,1 +1,0 @@
-{
diff --git a/transcripts/transcript_logger.py b/transcripts/transcript_logger.py
--- a/transcripts/transcript_logger.py
+++ b/transcripts/transcript_logger.py
@@ -1,1 +1,0 @@
-"""Transcript append helpers for Smart Memory v3.1."""
diff --git a/retrieval/reranker.py b/retrieval/reranker.py
--- a/retrieval/reranker.py
+++ b/retrieval/reranker.py
@@ -1,1 +1,0 @@
-"""Candidate memory re-ranking for retrieval context selection."""
diff --git a/skills/smart-memory-openclaw/session-arc.js b/skills/smart-memory-openclaw/session-arc.js
--- a/skills/smart-memory-openclaw/session-arc.js
+++ b/skills/smart-memory-openclaw/session-arc.js
@@ -1,1 +1,0 @@
-"use strict";
diff --git a/prompt_engine/schemas.py b/prompt_engine/schemas.py
--- a/prompt_engine/schemas.py
+++ b/prompt_engine/schemas.py
@@ -1,1 +1,0 @@
-"""Canonical data schemas for Smart Memory v3.1."""
diff --git a/storage/__init__.py b/storage/__init__.py
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1,1 +1,0 @@
-"""Storage helpers for Smart Memory."""
diff --git a/transcripts/transcript_models.py b/transcripts/transcript_models.py
--- a/transcripts/transcript_models.py
+++ b/transcripts/transcript_models.py
@@ -1,1 +1,0 @@
-"""Transcript-first models for Smart Memory v3.1."""
diff --git a/transcripts/__init__.py b/transcripts/__init__.py
--- a/transcripts/__init__.py
+++ b/transcripts/__init__.py
@@ -1,1 +1,0 @@
-"""Transcript subsystem exports."""
diff --git a/storage/json_memory_store.py b/storage/json_memory_store.py
--- a/storage/json_memory_store.py
+++ b/storage/json_memory_store.py
@@ -1,1 +1,0 @@
-"""Legacy JSON import/export store for long-term memory objects."""
diff --git a/transcripts/transcript_store.py b/transcripts/transcript_store.py
--- a/transcripts/transcript_store.py
+++ b/transcripts/transcript_store.py
@@ -1,1 +1,0 @@
-"""SQLite-backed transcript storage for Smart Memory v3.1."""
diff --git a/skills/smart-memory-openclaw/prompt-injection.js b/skills/smart-memory-openclaw/prompt-injection.js
--- a/skills/smart-memory-openclaw/prompt-injection.js
+++ b/skills/smart-memory-openclaw/prompt-injection.js
@@ -1,1 +1,0 @@
-"use strict";
diff --git a/revision/update_policy.py b/revision/update_policy.py
--- a/revision/update_policy.py
+++ b/revision/update_policy.py
@@ -1,1 +1,0 @@
-"""Action selection policies for memory revision."""
diff --git a/revision/conflict_detector.py b/revision/conflict_detector.py
--- a/revision/conflict_detector.py
+++ b/revision/conflict_detector.py
@@ -1,1 +1,0 @@
-"""Conflict detection for revision-aware memory writes."""
diff --git a/skills/smart-memory-openclaw/index.js b/skills/smart-memory-openclaw/index.js
--- a/skills/smart-memory-openclaw/index.js
+++ b/skills/smart-memory-openclaw/index.js
@@ -1,1 +1,0 @@
-"use strict";
diff --git a/prompt_engine/prompt_renderer.py b/prompt_engine/prompt_renderer.py
--- a/prompt_engine/prompt_renderer.py
+++ b/prompt_engine/prompt_renderer.py
@@ -1,1 +1,0 @@
-"""Prompt rendering with strict prompt-level token enforcement."""
diff --git a/prompt_engine/token_allocator.py b/prompt_engine/token_allocator.py
--- a/prompt_engine/token_allocator.py
+++ b/prompt_engine/token_allocator.py
@@ -1,1 +1,0 @@
-"""Token budget allocation for prompt composition."""
diff --git a/revision/__init__.py b/revision/__init__.py
--- a/revision/__init__.py
+++ b/revision/__init__.py
@@ -1,1 +1,0 @@
-from .conflict_detector import ConflictDetector, ConflictResult

Zero-context hunks: apply with git apply --unidiff-zero fix.patch on the tagged source of 3.1.0. If the behavior is intended, declare it (host under permissions.network, a line in the README) instead of removing it; the next crawl scores declarations.

Issue / PR body

Title: smart-memory: Hidden zero-width characters detected (KillerSkills verdict caution 70)

## What the honeypot observed
KillerSkills ran **[email protected]** in an isolated sandbox (decoy credentials, recording proxy, syscall trace; engine 1.9.2) and scored it **CAUTION 70/100**. Summary: no network, touches nothing outside the project, writes no memory.

- See the findings below.

Full trace and findings: https://killerskills.ai/skills/clawhub/smart-memory/3.1.0

## Findings with a location
- `memory_lanes/__init__.py:1` · Hidden zero-width characters detected — memory_lanes/__init__.py:1 · Hidden zero-width characters detected — may conceal content
- `migration/v3_migration.py:1` · Hidden zero-width characters detected — migration/v3_migration.py:1 · Hidden zero-width characters detected — may conceal content
- `entities/alias_resolver.py:1` · Hidden zero-width characters detected — entities/alias_resolver.py:1 · Hidden zero-width characters detected — may conceal content
- `prompt_engine/composer.py:1` · Hidden zero-width characters detected — prompt_engine/composer.py:1 · Hidden zero-width characters detected — may conceal content
- `entities/__init__.py:1` · Hidden zero-width characters detected — entities/__init__.py:1 · Hidden zero-width characters detected — may conceal content
- `evaluation/__init__.py:1` · Hidden zero-width characters detected — evaluation/__init__.py:1 · Hidden zero-width characters detected — may conceal content
- `ingestion/memory_classifier.py:1` · Hidden zero-width characters detected — ingestion/memory_classifier.py:1 · Hidden zero-width characters detected — may conceal content
- `entities/entity_normalizer.py:1` · Hidden zero-width characters detected — entities/entity_normalizer.py:1 · Hidden zero-width characters detected — may conceal content
- `evaluation/scenarios/preference_change.json:1` · Hidden zero-width characters detected — evaluation/scenarios/preference_change.json:1 · Hidden zero-width characters detected — may conceal content
- `transcripts/transcript_logger.py:1` · Hidden zero-width characters detected — transcripts/transcript_logger.py:1 · Hidden zero-width characters detected — may conceal content
- `retrieval/reranker.py:1` · Hidden zero-width characters detected — retrieval/reranker.py:1 · Hidden zero-width characters detected — may conceal content
- `skills/smart-memory-openclaw/session-arc.js:1` · Hidden zero-width characters detected — skills/smart-memory-openclaw/session-arc.js:1 · Hidden zero-width characters detected — may conceal content

## Proposed change
The attached patch removes the 25 lines above. If the behavior is intended, the fix is to declare it instead: list the host under `permissions.network` (or the MCP manifest) and say in the README why the package needs it; the next crawl will re-score it with the declaration taken into account.

## How this will be verified
Nothing is "verified safe" by assertion. When a new version is published, KillerSkills re-runs it in the honeypot and the verdict page updates; you can trigger it early from the verdict page ("Re-scan after I publish a fix"). Reply here or at [email protected] if you believe the verdict is wrong; disputes are reviewed by a person and the outcome is published on the verdict page.

_Proposed through killerskills.ai/threats by a user of the package, under their own GitHub account. The evidence is public; the package was never modified by KillerSkills._
# or from a terminal, under your own account:
gh repo fork BluePointDigital/smart-memory --clone && cd smart-memory
curl -s https://killerskills.ai/skills/clawhub/smart-memory/3.1.0/patch.diff | git apply --unidiff-zero
git checkout -b killerskills/3.1.0 && git commit -am "smart-memory: Hidden zero-width characters detected"
gh pr create --fill --body-file <(curl -s https://killerskills.ai/skills/clawhub/smart-memory/3.1.0/patch.md)

We count proposals opened, not merged: a merge shows up as a new version that the crawl re-runs. Disputes: the maintainer can contest the verdict from its page; a person reviews it and the outcome is published.