Your Open-Weight Model Is Executable Code: Static & Docker-Isolated Auditing with OpenWeight Forensics
By Francisco Grandón Vergara We treat open-weight models like CSV files with billions of floats. You pull a repository from Hugging Face, point transformers , Ollama, or LM Studio at a directory, and assume the worst thing a model can do is hallucinate a capital city. That mental model is broken. Modern open-weight distributions are compound executable software packages : Packaged Python modules:…
OpenWeight Forensics (OWF) is a new tool that treats open-weight models as executable software packages. By scanning local directories and repositories hosted on platforms like Hugging Face, Ollama, and LM Studio, OWF helps identify potential security threats in these models. The tool is split into two CLI tools - owf-static, a zero-docker static auditor for local directories, and owf-dynamic, a hybrid auditor that uses a hardened Docker container for isolated Pickle/Jinja2/tool-calling probes.
OWF checks for five technical dimensions: serialization, remote code execution, Jinja2 template injection, intrinsic weight drift, and ghost tool hijacking. The research repository contains audited data on 20 high-volume Hugging Face production repositories, totaling 58.2 million downloads. The tool is released under the Apache 2.0 license, providing a public suite that can be used to audit models before deployment.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to