← Back to Pull requests

update CONTRIBUTING.md and SECURITY.md #1565

Open
Luap99 opened this pull request with 104 lines diff across 3 files
View on GitHub
Luap99 Luap99 commented on Dec 02, 2026 18:40 UTC
Author

update CONTRIBUTING.md

The old doc we point to is in the old archived common repo. Inline the
rust bits here and link to the Podman Container Tools guide for the
general advice.

Also move some of the Readme content here as well to show how to build
it here instead.

---

update SECURITY.md to not longer point at podman

We are not part of the CNCF project so we should not redirect our
reports to the podman mailing list.

Use advisories and as fall back list my mailing address here.

Diff: 104 lines (+82 / -22) across 3 files Reviewer: mheon Review duration: 2257m
All Vouch review confidence checks passed
Residual risk 0.06 = Change Risk (0.57) × (1 − Review Confidence (0.90)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 104 lines diff across 3 files
0.57
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.88 · 5 substantive comment(s)
0.88
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
90%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.278
Sensitive Paths sensitive_paths
0.057
Real PR Conversation Timeline
11 items
Copilot Copilot commented on code on Dec 02, 2026 18:44 UTC
Code Review
CONTRIBUTING.md:1
@@ -1,3 +1,64 @@
-# Contributing to Containers/netavark
+# Contributing to Netavark
 
-We'd love to have you join the community! Learn [here](https://github.com/containers/common/blob/main/CONTRIBUTING.md) how to contribute to the Containers Group Projects.
+While we are not an official Podman Container Tool CNCF Project we follow their contribution guidelines
+as we are the same set of maintainers for the most part. Please read the
+[CONTRIBUTING.md](https://github.com/podman-container-tools/community/blob/main/CONTRIBUTING.md) there
+first for general advice how we work on ths repository.

Correct the typo “ths” to “this” and add “on” before “how.”

Copilot Copilot commented on code on Dec 02, 2026 18:44 UTC
Code Review
CONTRIBUTING.md:1
@@ -1,3 +1,64 @@
-# Contributing to Containers/netavark
+# Contributing to Netavark
 
-We'd love to have you join the community! Learn [here](https://github.com/containers/common/blob/main/CONTRIBUTING.md) how to contribute to the Containers Group Projects.
+While we are not an official Podman Container Tool CNCF Project we follow their contribution guidelines
+as we are the same set of maintainers for the most part. Please read the
+[CONTRIBUTING.md](https://github.com/podman-container-tools/community/blob/main/CONTRIBUTING.md) there
+first for general advice how we work on ths repository.
+
+Below you find helpful tips on how to work with this repository.
+
+## Topics
+
+* [Requires](#requires)
+* [Build](#build)
+* [Tests](#tests)
+* [Test Changes with Podman](#test-changes-with-podman)
+* [Rust Dependency updates](#rust-dependency-updates)
+
+## Requires
+
+- `make`
+- [go-md2man](https://github.com/cpuguy83/go-md2man) to build the docs.
+- [Rust](https://www.rust-lang.org/tools/install) with `cargo`
+- [protoc](https://grpc.io/docs/protoc-installation/)
+
+## Build
+
+```console
+$ make
+```
+
+## Tests
+
+Rust unit tests are added in the same file as the code they are testing.
+
+Integration tests should be added in `test/` and for dhcp related test use `test-dhcp/`.
+Also see [./test](./test/README.md) for more information and additional test dependencies.
+
+You can run them with:
+```console
+# make test
+```
+
+## Test Changes with Podman
+
+While Netavark and Aardvark have their own test suites, to fully test the tools, it is important to verify they function with Podman.
+The easiest way to do this is to place them in the `/usr/libexec/podman` folder, replacing the existing `netavark` and `aardvark-dns` binaries.
+It is recommended to move the system `netavark` and `aardvark-dns` instead of removing them (e.g. `mv /usr/libexec/podman/netavark /usr/libexec/podman/netavark-old`) so you can easily revert to the packaged version of Netavark once testing is complete.
+On systems with SELinux enabled, `netavark` and `aardvark-dns` should have their SELinux labels set to match the packaged versions (e.g. `chcon --reference=/usr/libexec/podman/netavark-old /usr/libexec/podman/netavark`) to ensure correct function.
+Once this is complete, the system Podman will use your locally-build Netavark and Aardvark binaries, allowing you to test all Podman networking functionality.

Use “locally built” rather than “locally-build.”

Copilot Copilot commented on code on Dec 02, 2026 18:44 UTC
Code Review
CONTRIBUTING.md:1
@@ -1,3 +1,64 @@
-# Contributing to Containers/netavark
+# Contributing to Netavark
 
-We'd love to have you join the community! Learn [here](https://github.com/containers/common/blob/main/CONTRIBUTING.md) how to contribute to the Containers Group Projects.
+While we are not an official Podman Container Tool CNCF Project we follow their contribution guidelines
+as we are the same set of maintainers for the most part. Please read the
+[CONTRIBUTING.md](https://github.com/podman-container-tools/community/blob/main/CONTRIBUTING.md) there
+first for general advice how we work on ths repository.
+
+Below you find helpful tips on how to work with this repository.
+
+## Topics
+
+* [Requires](#requires)
+* [Build](#build)
+* [Tests](#tests)
+* [Test Changes with Podman](#test-changes-with-podman)
+* [Rust Dependency updates](#rust-dependency-updates)
+
+## Requires
+
+- `make`
+- [go-md2man](https://github.com/cpuguy83/go-md2man) to build the docs.
+- [Rust](https://www.rust-lang.org/tools/install) with `cargo`
+- [protoc](https://grpc.io/docs/protoc-installation/)
+
+## Build
+
+```console
+$ make
+```
+
+## Tests
+
+Rust unit tests are added in the same file as the code they are testing.
+
+Integration tests should be added in `test/` and for dhcp related test use `test-dhcp/`.
+Also see [./test](./test/README.md) for more information and additional test dependencies.
+
+You can run them with:
+```console
+# make test
+```
+
+## Test Changes with Podman
+
+While Netavark and Aardvark have their own test suites, to fully test the tools, it is important to verify they function with Podman.
+The easiest way to do this is to place them in the `/usr/libexec/podman` folder, replacing the existing `netavark` and `aardvark-dns` binaries.
+It is recommended to move the system `netavark` and `aardvark-dns` instead of removing them (e.g. `mv /usr/libexec/podman/netavark /usr/libexec/podman/netavark-old`) so you can easily revert to the packaged version of Netavark once testing is complete.
+On systems with SELinux enabled, `netavark` and `aardvark-dns` should have their SELinux labels set to match the packaged versions (e.g. `chcon --reference=/usr/libexec/podman/netavark-old /usr/libexec/podman/netavark`) to ensure correct function.
+Once this is complete, the system Podman will use your locally-build Netavark and Aardvark binaries, allowing you to test all Podman networking functionality.
+
+## Rust Dependency updates
+
+To automatically keep dependencies up to date we use the [renovate](https://github.com/renovatebot/renovate) bot.
+The bot automatically opens new PRs with updates that should be merged by maintainers.
+
+However sometimes, especially during development, it can be the case that you like to update a dependency.
+
+To do this, you can either run `cargo update` (to update all dependencies) or change the version of the specific dependency you want to update in `Cargo.toml`.
+
+Please run `make` after this to ensure the project still builds after your dependency updates.
+It may be necessary to make code changes to address the updates dependencies.

“Updates dependencies” should be “updated dependencies.”

Copilot Copilot commented on code on Dec 02, 2026 18:44 UTC
Code Review
SECURITY.md:1
@@ -1,3 +1,20 @@
-## Security and Disclosure Information Policy for the Netavark Project
+# Security and Disclosure Information Policy for the Netavark Project
 
-The Netavark Project follows the [Security and Disclosure Information Policy](https://github.com/containers/common/blob/main/SECURITY.md) for the Containers Projects.
+## Reporting a Vulnerability
+
+If you have identified a security vulnerability in the Netavark project, please **do not** report the
+issue publicly via GitHub issues or other public communication channels. Instead, use GitHub's private
+security vulnerability reporting feature by pressing the "Report a vulnerability" button on the
+repository's [security](https://github.com/containers/netavark/security) page.
+
+If you are unable to use the security Advisory feature you can write a email to pholzing at redhat.com.

Use “an email” instead of “a email,” and lowercase “advisory” within the sentence.

Copilot Copilot commented on code on Dec 02, 2026 18:44 UTC
Code Review
SECURITY.md:1
@@ -1,3 +1,20 @@
-## Security and Disclosure Information Policy for the Netavark Project
+# Security and Disclosure Information Policy for the Netavark Project
 
-The Netavark Project follows the [Security and Disclosure Information Policy](https://github.com/containers/common/blob/main/SECURITY.md) for the Containers Projects.
+## Reporting a Vulnerability
+
+If you have identified a security vulnerability in the Netavark project, please **do not** report the
+issue publicly via GitHub issues or other public communication channels. Instead, use GitHub's private
+security vulnerability reporting feature by pressing the "Report a vulnerability" button on the
+repository's [security](https://github.com/containers/netavark/security) page.
+
+If you are unable to use the security Advisory feature you can write a email to pholzing at redhat.com.
+
+## Security Announcements
+
+All security vulnerabilities will be disclosed via Github Security Advisories on this repository once fixed.

Correct the product name’s capitalization to “GitHub.”

copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Dec 02, 2026 18:44 UTC
Reviewer

<!-- ccr-overview-v2 -->

🟡 Changes recommended

CONTRIBUTING.md and SECURITY.md need spelling, grammar, and capitalization corrections, including “ths” to “this,” “locally-build” to “locally built,” “a email” to “an email,” and the product name to “GitHub.”

<details open>
<summary><strong>5 open issues</strong></summary>

  • <picture><source media="(prefers-color-scheme: dark)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-light.svg"><img src="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-light.png" alt="Low severity" width="62" height="18" align="texttop"></picture> Fix typo and add missing preposition · New

  • <picture><source media="(prefers-color-scheme: dark)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-light.svg"><img src="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-light.png" alt="Low severity" width="62" height="18" align="texttop"></picture> Correct “locally-build” wording · New

  • <picture><source media="(prefers-color-scheme: dark)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-light.svg"><img src="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-light.png" alt="Low severity" width="62" height="18" align="texttop"></picture> Use the correct verb tense for dependencies · New

  • <picture><source media="(prefers-color-scheme: dark)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-light.svg"><img src="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-light.png" alt="Low severity" width="62" height="18" align="texttop"></picture> Fix article usage and capitalization · New

  • <picture><source media="(prefers-color-scheme: dark)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-light.svg"><img src="https://github.githubassets.com/static/images/icons/copilot-code-review/low-v2-light.png" alt="Low severity" width="62" height="18" align="texttop"></picture> Correct GitHub capitalization · New

  • </details>

    <details>
    <summary><strong>What changed in this PR</strong></summary>

    Updates Netavark’s contributor documentation and establishes project-specific security reporting instead of relying on the archived shared policies.

    Changes:

  • Links to Podman Container Tools’ general contribution guidelines.

  • Consolidates build, testing, and Rust dependency guidance in CONTRIBUTING.md.

  • Documents private vulnerability reporting, an email fallback, and disclosure expectations.
  • | File | Description |
    | ---- | ----------- |
    | SECURITY.md | Defines Netavark-specific reporting, disclosure, and support policies. |
    | README.md | Removes requirements and build/test instructions moved to the contributor guide. |
    | CONTRIBUTING.md | Expands setup, testing, Podman integration, and dependency-update guidance. |
    </details>

    <sub>Review effort: Balanced</sub>

    Luap99 Luap99 commented on Dec 02, 2026 18:51 UTC
    Author

    @mheon @fpob PTAL

    Luap99 Luap99 commented on code on Dec 02, 2026 18:51 UTC
    Code Review
    SECURITY.md:1
    @@ -1,3 +1,20 @@
    -## Security and Disclosure Information Policy for the Netavark Project
    +# Security and Disclosure Information Policy for the Netavark Project
     
    -The Netavark Project follows the [Security and Disclosure Information Policy](https://github.com/containers/common/blob/main/SECURITY.md) for the Containers Projects.
    +## Reporting a Vulnerability
    +
    +If you have identified a security vulnerability in the Netavark project, please **do not** report the
    +issue publicly via GitHub issues or other public communication channels. Instead, use GitHub's private
    +security vulnerability reporting feature by pressing the "Report a vulnerability" button on the
    +repository's [security](https://github.com/containers/netavark/security) page.
    +
    +If you are unable to use the security advisory feature, you can write an email to pholzing at redhat.com.

    @mheon Want me to add your email as well, I rather not create a mailing list just for this.

    mheon mheon commented on code on Dec 02, 2026 20:13 UTC
    Code Review
    SECURITY.md:1
    @@ -1,3 +1,20 @@
    -## Security and Disclosure Information Policy for the Netavark Project
    +# Security and Disclosure Information Policy for the Netavark Project
     
    -The Netavark Project follows the [Security and Disclosure Information Policy](https://github.com/containers/common/blob/main/SECURITY.md) for the Containers Projects.
    +## Reporting a Vulnerability
    +
    +If you have identified a security vulnerability in the Netavark project, please **do not** report the
    +issue publicly via GitHub issues or other public communication channels. Instead, use GitHub's private
    +security vulnerability reporting feature by pressing the "Report a vulnerability" button on the
    +repository's [security](https://github.com/containers/netavark/security) page.
    +
    +If you are unable to use the security advisory feature, you can write an email to pholzing at redhat.com.

    Sure

    mheon mheon approved these changes on Dec 02, 2026 20:14 UTC
    Approved Reviewer

    LGTM once my name is added

    Reviewers
    Assignees
    Luap99 Luap99
    Labels
    risk: low confidence: 90.1% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 56.9% (MEDIUM) · Higher = larger blast radius
    56.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 90.1% · Lower = rushed or shallow review
    90.1%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 5.6% · Safe to merge
    5.6%