Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project dependencies may have API risk issues #8

Closed
PyDeps opened this issue Oct 26, 2022 · 0 comments
Closed

Project dependencies may have API risk issues #8

PyDeps opened this issue Oct 26, 2022 · 0 comments

Comments

@PyDeps
Copy link

PyDeps commented Oct 26, 2022

Hi, In Mr.Holmes, inappropriate dependency versioning constraints can cause risks.

Below are the dependencies and version constraints that the project is using

phonenumbers==8.12.25
requests==2.25.1
beautifulsoup4==4.9.3

The version constraint == will introduce the risk of dependency conflicts because the scope of dependencies is too strict.
The version constraint No Upper Bound and * will introduce the risk of the missing API Error because the latest version of the dependencies may remove some APIs.

After further analysis, in this project,
The version constraint of dependency phonenumbers can be changed to >=5.9b1,<=8.12.50.
The version constraint of dependency requests can be changed to >=0.2.1,<=0.2.3.
The version constraint of dependency requests can be changed to >=0.7.0,<=2.24.0.
The version constraint of dependency requests can be changed to ==2.26.0.
The version constraint of dependency beautifulsoup4 can be changed to >=4.10.0,<=4.11.1.

The above modification suggestions can reduce the dependency conflicts as much as possible,
and introduce the latest version as much as possible without calling Error in the projects.

The invocation of the current project includes all the following methods.

