BIackSwordsman commited on
Commit
ad954a7
·
verified ·
1 Parent(s): 967f937

Warn to load only trusted model files

Browse files
Files changed (1) hide show
  1. README.md +8 -2
README.md CHANGED
@@ -43,8 +43,14 @@ BRASS_REPLAY_ROOT="$recordings" training/.venv/bin/python -m brass_rl arena \
43
  ```
44
 
45
  Each folder contains `manifest.json`, `metadata.json` and `policy.pt`. The loader rejects a folder with
46
- any other file, a checksum mismatch or a different engine identity. Weights are loaded with
47
- `torch.load(..., weights_only=True)`.
 
 
 
 
 
 
48
 
49
  ## Checkpoints
50
 
 
43
  ```
44
 
45
  Each folder contains `manifest.json`, `metadata.json` and `policy.pt`. The loader rejects a folder with
46
+ any other file, a checksum mismatch or a different engine identity.
47
+
48
+ **Load only files you trust.** The project pins PyTorch 2.2.2, where a crafted weights file can run code on
49
+ your computer even with `torch.load(..., weights_only=True)`, which the loader uses
50
+ ([CVE-2025-32434](https://github.com/advisories/GHSA-53q9-r3pm-6pq6),
51
+ [CVE-2026-24747](https://github.com/advisories/GHSA-63cw-57p8-fm3p)). Download checkpoints from this
52
+ repository or the project's GitHub releases. The checksums in a folder detect damage; they do not show who
53
+ made the files.
54
 
55
  ## Checkpoints
56