T09 · Insecure Skill Coding Practices
- Location
scripts/_adapter_github_release.py- Finding
Repository-controlled symlinks redirect archive extraction outside the temporary clone
- Content
View full analysis
Impact
A matching symlink can cause a packaged file to overwrite another file writable by the publishing user. For example, a tracked /README.md symlink targeting a file in another local project redirects extraction of the normal README.md onto that unrelated file. Replacement contents come from the corresponding packaged file; arbitrary attacker-chosen replacement bytes are not established.
