Age-gate proxy quality gate for npm and PyPI #1402
RajatGarga
started this conversation in
Ideas
Replies: 2 comments
-
|
I created MRs in the backend and web repositories for this feature Also tested the entire flow locally for npm as well as PyPI
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hey @brandonrc, just wanted to check if you've had a chance to look at this. Happy to make any changes needed on the PRs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Uh oh!
There was an error while loading. Please reload this page.
-
The goal is to give teams a buffer period before newly published packages are automatically available, reducing exposure to supply-chain attacks that exploit the window between a package's first publish and widespread adoption scrutiny.
How it works
When age-gate is enabled on a remote (proxy) repository:
min_age_daysare stripped from the response. The client sees only versions old enough to have passed the threshold, or the most recent approved version.review_idso the client knows a review is pending.Supported formats
Other formats pass through unchanged (the gate is a no-op when disabled or for unsupported formats). This is what we need right now but more can be added as and when required.
Configuration
Age-gate is off by default. It is enabled per repository:
Beta Was this translation helpful? Give feedback.
All reactions