Skip to content

Commit

Permalink
Merge pull request #80 from jfrog/MAR-9581
Browse files Browse the repository at this point in the history
MAR-9581 - Fix image load from markdown
  • Loading branch information
danielleafrog authored Mar 3, 2025
2 parents 7c25bcd + d1f1619 commit 59b0381
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions model-threats/PYTORCH-MALCODE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ A PyTorch model contains serialized [Pickle](https://docs.python.org/3/library/p

The PyTorch model format internally uses Python's Pickle data serialization format.

![](img/pytorch_format.png)
![](/img/pytorch_format.png)

The Pickle format is well-known to be a **dangerous** serialization format, since in addition to serialized data, it may contain serialized code which will be automatically executed when the Pickled/Serialized file is loaded.

![](img/pickle_deserialization.png)
![](/img/pickle_deserialization.png)



Expand Down
5 changes: 4 additions & 1 deletion src/templates/ModelThreatsPost.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<p class="modal-note">For viewing JFrog functionality in action with minimal upfront investment.</p>
</div>
<div>
<g-link class="modal-link" to="https://demo.jfrog.io/ui/catalog/" target="_blank">Platform Tour
<g-link class="modal-link" to="https://jfrog.com/start-free/" target="_blank">Platform Tour
</g-link>
</div>
</div>
Expand Down Expand Up @@ -156,6 +156,9 @@ export default {
},
mounted() {
this.loadMarketoForm();
if (this.$route.query.bookademo) {
this.$refs.popup.open();
}
},
};
Expand Down
Binary file added static/img/pickle_deserialization.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/pytorch_format.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 59b0381

Please sign in to comment.