ossf / ossf/package-analysis

Run analysis image as non-root user

Open
#394 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Most of the time, developers install and run packages as non-root users. Currently, commands inside the analysis container run as root which is easy to set up but not as realistic. It would be ideal to have things running as a non-root user, but with (passwordless) sudo access (see #393)

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 reading the analysis-container setup and the discussion in issue #393 about passwordless sudo. Identify where the container user and privileges are configured, then verify that analysis commands run as a non-root user while retaining the requested sudo access.

Written by the indexing model from the issue text.

Assessment

Domain
infrastructure, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.