rewind
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes several git commands (
git log,git tag,git rev-list,git reset) and a Node.js process to manage the repository state and lifecycle commits. These operations modify the git history and filesystem state. - [INDIRECT_PROMPT_INJECTION]: The skill accepts user-provided inputs (
step-id,tag-name) and interpolates them directly into shell commands. - Ingestion points: User-supplied values for the
step-idand--tagarguments. - Boundary markers: None present to isolate inputs from the command context.
- Capability inventory: Uses
git rev-list,git log,git reset, andnodesubprocess calls. - Sanitization: The skill performs a search for tags, but does not explicitly sanitize or escape the resulting strings before passing them to shell-executing functions, creating a command injection surface.
- [DYNAMIC_EXECUTION]: A block of JavaScript is executed via
node -eto prune stale git worktrees. This script dynamically parses output fromgit worktree listand programmatically spawns additionalgit worktree removeprocesses usingchild_process.execSync.
Audit Metadata