This release includes 1 security fix for security teams reviewing exposed deployments.
Topics
+5 more
Affected surfaces
ReleasePort's take
Moderate signalHook scripts now embed the current interpreter and include hardened quoting to prevent shell injection.
Why it matters: The security fix (severity 95) blocks shell‑injection attacks via proper quoting in hook script execution, critical for any environment using graphify hooks.
Summary
AI summaryHook scripts now embed the current interpreter and are hardened against shell injection.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Security | Critical |
Hardened hook script to prevent shell injection via proper quoting and diagnostic output. Hardened hook script to prevent shell injection via proper quoting and diagnostic output. Source: llm_adapter@2026-06-04 Confidence: high |
— |
| Feature | Low |
Added query logging: all graphify queries are appended to `~/.cache/graphify-queries.log` in JSON Lines format. Added query logging: all graphify queries are appended to `~/.cache/graphify-queries.log` in JSON Lines format. Source: llm_adapter@2026-06-04 Confidence: high |
— |
| Bugfix | Medium |
`graphify hook install` now embeds current interpreter into generated scripts, fixing no-op on PATH issues. `graphify hook install` now embeds current interpreter into generated scripts, fixing no-op on PATH issues. Source: llm_adapter@2026-06-04 Confidence: high |
— |
| Bugfix | Medium |
Hook scripts probe `graphify-out/.graphify_python` as fallback interpreter source for Windows/Git Bash installs. Hook scripts probe `graphify-out/.graphify_python` as fallback interpreter source for Windows/Git Bash installs. Source: llm_adapter@2026-06-04 Confidence: high |
— |
| Bugfix | Medium |
Manifest JSON keys, `.graphify_root`, and cache AST source_file fields are stored as relative paths to avoid forced rebuilds on CI. Manifest JSON keys, `.graphify_root`, and cache AST source_file fields are stored as relative paths to avoid forced rebuilds on CI. Source: llm_adapter@2026-06-04 Confidence: high |
— |
Full changelog
- Fix:
graphify hook installnow embeds the current interpreter (sys.executable) directly into the generated hook scripts. Previously, uv tool and pipx installs silently no-oped on git commit in GUI clients and CI runners where~/.local/binis not on PATH — the hook could not find the graphify launcher, fell through all detection probes, and exited 0 without rebuilding. If you already have hooks installed, re-rungraphify hook installto pick up the fix (#1127). - Fix: hook scripts also probe
graphify-out/.graphify_pythonas a fallback interpreter source, covering Windows/Git Bash installs where the launcher is a binary with no parseable shebang, and the case where the pinned path goes stale after a reinstall. - Security: hook script hardening —
_PINNED=uses single quotes to prevent shell injection;nohup "$GRAPHIFY_PYTHON" -cis properly quoted; the fallback emits a loud stderr diagnostic instead of a bare silentexit 0. - Fix:
manifest.jsonkeys,.graphify_root, andcache/ast/*.jsonsource_filefields are now stored as relative paths and re-anchored on load. Teams committinggraphify-out/no longer see forced full rebuilds on every CI checkout or clone (#777, #1125). - Feat: query logging. Every
graphify query,graphify path,graphify explain, and MCPquery_graphcall is appended to~/.cache/graphify-queries.login JSON Lines format (timestamp, question, corpus, nodes returned, duration). Control withGRAPHIFY_QUERY_LOG,GRAPHIFY_QUERY_LOG_DISABLE=1, orGRAPHIFY_QUERY_LOG_RESPONSES=1(#1128).
Security Fixes
- Hook script hardening: `_PINNED=` quoted with single quotes, `nohup "$GRAPHIFY_PYTHON" -c` properly quoted, fallback emits loud stderr diagnostic to prevent shell injection
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About graphify
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, OpenClaw, Factory Droid, Trae). Turn any folder of code, docs, papers, images, videos, or YouTube links into a queryable knowledge graph
Beta — feedback welcome: [email protected]