T09 · Insecure Skill Coding Practices
- Location
scripts/build-wall.mjs- Finding
Building a wall unconditionally deletes the entire existing output directory
- Content
View full analysis
Impact
Existing unrelated files and subdirectories under the output directory are deleted with the process's filesystem permissions before replacement assets are copied. A subsequent build failure does not restore them.
