wsimson commited on
Commit
b830e8d
·
verified ·
1 Parent(s): 3b3184f

Losslessly recompress five HDF5 files flagged by ClamAV

Browse files

Five HDF5 acquisitions are marked unsafe by ClamAV signature `Win.Exploit.CVE_2016_4332_1-6028013-0`. Investigation located the matching sequences inside Blosc-compressed ultrasound sample chunks, supporting false positives rather than malformed HDF5 object-header messages.

This PR losslessly recompresses only `tracks/track_0/data/raw_data` in those five files, switching Blosc from bitshuffle to byte shuffle. It retains Zstandard, compression level 7, original chunk dimensions, data types, dataset values, attributes, and paths. Other dataset filters are unchanged. The September 26 Vanderbilt subject-ID correction is preserved.

Validation:
- All dataset values compared against the current source files; numeric values checked byte-for-byte after decompression.
- All attributes, HDF5 data types, shapes, maxshapes, chunk sizes, fill values, and link kinds/destinations compared.
- Source SHA-256 hashes verified against the Hub, then rechecked before this commit.
- All five replacement files scan clean locally with ClamAV 1.5.4 and daily database 28139 (main 63, bytecode 339); no reported scan errors or exceeded-limit alerts.
- Scans use `--allmatch --max-filesize=1900M --max-scansize=2000M --max-scantime=0 --alert-exceeds-max=yes`.

This is a storage-format workaround for the apparent signature collision, not a claim that recompression removes malware. Hugging Face scan results must be checked on the PR before merging. No decompressed ultrasound values were changed. File hashes and compressed sizes change, and read performance may differ.

| File | Original bytes | Replacement bytes | Datasets verified | Attributes verified |
|---|---:|---:|---:|---:|
| session_01_f0374.hdf5 | 130455835 | 135367900 | 77 | 211 |
| 729304_2_Focused_Uncoded_TX.hdf5 | 1061224448 | 994510616 | 24 | 53 |
| 126987_3_Focused_Uncoded_TX.hdf5 | 1171259392 | 1120785688 | 24 | 53 |
| 559277_2_Focused_Uncoded_TX.hdf5 | 1043398656 | 990662811 | 24 | 53 |
| 829312_1_Focused_Uncoded_TX.hdf5 | 1111031808 | 1053223871 | 24 | 53 |

<details><summary>Replacement SHA-256 hashes</summary>

- `ubc/module_C/acquisitions/session_01/session_01_f0374.hdf5`: `181a4cf99946b48f3c0438a13b1ef3a5a277b8eb62480927da155db34a26fe0b`
- `vanderbilt/data/Fundamental/729304_2_Focused_Uncoded_TX.hdf5`: `59272767eea8cc59d9baf72b1a66204452caca2d79ee80b32a90b1e753da7b4c`
- `vanderbilt/data/Fundamental/126987_3_Focused_Uncoded_TX.hdf5`: `bc771e0552b832080e3c53760dc48b5c23fc8070a469b41c427296cd74a0020b`
- `vanderbilt/data/Fundamental/559277_2_Focused_Uncoded_TX.hdf5`: `1d70d00da19d9d9742c8eabcdd5d8eaa41514a4c565572dad7817f0eaa6d4e6e`
- `vanderbilt/data/Fundamental/829312_1_Focused_Uncoded_TX.hdf5`: `7a4b77fbf5108f8c03f3c865817b92b4e2cae61cbcaf9b234a07fd0898240c7f`

</details>

ubc/module_C/acquisitions/session_01/session_01_f0374.hdf5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a8c0c378a33b42e683d2e1594dcedeeee2090890a61088e620a705d96f4c59af
3
- size 130455835
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:181a4cf99946b48f3c0438a13b1ef3a5a277b8eb62480927da155db34a26fe0b
3
+ size 135367900
vanderbilt/data/Fundamental/126987_3_Focused_Uncoded_TX.hdf5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4705fc748b4a2b4654c38c06aa062fd8ba083a3ec91a31569b595ac0a32c7f9b
3
- size 1171259392
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc771e0552b832080e3c53760dc48b5c23fc8070a469b41c427296cd74a0020b
3
+ size 1120785688
vanderbilt/data/Fundamental/559277_2_Focused_Uncoded_TX.hdf5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7ca38fca377f29a655b99f41459c6f89befe93b2aad21b6f4a9186acf761da3b
3
- size 1043398656
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d70d00da19d9d9742c8eabcdd5d8eaa41514a4c565572dad7817f0eaa6d4e6e
3
+ size 990662811
vanderbilt/data/Fundamental/729304_2_Focused_Uncoded_TX.hdf5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3391cbc8f0f52342a0907240ed16d28b2651eacf37727ad2fc74c532781345cd
3
- size 1061224448
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59272767eea8cc59d9baf72b1a66204452caca2d79ee80b32a90b1e753da7b4c
3
+ size 994510616
vanderbilt/data/Fundamental/829312_1_Focused_Uncoded_TX.hdf5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:212450a9fe620a659f167dbfe543c8d7a26ec5c8c9139238ffae50e341540db2
3
- size 1111031808
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a4b77fbf5108f8c03f3c865817b92b4e2cae61cbcaf9b234a07fd0898240c7f
3
+ size 1053223871