Repository navigation
Fix for GHSA-rvv3-g6hj-g44x - #5
Merged
Merged
Conversation
timabell
added a commit
to DEFRA/epr-regulator-service
that referenced
this pull request
Nov 12, 2026
AutoMapper 15+ is commercially licensed (Lucky Penny Software), so the web project was pinned to 14.0.0, the last MIT release. MagicMapper is an MIT fork of 14.0 that keeps the AutoMapper assembly and namespaces, so only the package reference changes. With a different package id, an "update all" can no longer pull in the non-free AutoMapper by accident, so the pin and its warning comment can go. 14.0.1 is built from the fork's fix for the uncontrolled recursion advisory that AutoMapper is only fixing in its paid versions. - https://www.nuget.org/packages/AutoMapper/15.0.0 (Lucky Penny Software licence) - https://www.nuget.org/packages/MagicMapper/14.0.1 (MIT) - https://github.com/NET-Sorcery/MagicMapper - GHSA-rvv3-g6hj-g44x - NET-Sorcery/MagicMapper#5 See https://0x5.uk/2025/05/08/open-source-dotnet-library-choices/ for the background on these licence changes and the alternatives. https://eaflood.atlassian.net/browse/AMCR-649 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
timabell
added a commit
to DEFRA/epr-regulator-service
that referenced
this pull request
Nov 13, 2026
AutoMapper 15+ is commercially licensed (Lucky Penny Software), so the web project was pinned to 14.0.0, the last MIT release. MagicMapper is an MIT fork of 14.0 that keeps the AutoMapper assembly and namespaces, so only the package reference changes. With a different package id, an "update all" can no longer pull in the non-free AutoMapper by accident, so the pin and its warning comment can go. 14.0.1 is built from the fork's fix for the uncontrolled recursion advisory that AutoMapper is only fixing in its paid versions. - https://www.nuget.org/packages/AutoMapper/15.0.0 (Lucky Penny Software licence) - https://www.nuget.org/packages/MagicMapper/14.0.1 (MIT) - https://github.com/NET-Sorcery/MagicMapper - GHSA-rvv3-g6hj-g44x - NET-Sorcery/MagicMapper#5 See https://0x5.uk/2025/05/08/open-source-dotnet-library-choices/ for the background on these licence changes and the alternatives. https://eaflood.atlassian.net/browse/AMCR-649 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4