Avoid synchronous child process execution with dynamic commands
execSync and spawnSync should not run commands built from variables or template strings.
#Metadata
#Why it matters
Synchronous shell execution blocks the event loop and dynamic command strings are a common command-injection surface.
#Remediation
Prefer async APIs with fixed command allowlists, or validate and normalize inputs before invoking shell commands.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.security.no-sync-child-process-exec.rule.yaml.