Closed fraxken closed 2 years ago
I know that I'm a bit too busy atm, but I'd like to work on this one (maybe a live 👀) as I didn't touch to js-x-ray
too much since the beginning ^^
@Mathieuka was also interested by this one (so maybe check with him if he still want to do it).
@fraxken Finally I don't feel strong enough to take this ticket at the moment, I'm going to keep learning about the AST part :muscle:
@tony-go If you do a live on this ticket that would be great !!
@all-contributors please add @tony-go for code, doc, test
@fraxken
I've put up a pull request to add @tony-go! :tada:
The goal of this task (issue) is to develop a new feature capable of detecting any usage of weak hash algorithm like
md5
.For the sake of simplicity it is sufficient to look for the createHash method.
Example of code that should throw a new warning:
We may have to answer few questions for this issue:
sha1
has to be considered weak too).