Skip to content
Merged
Prev Previous commit
Next Next commit
Python: Make new SSRF sink modules private
  • Loading branch information
RasmusWL committed Mar 4, 2022
commit 56901ea84113353c84ba89bda34014cddc46e67c
2 changes: 1 addition & 1 deletion python/ql/lib/semmle/python/frameworks/Httpx.qll
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ private import semmle.python.ApiGraphs
* Provides models for the `httpx` PyPI package.
* see https://www.python-httpx.org/
*/
module HttpxModel {
private module HttpxModel {
private class RequestCall extends HTTP::Client::Request::Range, DataFlow::CallCfgNode {
string methodName;

Expand Down
2 changes: 1 addition & 1 deletion python/ql/lib/semmle/python/frameworks/Libtaxii.qll
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ private import semmle.python.ApiGraphs
* Provides models for the `libtaxii` PyPI package.
* see https://github.com/TAXIIProject/libtaxii
*/
module Libtaxii {
private module Libtaxii {
/**
* A call to `libtaxii.common.parse`.
* When the `allow_url` parameter value is set to `True`, there is an SSRF vulnerability..
Expand Down
2 changes: 1 addition & 1 deletion python/ql/lib/semmle/python/frameworks/Pycurl.qll
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ private import semmle.python.ApiGraphs
* Provides models for the `pycurl` PyPI package.
* see https://pycurl.io/docs/latest/
*/
module Pycurl {
private module Pycurl {
/**
* Provides models for the `pycurl.Curl` class
*
Expand Down
2 changes: 1 addition & 1 deletion python/ql/lib/semmle/python/frameworks/Urllib.qll
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ private import semmle.python.ApiGraphs
* Provides models for the `Urllib` PyPI package.
* see https://docs.python.org/3.9/library/urllib.html
*/
module Urllib {
private module Urllib {
/**
* Provides models for the `urllib.request` extension library
*
Expand Down
2 changes: 1 addition & 1 deletion python/ql/lib/semmle/python/frameworks/Urllib2.qll
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ private import semmle.python.ApiGraphs
* Provides models for the `urllib2` PyPI package.
* see https://docs.python.org/2/library/urllib2.html
*/
module Urllib2 {
private module Urllib2 {
/**
* See
* - https://docs.python.org/2/library/urllib2.html#urllib2.Request
Expand Down
2 changes: 1 addition & 1 deletion python/ql/lib/semmle/python/frameworks/Urllib3.qll
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ private import semmle.python.ApiGraphs
* Provides models for the `Urllib3` PyPI package.
* see https://urllib3.readthedocs.io/en/stable/reference/
*/
module Urllib3 {
private module Urllib3 {
/**
* Provides models for the `urllib3.PoolManager` class
*
Expand Down