Let's consider quite different problem. The Dragon of The Source Code is being born, when somebody begins to write code. This Dragon is growing together with the amount of LOC.2 This Dragon becomes cunning, when somebody makes a silly error. This Dragon gets power, when somebody implements a bad decision.
If the Dragon of The Source Code cannot exist without the source code, we know where to seek his traces.
We can consider how we breed him. We can consider how we support him. We can consider how we take care of him. We can also consider how his presence affects us. Consequently we can understand how do not grow him and how to limit his potential.
Of course we cannot consider all aspects of the Dragon in this article. The number of methods to do bad things is unlimited. At least you may get some information and understand how apply it to your own Dragon.