oxidecomputer / oxidecomputer/dendrite

Drop privileges for service runners

Open
#254 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
20
Forks
3
Avg merge
3d 11h
Merged PRs (30d)
4

Description

Currently dpd, tfportd and uplinkd run as root without dropping any privileges. This is likely not necessary and these daemons should only carry the exact set of privileges they need to function.

Contributor guide

No contributing guide indexed for this repository

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

Locate the Rust entry points for the dpd, tfportd, and uplinkd service runners and inspect how each daemon starts and retains privileges. First determine the privileges each service actually requires; done means none runs with unnecessary root privileges while all three still function correctly. No test files are named in the issue, so identify the relevant service tests or validation path during investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.