Skip to content

nix: add a CPE for hey-cli - #605

Open
Daholli wants to merge 1 commit into
basecamp:mainfrom
Daholli:add-cpe
Open

Daholli wants to merge 1 commit into
basecamp:mainfrom
Daholli:add-cpe

Conversation

@Daholli

@Daholli Daholli commented Oct 27, 2026 •

Copy link
Copy Markdown

adding this helps avoid confusion when scanning for CVEs affecting the system

currently sbomnix reports
CVE-2018-13730 is for cpe:2.3:a:hey_project:hey:-:::::::* that has nothing to do with hey-cli.

Adding a correct cpe would remove this false positive


Summary by cubic

Fixes false-positive CVE reports for hey-cli by adding the correct CPE identifier to the Nix package metadata.

Without it, vulnerability scanners match hey-cli against the unrelated CVE-2018-13730, which targets hey_project:hey. The new CPE identifies the package as basecamp:hey-cli, so scans no longer flag this unrelated advisory.

Written for commit 39d94a8. Summary will update on new commits.

View guided diff

adding this helps avoid confusion when scanning for CVEs affecting the system

CVE-2018-13730 is for cpe:2.3:a:hey_project:hey:-:*:*:*:*:*:*:*
that has nothing to do with hey-cli.
Copilot AI balanced review requested due to automatic review settings October 27, 2026 18:03
@Daholli
Daholli requested a review from a team as a code owner October 27, 2026 18:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approved

The narrowly scoped metadata change matches the stated purpose, with no blocking issues identified.

No open issues 🎉

What changed in this PR

Adds CPE metadata to the Nix package to distinguish hey-cli from the unrelated hey_project:hey product in vulnerability scans.

Changes:

  • Sets the CPE vendor to basecamp and product to hey-cli, using the package’s version.

[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

File Description
nix/​package.nix Adds vendor, product, and version metadata for CPE identification.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants