Your PyTorch Model File Can Execute Arbitrary Code — Here's How I Built a Scanner to Detect It
📰 Dev.to · Pooja Kiran
Every time you run torch.load("model.pt"), you're executing arbitrary Python code. Not "could...
Every time you run torch.load("model.pt"), you're executing arbitrary Python code. Not "could...