[New Feature]: Add security related metadata on manifest files.
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
Start by reviewing the existing manifest files and how manifest metadata is consumed in this repository. The issue proposes update-type metadata, per-package overrides, and additional package information, but names no files or tests. Done would require an agreed scope and schema before implementation can be identified.
Written by the indexing model from the issue text.
Description
Description of the new feature/enhancement
Looking at the existing manifest files, I begin to realize that you are missing the most important feature I want in a package manager:
The distinction between different update types (security fix, functionality fix, feature update).
I want the package manager to be able to auto-update only the packages that have security fixes (although, someone else might want to also include functionality fixes).
If it can adjust its behavior on a per-package basis too, in the form of an override, it might be even better.
Proposed technical implementation details (optional)
Allow a field in the manifest file that specifies the update type (e.g., critical risk security fix, medium risk security fix, low risk security fix, functionality fix, feature update). This will be set by the author.
Also, you can (and should) probably allow a combination of update types per package version (e.g. security fix and feature update at the same time).
When exploits for a piece of software comes out, you could auto-update the existing manifest files (and the field mentioned above) for all versions of the software, without the author having to do anything. I believe that all exploit databases out there do specify which versions are affected by an exploit, so this should be easy. And the package manager could retrieve, display, and act upon this information.
P.S. :
You could also include more metadata, like the type of software (GUI app, command-line app, SDK, driver, firmware, codec, font, etc).
Also, the target OS name, just to be flexible. E.g. "above Windows 7", "above Win10", "Windows Nano (which we all hope gets resurrected...)", Linux, etc.
Also, software/hardware dependencies, like DirectX9, MSVS C++, TPM 2, etc.
Amount of required RAM/disk, etc.
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- Avg merge
- 1h 32m
- Merged PRs (30d)
- 376
Contributor 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/winget-pkgs
-
Help-Wanted Needs-Triage Package-Request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
microsoft/winget-pkgs#437907 · 1 comment ·
-
Help-Wanted Needs-Triage Package-Update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/winget-pkgs#437898 · 1 comment · 1 reaction ·
-
Help-Wanted Needs-Triage Package-Request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
microsoft/winget-pkgs#437897 ·
-
Help-Wanted Needs-Triage Package-Update
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
microsoft/winget-pkgs#437768 · 1 comment ·
-
Issue-Bug Needs-Triage
Difficulty 1/5 Under an hour Newbie friendliness 90/100
microsoft/winget-pkgs#437631 · 1 comment ·
All issues in microsoft/winget-pkgs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sisaku-security/sisakulint#647 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yunaremaia/driftcheck#246 ·
-
Docs say approvals.mode defaults to smart, but code falls back to manual when the key is absent Openarea/config comp/tools P2 sweeper:risk-compatibility type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NousResearch/hermes-agent#117341 · 1 comment ·
-
bug good-first-issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
yunaremaia/taintrace#110 ·