Skip to content

Commit

Permalink
Internal
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 611493596
Change-Id: I9a71ea02dbb47a33d145fae654b908c2d9446052
  • Loading branch information
Tsunami Team authored and copybara-github committed Feb 29, 2024
1 parent 5ec8083 commit f290a6b
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions google/detectors/exposedui/pytorch_serve/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
# Example VulnDetector utilizing the payload generation framework
# Exposed Pytorch Serve Notebook Detector

This is an example implementation of a `VulnDetector` plugin for Tsunami that
uses Tsunami's optional payload generation framework. This framework is designed
to automatically select the best payload for a detector, taking out the
guesswork when writing a new detector and reducing false positives. If
configured, the framework will automatically utilize the
[Tsunami Callback Server](https://github.com/google/tsunami-security-scanner-callback-server),
which helps further validate findings.

Detectors targeting remote code executions (RCE) and server-side request forgery
(SSRF) vulnerabilities are ideal candidates for using the payload framework.
This detector checks whether a Pytorch Serve API is exposed.
Pytorch Serve API allows a request to upload arbitrary models.
Having it exposed puts the hosting VM at risk of RCE.

## Build jar file for this plugin

Expand Down

0 comments on commit f290a6b

Please sign in to comment.