juretta/bamboo-git-plugin — comment on commit fa0960b66a8d838a02e73fbb64cbbe39bf7c6025
File: src/main/java/com/atlassian/bamboo/plugins/git/GitOperationHelper.java line 318
By pstefaniak:

I wonder if this is necessary protection - after all, if the adversary have write access to the project repository then he can replace the sources/tests/scripts (or whatever is set up in Bamboo plan) with his own code and do nastier things.