The calling methods from the phonenumbers
phonenumbers.geocoder.country_name_for_number
phonenumbers.timezone.time_zones_for_number
phonenumbers.is_valid_number
phonenumbers.parse
phonenumbers.format_number
phonenumbers.carrier.name_for_number
phonenumbers.geocoder.description_for_number
phonenumbers.region_code_for_country_code
phonenumbers.is_possible_number
The calling methods from the requests
requests.get
The calling methods from the beautifulsoup4
bs4.BeautifulSoup
The calling methods from the all methods
phonenumbers.geocoder.country_name_for_number
Config.modify_recipient
email.mime.multipart.MIMEMultipart.attach
os.remove
Phone_search.lookup
Web.Banner
successfullName.append
MrHolmes.Controll
email.mime.base.MIMEBase.set_payload
json.loads.replace
Core.Support.Phone.Numbers.Phony.Number
title.replace.replace
print
os.geteuid
random.choice
video.find_all.replace
Web.Robots
MrHolmes.Yandex_dork
filename.open.write
bs4.BeautifulSoup.read
logging.getLogger
Core.Searcher_phone.Phone_search.searcher
str.replace
int
Core.Support.Username.Get_Posts.Downloader.Twitter
os.getuid
random.choice.split
urllib.request.urlopen.replace
os.getcwd
datetime.datetime.now.strftime
exit
os.popen
format.replace
info.find
os.mkdir
phonenumbers.format_number
info.Get_Url
Core.Support.Username.Get_Posts.Downloader.TikTok
socket.socket.close
phonenumbers.geocoder.description_for_number
Mail_search.searcher
phonenumbers.timezone.time_zones_for_number
info.Profile_Pic
Temp.replace
phonenumbers.geocoder.description_for_number.split
Core.Support.Username.Scraper.info.MixCloud
requests.get
Config.Banner
reader.find.replace
os.system
item.find.replace
Core.Support.Username.Scraper.info.Minecraft
Phone_search.Yandex_dork
Ports_List.append
Web.Ports
Mail_search.Yandex_dork
Core.Support.Requests_Search.Search.search
socket.socket
str
urllib.request.urlopen.read
Open_Ports.append
smtplib.SMTP.login
configparser.ConfigParser.set
open.close
sites.rstrip
Core.Support.Agree.One_time.Agreement
report.replace
ScraperSites.append
Main.banner
f.read.rstrip
range
Core.Support.Username.Scraper.info.Dockerhub
phonenumbers.is_valid_number
Core.Support.Creds.Sender.mail
item.find
Main.Checker
Core.Searcher_website.Web.search
configparser.ConfigParser
data.find.replace
image.find.replace
LangFile.Language.Translation.Translate_Language.format
timezoneResult.split
Ports.Banner
d.read.strip
reader.find.strip
smtplib.SMTP.sendmail
Web.Reputation
MrHolmes.Google_dork
location.strip.replace
Core.Support.Database.Controller.Gui
Config.modify_destination
shutil.rmtree
open.readlines
MrHolmes.Banner
Core.Support.Mail.Mail_Validator.Validator.Mail
Config.modify_Database_Visibility
Name.parser.replace
info.find_all.get_text
Core.Support.Username.Get_Posts.Downloader.Instagram
Core.Support.Language.Translation.Translate_Language
city2.street2.format.replace
line.replace
Main.Controll_Display
Main.Mobile_Banner
bs4.BeautifulSoup.find_all
Config.main
email.mime.base.MIMEBase.add_header
smtplib.SMTP.ehlo
phonenumbers.PhoneNumberFormat.INTERNATIONAL.Phone.phonenumbers.format_number.split
Core.Support.Username.Scraper.info.Disqus
Mail_search.Google_dork
time.sleep
Config.modify_path
Core.Support.Websites.Scanner.Port.Scan
getpass.getpass
format.find
arr_name.append
Web.yandex_dork
Core.Support.Username.Scraper.info.Instagram
Downloader.Update
re.fullmatch
email.mime.multipart.MIMEMultipart.as_string
Web.google_dork
Core.Support.Username.Scraper.info.Ngl
json.load
Main.main
phonenumbers.region_code_for_country_code
smtplib.SMTP.close
open
profile_pic1.replace
open.write
info.Get_Url.replace
sites.replace
successfull.append
os.path.isfile
smtplib.SMTP
Main.Menu
os.path.isdir
input
Core.E_Mail.Mail_search.Search
Core.Support.Notification.Notifier.Start
json.load.append
phonenumbers.carrier.name_for_number
float
Core.Support.Language.Translation.Get_Language
Config.modify_Log
data1.sites.replace
Core.Support.Clear.Screen.Clear
logging.getLogger.setLevel
smtplib.SMTP.starttls
logging.basicConfig
footer.get_text.strip
site.replace.replace
datetime.datetime.now
stat.select_one.strip
os.popen.read
robot.open.write
reader.find_all.append
email.mime.base.MIMEBase
Web.trace
Config.modify_update_pass
filename.Language.Translation.Translate_Language.format
Web.whois_lookup
socket.socket.getsockname
email.mime.multipart.MIMEMultipart
socket.socket.connect_ex
Core.Support.Map.Creation.mapPhone
phonenumbers.parse
configparser.ConfigParser.read
Core.Support.Map.Creation.mapWeb
Config.modify_Language
phonenumbers.PhoneNumberFormat.E164.Phone.phonenumbers.format_number.replace
Port.Get_Port
reportImage.open.write
phonenumbers.is_possible_number
info.find_all
os.path.exists
file2.seek
username.replace.replace
json.loads
configparser.ConfigParser.write
Core.Support.Username.Scraper.info.Binarysearch
target.append
email.encoders.encode_base64
Core.Support.Username.Scraper.info.Kik
Config.modify_Email_Status
file.seek
logging.shutdown
json.dump
Core.Support.Username.Scraper.info.Twitter
Core.Support.Username.Scraper.info.Wattpad
Core.Support.Username.Scraper.info.Github
format
urllib.request.urlopen
Core.config.Config.main
bs4.BeautifulSoup
Config.modify_port
socket.gethostbyname
Core.Support.Username.Scraper.info.GitLab
reader2.find.replace
Core.Support.Username.Scraper.info.Imgur
One_time.Agreement
jsonfile.replace.replace
os.chdir
socket.socket.connect
MrHolmes.Main.Menu
email.mime.text.MIMEText
Core.Searcher.MrHolmes.search
Core.Port_Scanner.Ports.Main
Core.Support.Username.Scraper.info.Pr0gramm
Config.modify_password
Core.Support.Logs.Log.Checker
Core.Support.Map.Creation.mapPost
Phone_search.Google_dork
len
reader.find.find
info.find.strip
Core.Support.Banner_Selector.Random.Get_Banner
Phone_search.Banner
jsonfile.replace
Mail_search.Banner
bs4.BeautifulSoup.find
data.find
reader2.find.find_all
Core.Support.Dorks.Search.dork
Core.Support.Username.Scraper.info.TikTok
Config.modify_proxy
stat.select_one
Core.Update.Downloader.Check_Creds
Config.modify_key
open.read
image.open.write
Phony.Get_GeoLocation
socket.socket.settimeout
Config.modify_server
Core.Support.Menu.Main.main

@developer
Could please help me check this issue?
May I pull a request to fix it?
Thank you very much.

@Lucksi Lucksi closed this as completed Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants