| ▲ | IshKebab a day ago | |
> Even with a well governed project, mistakes happen. A well governed project would structurally eliminate this class of bugs. Especially in 2026, even stupid AI can detect the use of non-static query strings. If you use a sane language like Rust even the compiler can enforce this. You don't need any separate static analysis tools. Python, C++ and even Go can do this too (although sadly its default SQL library doesn't). "Mistakes happen" is not an excuse in this case. > not every project has the budget for a static analysis tool (Semgrep, CodeQL, etc) Both of those are free for open source projects! If you're putting a freaking medical records platform out there without even basic free security checking, I would say that is shockingly irresponsible. | ||
| ▲ | AlotOfReading a day ago | parent [-] | |
And OpenEMR has been using Semgrep since it was added by claude at the beginning of the year [0].[0] https://github.com/openemr/openemr/commits/master/semgrep.ya... | ||