Software Securityhome
Fix a findingSearch
Glossary

Safetensors

A file format for model weights that stores only tensors and a JSON header, so loading a file cannot run code, unlike pickle-based PyTorch checkpoints, which can execute arbitrary code when loaded (CWE-502).

Fix it in your stack
Insecure deserialization fix cards (7 stacks) · CWE-502 page

Covered in

Practice: SQL injection lab: Separate SQL structure from data with sqlite3 · OS command injection lab: Run git without a shell · SSTI lab: Render a welcome banner without template injection · XXE lab: Parse an uploaded invoice without resolving external entities

Find your next answer

Type to search. Search runs in your browser.

Searches run in your browser, but the host can infer them from the index files they load. The address shows your search so you can bookmark or share it.