Pre-trained models are commonly shared as serialized binaries, but that convenience carries risk. According to a new arXiv paper, reusing these models can expose software supply chains to deserialization attacks, where malicious code hidden in the Pickle format executes during loading.

The paper introduces DITTO, a context-aware scanner built for security audits of Pickle-based models. While safer serialization formats exist, the authors note that the unsafe Pickle format remains widespread, making targeted scanning tools necessary.

DITTO's context-aware approach is meant to help auditors identify suspicious patterns that generic scanners might miss. The paper does not provide full experimental results in the abstract, so the tool's effectiveness is not yet detailed, but the motivation is clear: closing a supply-chain gap in the machine learning ecosystem.