MCPcopy Index your code
hub / github.com/Splinter0/tensorflow-rce

github.com/Splinter0/tensorflow-rce @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
3 symbols 12 edges 4 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Tersorflow Remote Code Execution with Malicious Model

Repository for the scripts presented in the blogpost: https://mastersplinter.work/research/tensorflow-rce/

Files

  • exploit.py: used to create a simple malicious model with a reverse shell
  • inject.py: injects the malicious layer in a legitimate model
  • model.py: simulate the usage of load_mode on a malicious model
  • detector.py: detects a malicious Lambda in a .h5 model

Disclaimer

The contents of this repository are exclusively for research and entertainment purposes.

Core symbols most depended-on inside this repo

detect
called by 1
dector.py
exploit
called by 0
exploit.py
exploit
called by 0
inject.py

Shape

Function 3

Languages

Python100%

Modules by API surface

inject.py1 symbols
exploit.py1 symbols
dector.py1 symbols

For agents

$ claude mcp add tensorflow-rce \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact