Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[False Positive] DS106863 - The DES cipher was found, which is widely considered to be broken. #645

Open
pocki opened this issue Sep 16, 2024 · 0 comments

Comments

@pocki
Copy link

pocki commented Sep 16, 2024

Rule ID

DS106863 The DES cipher was found, which is widely considered to be broken.

What the rule matched

var location = "some text DES";
//...
if (location.EndsWith("DES")) //<-- The DES cipher was found, which is widely considered to be broken.
{
  location = location[..^4];
}

Why should this not be matched?

Is is just a string in a string comparision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant