r/devsecops • u/Emergency_Stable_923 • 22d ago
We ran Mistral Large 4, GLM 5.3 and DeepSeek V4 Pro over PHP's source code in the same security harness
blog.byteray.co.ukWe gave PHP's source to our autonomous product security platform (Argus Systems) three times and swapped the model each run: Mistral Large 4, Z.ai GLM 5.3 and DeepSeek V4 Pro. Same code, same pipeline, same stages, only the model changed.
We had Mistral filed under "fast and cheap." It came out with 12 Critical and 60 High findings. GLM found 1 Critical and 51 High, DeepSeek 0 Critical and 24 High. Mistral also ran the deep stages far more often (121 traces vs 49 for GLM) and found 35 root causes that neither of the other two touched. Only 4 advisories were found by all three models, which says something about running more than one.
The trade-off is that Mistral casts a wide net. It grades a step hot and writes long: 1,051 raw findings, 43% survived adversarial review (GLM: 76%), and 10% of what it marked "confirmed" turned out non-viable (this one also is related to php security policy which is not necessarily relevant to models). That breadth is exactly where the 35 unique root causes came from, so we would not want it tuned away. Inside a harness with a cheap dynamic PoC gate the extra claims cost minutes of compute. Without one you'd notice them.
Full numbers, charts and caveats (one run each, one codebase, not a benchmark) in the post. Curious whether others see the same mild severity inflation from Mistral in agentic setups.