Intent-Code Divergence
Medium
- Confidence
- 97% confidence
- Finding
- The script builds a shell command string for `git log` and appends `sinceTag` directly before passing it to `execSync`. Because `sinceTag` is sourced from CLI input (`--since`) or potentially attacker-controlled repository data, an attacker can inject shell metacharacters and achieve arbitrary command execution in the context of the user running the script.
