admin管理员组文章数量:1332896
In my project we are using pdf.js from Mozilla, Now the fortify scan plaints about "Hardcoded Encryption Key" .See the below image
Please provide some help on this.Using version 2 of pdf.js
In my project we are using pdf.js from Mozilla, Now the fortify scan plaints about "Hardcoded Encryption Key" .See the below image
Please provide some help on this.Using version 2 of pdf.js
Share Improve this question asked Jul 5, 2019 at 5:55 Anoop M NairAnoop M Nair 1,0872 gold badges14 silver badges36 bronze badges 2-
3
I have the feeling this is a false positive, and that it detects those lines by scanning for a field that starts with
key
– Ferrybig Commented Jul 5, 2019 at 6:15 - 2 Fortify is notorious for needing tweaks to the rules to stop flagging safe code. So, yeah - it seems this is one of those cases. – VLAZ Commented Jul 5, 2019 at 6:17
2 Answers
Reset to default 5Fortify has used semantic analyzer which did a grep for the word "key". So this accounts that the value which in this case is key is a variable name. Fortify identified the word, 'key' as encryption key. So you can make this case to a false positive.
The semantic analyzer of fortify is very notorious for false positives. If you want a more automated solution, Fortify is not the right tool.
I have also faced this issue. Whenever fortify scans the application, it looks for some specific fields like "key" or "password" and its analyzer will start plaining with "Hardcoded Encryption Key" or "Password Management: Hardcoded Password".
Refer the below link for more information.
本文标签: javascriptFortify complaints quotHardcoded Encryption Keyquot mozila pdfjsStack Overflow
版权声明:本文标题:javascript - Fortify complaints "Hardcoded Encryption Key" mozila pdf.js - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742298867a2449271.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论