Open-Source AI Agent Security: PyTorch 2.0 Loads Code
Open-source AI agent security starts with PyTorch 2.0: an untrusted model can execute code before inference begins. PyTorch `.pt` and `.pth` files use pickle by default, and Python pickle executes arbitrary code during deserialization. That means the dangerous moment is not necessarily when an agent answers a user or