T09 · Insecure Skill Coding Practices
- Location
SKILL.md:62- Finding
Predictable Shared Temporary File Permits File Replacement and Symlink Attacks
- Content
View full analysis
- Remediation
View remediation
"$lyrics_file" node "{baseDir}/scripts/generate_suno.js" "song title" "$(cat -- "$lyrics_file")" "STYLE_TAGS" ``` For stronger protection, modify `generate_suno.js` to read the lyrics directly from standard input so that no temporary file is needed. ]]>
