You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
security(skillgen): --watch INPUT_PATH still interpolated in the Aider/Devin monolith cores #3844
#3742 closed the Step 1 injection and #3742's follow-on closed the same class in the progressive-disclosure --watch reference (tools/skillgen/fragments/references/shared/add-watch.md), which now reads the trusted graphify-out/.graphify_root instead of re-substituting the raw INPUT_PATH.
The identical placeholder is still live in the two monolith cores:
The monolith cores use a self-contained flow that does not write graphify-out/.graphify_root, so the sidecar trick used in add-watch.md doesn't apply directly. Editing a core also trips the skillgen monolith-roundtrip guard: any change needs a sanctioned-diff predicate in tools/skillgen/gen.py (_SANCTIONED_MONOLITH_DIFFS) or --monolith-roundtrip fails.
Suggested fix
Either (a) have the core Step 1 write .graphify_root and reuse it in the --watch snippet, or (b) neutralize the path in place (single-quote / restructure so the shell never interprets it), plus the matching gen.py sanctioned-diff and a regenerate + --monolith-roundtrip pass. Add a test that runs the core's --watch snippet with a hostile substituted path (mirroring tests/test_skillgen_input_path_injection.py).
Activity
safishamsi commentedon Sep 27, 2026
Fixed in v0.9.70 (now on PyPI) by #3852 — thanks @hopstreax.
Release: https://github.com/Graphify-Labs/graphify/releases/tag/v0.9.70
Quote the watch debounce line's interpreter substitution in aider/devin
security(skill): read the scan root from .graphify_root, never substi…