JAVA-056 / Intermediate
Exposed Git directory in static resources or configuration (.git)
Why is this a problem?
Source and history can be reconstructed from /.git/config and similar files.
How to fix it
text
Deploy only the JAR, restrict static paths to src/main/resources/static, and block .git