Skip to content

build: enable minimumReleaseAge to mitigate dependency chain attacks#31233

Merged
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:min-age
Sep 17, 2025
Merged

build: enable minimumReleaseAge to mitigate dependency chain attacks#31233
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:min-age

Conversation

@alan-agius4
Copy link
Copy Markdown
Collaborator

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.

@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Sep 17, 2025
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Sep 17, 2025
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 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
@alan-agius4 alan-agius4 merged commit d7998f2 into angular:main Sep 17, 2025
32 checks passed
@alan-agius4 alan-agius4 deleted the min-age branch September 17, 2025 13:10
@alan-agius4
Copy link
Copy Markdown
Collaborator Author

The changes were merged into the following branches: main, 20.3.x

@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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