Skip to content

Fix code scanning alert - Arbitrary file access during archive extraction ("Zip Slip") #213

Fix code scanning alert - Arbitrary file access during archive extraction ("Zip Slip")

Fix code scanning alert - Arbitrary file access during archive extraction ("Zip Slip") #213

Triggered via pull request September 4, 2024 15:55
Status Success
Total duration 1m 19s
Artifacts

build.yml

on: pull_request
๐Ÿ› ๏ธ Build and Test C#
1m 5s
๐Ÿ› ๏ธ Build and Test C#
๐Ÿ› ๏ธ Build and Test PowerShell
59s
๐Ÿ› ๏ธ Build and Test PowerShell
๐Ÿ’ค Wake api
8s
๐Ÿ’ค Wake api
๐Ÿ“ฆ Publish WinTuner to nuget
0s
๐Ÿ“ฆ Publish WinTuner to nuget
๐Ÿ“ฆ Publish WinTuner to PowerShell Gallery
0s
๐Ÿ“ฆ Publish WinTuner to PowerShell Gallery
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
๐Ÿ› ๏ธ Build and Test PowerShell: src/WingetIntune/Implementations/DefaultFileManager.cs#L152
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test PowerShell: src/WingetIntune/Internal/Msal/InteractiveAuthenticationProvider.cs#L95
The variable 'ex' is declared but never used [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test PowerShell: src/WingetIntune/Intune/IntuneManager.cs#L713
'Use the constructor that takes an isCaeEnabled parameter instead.' [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test PowerShell: src/WingetIntune/Implementations/DefaultFileManager.cs#L152
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test PowerShell: src/WingetIntune/Internal/Msal/InteractiveAuthenticationProvider.cs#L95
The variable 'ex' is declared but never used [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test PowerShell: src/WingetIntune/Intune/IntuneManager.cs#L713
'Use the constructor that takes an isCaeEnabled parameter instead.' [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test C#: src/Winget.CommunityRepository.Ef/WingetRepositoryWithEf.cs#L71
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/Winget.CommunityRepository.Ef/Winget.CommunityRepository.Ef.csproj::TargetFramework=net8.0]
๐Ÿ› ๏ธ Build and Test C#: src/WingetIntune/Implementations/DefaultFileManager.cs#L152
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net8.0]
๐Ÿ› ๏ธ Build and Test C#: src/WingetIntune/Internal/Msal/InteractiveAuthenticationProvider.cs#L95
The variable 'ex' is declared but never used [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net8.0]
๐Ÿ› ๏ธ Build and Test C#: src/WingetIntune/Intune/IntuneManager.cs#L713
'Use the constructor that takes an isCaeEnabled parameter instead.' [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net8.0]
๐Ÿ› ๏ธ Build and Test C#: src/Winget.CommunityRepository.Ef/WingetRepositoryWithEf.cs#L71
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/Winget.CommunityRepository.Ef/Winget.CommunityRepository.Ef.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test C#: src/WingetIntune/Implementations/DefaultFileManager.cs#L152
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test C#: src/WingetIntune/Internal/Msal/InteractiveAuthenticationProvider.cs#L95
The variable 'ex' is declared but never used [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test C#: src/WingetIntune/Intune/IntuneManager.cs#L713
'Use the constructor that takes an isCaeEnabled parameter instead.' [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test C#: src/Winget.CommunityRepository.Ef/WingetRepositoryWithEf.cs#L71
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/Winget.CommunityRepository.Ef/Winget.CommunityRepository.Ef.csproj::TargetFramework=net8.0]
๐Ÿ› ๏ธ Build and Test C#: src/WingetIntune/Implementations/DefaultFileManager.cs#L152
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net8.0]