mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
Python: Make new SSRF sink modules private
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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..
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user