Most static code analysis tools I've used allow you to write exceptions for rules into your code using comments that follow a particular signature. Isn't it sufficient to just ban the use of random() and require devs to use one of those comments to effectively "sign off" on it if they encounter a good use case?
There's two trains of thoughts here: 1. You can disable lint warnings, so it's no big deal if some rules have false positives 2. Disabling lint warnings should be a code smell, so if there's some rule that's getting people used to disabling lint warnings, it is a problem. I'm on camp 2 on this rule.
I believe lint warnings are for pointing out unusual constructs that might be a mistake not to be a code police.