Description
As part of migrating from Microsoft.Azure.ActiveDirectory.GraphClient
to Microsoft.Graph
due to the deprecation of the old package and endpoints, my project ended up depending on Microsoft.Kiota.Abstractions
which in turn depends on this 'third-party' package.
I understand that the author and owner of this package now works with Microsoft and on the Kiota project, and that this package has good coverage and tests, however it does represent a potential issue in software bom and supply chain management. This is a key concern of many at the moment, and, especially as this is now used (indirectly) for access to office 365 and azure, I feel it important to bring this up.
The licence, and the fact that it appears to be 'third-party', do not unduly concern me, however, there are 2 issues I see directly at the moment. Neither the built DLL, nor the NuGet package have digital signatures applied, and therefore it is an easy target for supply chain interception. Also NET 8 SDK has started turning on more validation and verification of packages, and I only see this increasing.
While I understand that it would not be good to maintain 2 copies of the code, by embedding copies of the code directly into the Microsoft.Kiota.Abstractions
package, perhaps some alternative could be investigated. Either trying to get the dotnet team to onboard a version (similar to how Json.Net
got 'replaced' for internal projects with System.Text.Json
) or perhaps by moving this project to the DotNet Foundation where you could take advantage of their build infrastructure to get certificates etc.
See the original issue and discussion here - microsoft/kiota-dotnet#98