skill-foundry
Warn
Audited by Socket on Jun 23, 2026
1 alert found:
AnomalyAnomalyscripts/generate_agent.sh
LOWAnomalyLOW
scripts/generate_agent.sh
Overall, the script appears intended as a benign artifact generator, but it contains a notable command-injection risk: user-controlled description text is interpolated into a double-quoted sed program string, which can trigger Bash command substitution during argument construction. Additionally, lack of escaping for sed replacements can corrupt YAML output. There is no direct evidence of data exfiltration, credential theft, or persistent malware in the provided fragment; the dominant risk is integrity and potential arbitrary command execution in the environment running this script.
Confidence: 74%Severity: 62%
Audit Metadata