Repository for the scripts presented in the blogpost: https://mastersplinter.work/research/tensorflow-rce/
exploit.py: used to create a simple malicious model with a reverse shellinject.py: injects the malicious layer in a legitimate modelmodel.py: simulate the usage ofload_modeon a malicious modeldetector.py: detects a maliciousLambdain a.h5model
The contents of this repository are exclusively for research and entertainment purposes.