I spent last week doing something I did not expect to do: I ran my own shell-injection scanner over my own repositories, and it flagged three of my files.
Not toy examples. Real files I had already pushed. One of them built a shell string from an environment variable that, in a container, is attacker-controlled more often than people admit.
The uncomfortable part was what happened next. I fixed the three findings, re-ran the scanner, got a clean report, and then did what everyone does: nothing. The report sat in a directory. It proved something about a commit I will forget in two months. If a customer had asked me "is this safe", I would have forwarded a screenshot and felt fine about it. That is not evidence. That is a screenshot of an opinion.
Why I stopped trusting a chat log as proof
The problem with saying "our code is clean" is that the person saying it is the person who wrote the code, the statement expires the moment the repo moves, and nobody can check it later.…