Forum Discussion
faizz_UI
New Contributor
Version 3.32.4 uses Math.random() as well, which will warrant the HP Fortify warning as well. The code below is from swagger-ui-3.32.4\dist\swagger-ui.js
function(e,t)
{
var n=0,r=Math.random();
e.exports=function(e)
{
return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))
}
}
tlai
5 years agoSmartBear Alumni (Retired)
Math.random() is a commonly used function and is present in many popular libraries. SwaggerUI does not generate security sensitive context such as passwords or api keys. Thus, this notice should be a non-issue with regards to SwaggerUI.
Related Content
- 3 years ago
- 10 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 19 days ago