Skip to content

Conversation

alan-agius4
Copy link
Contributor

This change configures pnpm's minimumReleaseAge setting to 1 day (1440 minutes). This is a security measure to mitigate dependency chain attacks, where malicious actors publish a new version of a dependency with malicious code and then trick users into updating to it before it can be discovered and reported.

By delaying the adoption of new releases, we reduce the window of opportunity for such attacks. The list of excluded packages contains trusted and frequently updated dependencies from the Angular team, which are considered safe to use without this delay.

This change configures pnpm's `minimumReleaseAge` setting to 1 day (1440 minutes). This is a security measure to mitigate dependency chain attacks, where malicious actors publish a new version of a dependency with malicious code and then trick users into updating to it before it can be discovered and reported.

By delaying the adoption of new releases, we reduce the window of opportunity for such attacks. The list of excluded packages contains trusted and frequently updated dependencies from the Angular team, which are considered safe to use without this delay.
@alan-agius4 alan-agius4 requested a review from a team as a code owner September 17, 2025 12:44
@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 17, 2025
@alan-agius4 alan-agius4 requested review from adolgachev and andrewseguin and removed request for a team, adolgachev and andrewseguin September 17, 2025 12:44
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Sep 17, 2025
@devversion devversion added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 17, 2025
@devversion devversion merged commit d6b459d into angular:main Sep 17, 2025
32 checks passed
@devversion
Copy link
Member

This PR was merged into the repository. The changes were merged into the following branches:

devversion pushed a commit that referenced this pull request Sep 17, 2025
…31880)

This change configures pnpm's `minimumReleaseAge` setting to 1 day (1440 minutes). This is a security measure to mitigate dependency chain attacks, where malicious actors publish a new version of a dependency with malicious code and then trick users into updating to it before it can be discovered and reported.

By delaying the adoption of new releases, we reduce the window of opportunity for such attacks. The list of excluded packages contains trusted and frequently updated dependencies from the Angular team, which are considered safe to use without this delay.

(cherry picked from commit d6b459d)
@alan-agius4 alan-agius4 deleted the min-age branch September 17, 2025 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants