Timing Possible Timing Attacks

The application was found executing string comparisons using one of `===`, `!==`, `==` or `!=` against security sensitive values. String comparisons like this are not constant time, meaning the first character found not to match in the two strings will immediately exit the conditional statement. This allows an adversary to calculate or observe small timing d

IndexedPublic repositoryMediumHigh confidenceVerifiedMITJS
greprules fetch gitlab-sast-javascript-timing-rule-possible-timing-attacks --engine opengrep

Description

The application was found executing string comparisons using one of `===`, `!==`, `==` or `!=` against security sensitive values. String comparisons like this are not constant time, meaning the first character found not to match in the two strings will immediately exit the conditional statement. This allows an adversary to calculate or observe small timing d