Python: Make new SSRF sink modules private

This commit is contained in:
Rasmus Wriedt Larsen
2022-03-04 11:04:18 +01:00
parent 40feb1fb8d
commit 56901ea841
6 changed files with 6 additions and 6 deletions

View File

@@ -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;

View File

@@ -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..

View File

@@ -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
*

View File

@@ -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
*

View File

@@ -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

View File

@@ -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
*