public sealed record SafetyLimits
{
    public int MaxSectionsCount { get; init; } = 128;
    public int MaxImportsCount { get; init; } = 8192;
    public int MaxExportsCount { get; init; } = 8192;
    public int MaxResourceTreeRecursionDepth { get; init; } = 16;
    public int MaxReadBufferSize { get; init; } = 16 * 1024 * 1024;
    public TimeSpan ProcessingTimeout { get; init; } = TimeSpan.FromSeconds(20);
}