File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
javascript/ql/lib/semmle/javascript/frameworks Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -291,13 +291,13 @@ private module CryptoJS {
291
291
* ```
292
292
*/
293
293
294
- exists ( DataFlow :: SourceNode mod , DataFlow :: PropRead propRead |
295
- mod = DataFlow :: moduleImport ( "crypto-js" ) and
296
- propRead = mod . getAPropertyRead ( "algo" ) . getAPropertyRead ( ) and
297
- this = propRead . getAMemberCall ( "create" ) and
298
- algorithmName = propRead . getPropertyName ( ) and
299
- not isStrongPasswordHashingAlgorithm ( algorithmName )
300
- )
294
+ this =
295
+ API :: moduleImport ( "crypto-js" )
296
+ . getMember ( "algo" )
297
+ . getMember ( algorithmName )
298
+ . getMember ( "create" )
299
+ . getACall ( ) and
300
+ not isStrongPasswordHashingAlgorithm ( algorithmName )
301
301
}
302
302
303
303
CryptographicAlgorithm getAlgorithm ( ) { result .matchesName ( algorithmName ) }
You can’t perform that action at this time.
0 commit comments