You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add cumulative and fallback-path tar bomb tests for decompress_to_cache
Added test cases to `tests/test_model_management.py` to cover:
1. Cumulative decompression bomb detection (multiple small files exceeding 20GB).
2. Decompression bomb detection in the fallback path (when `tarfile.data_filter` is unavailable).
These tests ensure full coverage of the security logic in `ModelManagement.decompress_to_cache`.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
0 commit comments