Context-Inappropriate Capability
Medium
- Confidence
- 95% confidence
- Finding
- The script accepts a repository URL from an environment variable and interpolates it directly into a shell command via execSync. This enables shell command injection if SHARED_MEMORY_REPO is attacker-controlled, and even without injection it grants broad exfiltration/synchronization capability to an arbitrary remote repository beyond what a minimal memory-sync helper should do.
