Skip to content

fix: shell injection in hooks, Claude Code mining, chromadb pin - #114

Merged
bensig merged 1 commit into
mainfrom
fix/security-mining-chromadb
Apr 7, 2026
Merged

fix: shell injection in hooks, Claude Code mining, chromadb pin#114
bensig merged 1 commit into
mainfrom
fix/security-mining-chromadb

Conversation

@bensig

@bensig bensig commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • ruff check . passes
  • ruff format --check . passes
  • pytest tests/ -v — 9/9 pass

- hooks/mempal_save_hook.sh: pass $TRANSCRIPT_PATH as sys.argv
  instead of interpolating into python -c string (fixes #110)
- normalize.py: accept type "user" in addition to "human" for
  Claude Code JSONL sessions (fixes #111)
- convo_miner.py: skip tool-results/, memory/ dirs and .meta.json
  files when scanning for conversations (fixes #111)
- pyproject.toml: pin chromadb>=0.4.0,<1 to avoid crashing 1.x
  builds on macOS ARM64 (fixes #100)
@bensig
bensig merged commit d1afecc into main Apr 7, 2026
4 checks passed
GoodOlClint added a commit to GoodOlClint/mempalace that referenced this pull request Apr 7, 2026
…DME)

Merges upstream/main (b49cfbf) into our fork. Upstream merged:
- MemPalace#114: shell injection fix, Claude Code mining, chromadb pin
- MemPalace#119: repair command, split args fix, Claude export format, room keywords

Conflicts resolved keeping our versions for overlapping fixes (MemPalace#110, MemPalace#111,
MemPalace#100, MemPalace#108) plus our additions (remote support, batch writes, local
embeddings, .gitignore, non-interactive init, subagents skip).

New from upstream:
- `mempalace repair` command to rebuild HNSW index after corruption
- Claude privacy export format support in normalize.py
- Updated README

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bensig
bensig deleted the fix/security-mining-chromadb branch April 10, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant