1. With ChatGPT (a prompt):

“Is the submitted code safe for leaking user data, such as private keys, seed phrases, etc.?”

(paste here code from all .py files (main.py, config,py, etc)

or “Check the provided code for leaked user data such as private keys, seed phrases, etc.”

  1. Manual check of external downloaded libraries on pypi.org

Find them in the “requirements.txt” file and paste to pypi, then check their licenses and description.

An example of a legitimate library: pypi.org/project/loguru

Untitled

A suspicious library will be empty and newly created.

2.1.Use command: safety check -r requirements.txt

Check libraries’ safety at :

safetycli.com

snyk.io/advisor/check/python

  1. Right click on the root folder > Find in files. Paste - “api.telegram” without quotes.

Untitled