Skip to content

Restrict movement of packages to trusted sources only#327

Merged
kaste merged 4 commits intomainfrom
pck-movements
Jan 29, 2026
Merged

Restrict movement of packages to trusted sources only#327
kaste merged 4 commits intomainfrom
pck-movements

Conversation

@kaste
Copy link
Copy Markdown
Collaborator

@kaste kaste commented Jan 29, 2026

Closes #65

Introduces the notion of trusted sources (for packages that is; the later implemented libraries have this baked in). Only movements to trusted sources are allowed.

Additionally, fatally failing packages (normally deleted, aka 404) are tombstoned after 30 days. You can't revive them without a registry change or admin access to this very repo.

This last change actually makes the security bulletin Will once had impossible. If we remember, that one was a name takeover, possible because GitHub freed the user-/org-names after n days. But that n is > 30, so before we even get into that situation we already tombstone automatically.

Maybe I delete the other code later.

@kaste kaste merged commit 45e14e7 into main Jan 29, 2026
3 checks passed
@kaste kaste deleted the pck-movements branch January 29, 2026 10:48
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.

Allow resurrecting tombstoned package names?

1 participant