Skip to content

Confirm missing packages before sending sweep findings - #1902

Merged
rdimitrov merged 1 commit into
mainfrom
codex/confirm-missing-package-signals
Nov 22, 2026
Merged

rdimitrov merged 1 commit into
mainfrom
codex/confirm-missing-package-signals

Conversation

@rdimitrov

Copy link
Copy Markdown
Member

The production sweep reported 649 server versions pointing to 206 missing packages on November 22. Checking every package against its upstream registry identified nine PyPI projects that still had an active install index with no distribution files. The metadata endpoint returned 404 for those projects, which generated 17 incorrect missing-package findings.

Require a second upstream lookup before reporting a missing package. For PyPI, check the normalized install index. For npm, read the full package record and require a dated unpublish event with no remaining versions, or an HTTP response confirming absence. For NuGet and crates.io, follow a missing HEAD result with GET. Inconclusive confirmations feed the existing unknown count and coverage warning.

Regression tests cover empty PyPI projects, missing confirmation data, npm versions without dist-tags, explicit unpublishing, and registries that return success on the second request. The malware and configuration race tests pass. The malware package passes golangci-lint. A read-only replay of the package checks against all 206 upstream names classified 197 as absent or unpublished and nine as present.

@rdimitrov
rdimitrov enabled auto-merge (squash) November 22, 2026 21:40
@rdimitrov
rdimitrov merged commit e056f97 into main Nov 22, 2026
9 checks passed
@rdimitrov
rdimitrov deleted the codex/confirm-missing-package-signals branch November 22, 2026 21:48
rdimitrov added a commit that referenced this pull request Nov 22, 2026
Promote the registry and usage collector to v1.8.15 through the
production imageTag. This release includes #1902, which confirms package
absence before the malware sweep reports it. The on-demand staging run
completed and cleared all 17 previously misclassified entries.

Production promotion waits for both published image manifests and the PR
checks. After deployment, run the production sweep once and compare its
complete missing-package log with the same 17 entries.
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.

1 participant