-
Notifications
You must be signed in to change notification settings - Fork 231
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
Fix S5332 FP: Ignore for WPF xml definitions #6141
Labels
Area: C#
C# rules related issues.
Area: Security
Related to Vulnerability and Security Hotspot rules
Type: False Positive
Rule IS triggered when it shouldn't be.
Milestone
Comments
Hi @GeertvanHorrik, Thank you for reporting this case. Xml namespaces indeed should not be reported and I confirm it as FP. |
Namespace: System.Windows.Markup |
12 tasks
Created #6223 as a follow-up. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: C#
C# rules related issues.
Area: Security
Related to Vulnerability and Security Hotspot rules
Type: False Positive
Rule IS triggered when it shouldn't be.
Description
The rule is S5332 ("Using clear-text protocols is security-sensitive")
Repro steps
When developing a WPF component or app, it will create security hotspots for these items:
In case of xml namespaces, does it really need to create these issues (is it a true risk)? If not, then maybe the XmlnsPrefix and XmlnsDefinition can be used to exclude this?
The text was updated successfully, but these errors were encountered: