-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(lint): 🚨 markdownlint the things
- Loading branch information
1 parent
0700142
commit 488d755
Showing
2 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
# modelscan Severity Levels | ||
|
||
modelscan classifies potentially malicious code injection attacks in the following four severity levels. | ||
modelscan classifies potentially malicious code injection attacks in the following four severity levels. | ||
<br> </br> | ||
|
||
- **CRITICAL:** A model file that consists of unsafe operators/globals that can execute code is classified at critical severity. These operators are: | ||
- exec, eval, runpy, sys, open, breakpoint, os, subprocess, socket, nt, posix | ||
- exec, eval, runpy, sys, open, breakpoint, os, subprocess, socket, nt, posix | ||
<br> </br> | ||
- **HIGH:** A model file that consists of unsafe operators/globals that can not execute code but can still be exploited is classified at high severity. These operators are: | ||
- webbrowser, httplib, request.api, Tensorflow ReadFile, Tensorflow WriteFile | ||
- webbrowser, httplib, request.api, Tensorflow ReadFile, Tensorflow WriteFile | ||
<br> </br> | ||
- **MEDIUM:** A model file that consists of operators/globals that are neither supported by the parent ML library nor are known to modelscan are classified at medium severity. | ||
- Keras Lambda layer can also be used for arbitrary code execution. In general, it is not a best practise to add a Lambda layer to a ML model that can get exploited for code injection attacks. | ||
- Work in Progress: Custom operators will be classified at medium severity. | ||
- **MEDIUM:** A model file that consists of operators/globals that are neither supported by the parent ML library nor are known to modelscan are classified at medium severity. | ||
- Keras Lambda layer can also be used for arbitrary code execution. In general, it is not a best practise to add a Lambda layer to a ML model that can get exploited for code injection attacks. | ||
- Work in Progress: Custom operators will be classified at medium severity. | ||
<br> </br> | ||
- **LOW:** At the moment no operators/globals are classified at low severity level. | ||
- **LOW:** At the moment no operators/globals are classified at low severity level. |