T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/git_stats.py:102- Finding
Tracked Symbolic Links Can Cause Out-of-Repository File Reads
- Content
View full analysis
- Remediation
View remediation
` or an equivalent plumbing command. This counts the versioned object rather than following working-tree links and better matches the stated purpose of analyzing tracked repository content. 5. Add regression tests covering: - A tracked symlink to a file outside the repository. - A tracked symlink to a directory outside the repository. - Nested paths that resolve outside the repository. - Ordinary tracked files that remain within the repository. ]]>
