[False Positive] Do not target .NET Framework versions less than 4.7.2. seems to flag .NET11 projects
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
Research direction
The issue identifies rules/default/security/frameworks/dotnet_framework.json and the DS450000 rule. Read the rule's matching pattern and compare its behavior on net11.0 with the listed older target framework versions. Done means .NET 11 no longer triggers the rule while the intended older versions remain matched; the issue does not name a test file.
Written by the indexing model from the issue text.
Description
Rule ID
DS450000
What the rule matched
<TargetFramework>net11.0</TargetFramework>
Why should this not be matched?
This is .NET 11 not .NET 1.1
I believe the Regex in https://github.com/microsoft/DevSkim/blob/main/rules/default/security/frameworks/dotnet_framework.json is taking a partial string and should be something like
^(net11|net20|net35|net40|net403|net45|net451|net452|net46|net461|net462|net47|net471)$
- Dominant language
- C#
- Stars
- 1k
- Forks
- 135
- Avg merge
- 15h 14m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/DevSkim
-
exclude_file_regex and applies_to_file_regex only see the file name in devskim analyzePossibly taken @gfs claimed this 30 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
The DevSkim Repository Description still mentions IDE extensions but these are not longer includedOpenbug
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
DS117838 and DS173237 report published sha256 digests as secretsPossibly taken @gfs claimed this 30 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 56/100
-
How to match files without a file extension?Possibly taken @gfs claimed this 195 days ago. Openenhancement
microsoft/DevSkim#747 · 4 comments · 1 reaction · 2 assignees ·
-
Support for HTML (see attached example rule)May be free again A pull request for this issue was closed without being merged. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
All issues in microsoft/DevSkim
Similar issues
-
elsa 3
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
elsa-workflows/elsa-core#9349 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
PereViader/ManualDi#200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Forrest-Technologies/drover#1040 ·
Maintainers usually reply within 1 day
-
todo
Difficulty 1/5 Under an hour Newbie friendliness 72/100
tonybaloney/CSnakes#864 ·