ossf / ossf/package-analysis

OS level package analysis

Open
#1,114 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
912
Forks
74
PR merge metrics
No merged PRs in 30d

Description

This is a neat idea, but I'm wondering about a few possible areas of improvement:

  1. What about packages generated by popular open source projects?
  2. Integrations with existing OS package managers to check for flagged versions of python, ruby, etc scripts?
  3. Integrations with OS package cluster/build tools to do scans (for example during test runs/qat)

OS vendors have to frequently package up existing python, perl, ruby, rust crates, etc for dependencies on packages. However, they also build a lot of other things that aren't covered here. it would make sense for the package to never be built if it has known malware you've already identified. It would make sense for the package manager not to install the malware or at least warn the user it contains malware.

Some of these things detected will result in a CVE and eventually get caught by projects, but there's a delay.

For context, I run a small BSD project but I'm also thinking about all the k8s pods we use at work running debain/ubuntu/alpine packages.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the package-analysis project's existing supported package types and scanning workflow, then inventory how OS package managers and build or test tools could fit the requested use cases. Done would require a focused, agreed scope for OS package analysis rather than the several integrations proposed here.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, linux, python, ruby, rust
Domain
devops, operating-systems, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.