I have a Node REST API. That API is usually called from the SDK, which is used in browsers. For the whole structure to function properly, because the product is heavily reliant on security, it is important that the browsers talking to the API have good CSPRNGs and proper content security policy implementation.
Obviously, the quality of the implementation is only verifiable to a limited extent, but to protect the users who mean no harm, identifying old or dangerous browsers should be easily done using the user agent.
There are a lot of question about how to detect browsers, which in itself isn't really difficult to do. My question is, however, is there a list of user agents that are insecure or old/outdated/deprecated? A map from user agent strings to vulnerabilities? How would I best go about implementing such a system?