Files
HashTool/tests/CheckHash.Tests/CheckHash.Tests.csproj
T
google-labs-jules[bot] d6c6a862b8 🛡️ Sentinel: [MEDIUM] Fix DoS vulnerability in hash file reading
- Added 1MB size limit to `ReadHashFromFile` in `CheckHashViewModel`.
- Added warning log if file is too large.
- Added `tests/CheckHash.Tests` project with regression test.
- Excluded `tests/**` from `CheckHash.csproj` to prevent duplicate compilation.
- Added Sentinel journal entry in `.jules/sentinel.md`.
2026-01-25 13:27:10 +00:00

26 lines
773 B
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
</ItemGroup>
<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\CheckHash.csproj" />
</ItemGroup>
</Project>