---
title: "Discussion on \"How a Machine-Learning Model Runs Code on Your Machine (and How I Scan for It)\" | Hashnode"
description: "Discussion on \"How a Machine-Learning Model Runs Code on Your Machine (and How I Scan for It)\". A byte-level tour of pickle deserialization attacks, the 2025 scanner bypasses, and building a scanner that survives them."
url: "https://hashnode.com/posts/ml-model-pickle-rce-scanner/6a700bdbedad61fd24eb9832"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How a Machine-Learning Model Runs Code on Your Machine (and How I Scan for It)](https://mohitkumar1.hashnode.dev/ml-model-pickle-rce-scanner?utm_source=hashnode&utm_medium=feed)

A byte-level tour of pickle deserialization attacks, the 2025 scanner bypasses, and building a scanner that survives them.

Aug 3 · 9 min read · mohitkumar1.hashnode.dev  
Read the article

-   [#security](https://hashnode.com/tag/security)
-   [#machine-learning](https://hashnode.com/tag/machine-learning)
-   [#appsec](https://hashnode.com/tag/appsec)
-   [#cybersecurity](https://hashnode.com/tag/cybersecurity)
-   [#python](https://hashnode.com/tag/python)
-   [#ml](https://hashnode.com/tag/ml)

## Written by

[Mohit Kumar](https://hashnode.com/@mkd)

@mkd · Bangalore, India

  
[View profile](https://hashnode.com/@mkd)

Merging Ai and Security

Cybersecurity Engineer building secure AI systems, agentic applications, and developer tools. Passionate about AI security, cloud, and turning research into production-ready software. Sharing projects, technical deep dives, and lessons learned along the way.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
