]> khamidou — GitHub mirrors - safetensors.git/commit
Creating a few range of attacks against classic formats. (#25)
authorNicolas Patry <patry.nicolas@protonmail.com>
Thu, 20 Oct 2022 15:18:28 +0000 (17:18 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Oct 2022 15:18:28 +0000 (17:18 +0200)
commiteadb98e5bd084dbb9f12366ea28b020b7513fddb
tree3eae3b6cb8d21094e79d9a8f53e09ee73fac8663
parent36505699ee54242a0cd5dc99dbf0cc53b649eaaf
Creating a few range of attacks against classic formats. (#25)

- pickle (ACE affecting PT)
- zip (Denial of Service affecting numpy + PT)
- marshal (affecting Keras, not directly in the h5 file format)

- Created 8 proposals to abuse the current format.
  Found 2 kind of flaws that could also cause some form of denial of
  service). PRs coming up.
13 files changed:
.gitignore
attacks/README.md [new file with mode: 0644]
attacks/numpy_dos_create.py [new file with mode: 0644]
attacks/numpy_dos_get_pwned.py [new file with mode: 0644]
attacks/safetensors_abuse_attempt_1.py [new file with mode: 0644]
attacks/safetensors_abuse_attempt_2.py [new file with mode: 0644]
attacks/safetensors_abuse_attempt_3.py [new file with mode: 0644]
attacks/tf_ace_create.py [new file with mode: 0644]
attacks/tf_ace_get_pwned.py [new file with mode: 0644]
attacks/torch_ace_create.py [new file with mode: 0644]
attacks/torch_ace_get_pwned.py [new file with mode: 0644]
attacks/torch_dos_create.py [new file with mode: 0644]
attacks/torch_dos_get_pwned.py [new file with mode: 0644]