Instructions to use WolfpackArmy/tf-savedmodel-rce-poc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use WolfpackArmy/tf-savedmodel-rce-poc with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy) # See https://github.com/keras-team/tf-keras for more details. from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("WolfpackArmy/tf-savedmodel-rce-poc") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TF SavedModel RCE PoC
|
| 2 |
+
|
| 3 |
+
## Vulnerability
|
| 4 |
+
RCE via PyFunc node in TF SavedModel.
|
| 5 |
+
|
| 6 |
+
## Files
|
| 7 |
+
- poc_pyfunc/ - SavedModel with PyFunc node
|
| 8 |
+
- benign/ - Clean SavedModel
|
benign/saved_model.pb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d51f1bb85cc3f14dea65ab7b0630721e71aecfb765ec04d0cb56acbf418dd5a
|
| 3 |
+
size 22
|
benign/variables/variables.data-00000-of-00001
ADDED
|
File without changes
|
benign/variables/variables.index
ADDED
|
Binary file (16 Bytes). View file
|
|
|
poc_pyfunc/saved_model.pb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:99e3d2918c9e5a59b84a48c19c399f19fb6783fe88f850921d49a558b29fc3b3
|
| 3 |
+
size 77
|
poc_pyfunc/variables/variables.data-00000-of-00001
ADDED
|
File without changes
|
poc_pyfunc/variables/variables.index
ADDED
|
Binary file (16 Bytes). View file
|
|
|