spec-init
Warn
Audited by Socket on Jul 28, 2026
1 alert found:
AnomalyAnomalyscripts/spec-create-branch.ps1
LOWAnomalyLOW
scripts/spec-create-branch.ps1
No strong indicators of intentional malware (no network/exfiltration, no obfuscation, no credential theft, and no dynamic execution) are present in this fragment. However, the script performs high-impact local actions: it writes untrusted file content into the repository and then deletes the caller-supplied $SourceFilePath. Additionally, $ShortName directly influences git branch names and filesystem directory names without visible sanitization/allowlisting, increasing the risk of unintended repository/workspace manipulation. Overall, the primary concern is operational safety rather than explicit malicious payload behavior.
Confidence: 66%Severity: 55%
Audit Metadata