Skip to content

Commit 4a78d3e

Browse files
committed
fix: remove unused checkpoint conversion script with unsafe torch.load (CWE-502)
The nnscaler checkpoint conversion script used torch.load() without weights_only=True, allowing arbitrary code execution via malicious .pt files on PyTorch < 2.6. The script is not referenced anywhere in the codebase and is not needed by end users, so removing it entirely eliminates the vulnerability. Reported-by: Offgrid Security (https://www.offgridsec.com)
1 parent 17f57f8 commit 4a78d3e

1 file changed

Lines changed: 0 additions & 166 deletions

File tree

‎vibevoice/scripts/convert_nnscaler_checkpoint_to_transformers.py‎

Lines changed: 0 additions & 166 deletions
This file was deleted.

0 commit comments

Comments
 (0)