Skip to content

Commit 56901ea

Browse files
committed
Python: Make new SSRF sink modules private
1 parent 40feb1f commit 56901ea

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

python/ql/lib/semmle/python/frameworks/Httpx.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ private import semmle.python.ApiGraphs
1111
* Provides models for the `httpx` PyPI package.
1212
* see https://www.python-httpx.org/
1313
*/
14-
module HttpxModel {
14+
private module HttpxModel {
1515
private class RequestCall extends HTTP::Client::Request::Range, DataFlow::CallCfgNode {
1616
string methodName;
1717

python/ql/lib/semmle/python/frameworks/Libtaxii.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ private import semmle.python.ApiGraphs
1111
* Provides models for the `libtaxii` PyPI package.
1212
* see https://github.com/TAXIIProject/libtaxii
1313
*/
14-
module Libtaxii {
14+
private module Libtaxii {
1515
/**
1616
* A call to `libtaxii.common.parse`.
1717
* When the `allow_url` parameter value is set to `True`, there is an SSRF vulnerability..

python/ql/lib/semmle/python/frameworks/Pycurl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ private import semmle.python.ApiGraphs
1111
* Provides models for the `pycurl` PyPI package.
1212
* see https://pycurl.io/docs/latest/
1313
*/
14-
module Pycurl {
14+
private module Pycurl {
1515
/**
1616
* Provides models for the `pycurl.Curl` class
1717
*

python/ql/lib/semmle/python/frameworks/Urllib.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ private import semmle.python.ApiGraphs
1111
* Provides models for the `Urllib` PyPI package.
1212
* see https://docs.python.org/3.9/library/urllib.html
1313
*/
14-
module Urllib {
14+
private module Urllib {
1515
/**
1616
* Provides models for the `urllib.request` extension library
1717
*

python/ql/lib/semmle/python/frameworks/Urllib2.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ private import semmle.python.ApiGraphs
1111
* Provides models for the `urllib2` PyPI package.
1212
* see https://docs.python.org/2/library/urllib2.html
1313
*/
14-
module Urllib2 {
14+
private module Urllib2 {
1515
/**
1616
* See
1717
* - https://docs.python.org/2/library/urllib2.html#urllib2.Request

python/ql/lib/semmle/python/frameworks/Urllib3.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ private import semmle.python.ApiGraphs
1111
* Provides models for the `Urllib3` PyPI package.
1212
* see https://urllib3.readthedocs.io/en/stable/reference/
1313
*/
14-
module Urllib3 {
14+
private module Urllib3 {
1515
/**
1616
* Provides models for the `urllib3.PoolManager` class
1717
*

0 commit comments

Comments
 (0)