Skip to content

Python script that looks for malicious imports in a project

Notifications You must be signed in to change notification settings

M58-ENSIBS/Imports_Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Badges

Add badges from somewhere like: shields.io

MIT License python

Imports_ANAL

Imports_ANAL is a python tool that allows you to parse an entire project and scan the imports that are present. Many operations can then be performed

Features

The tool is still in its initial phase, it presents for the moment the following functionalities:

  • Syntactic analysis of all imports
  • Creating a requirements.txt file
  • Dump of the source code of each import present in the project
  • Deleting suspicious imports present in the project
  • Recognizing a suspicious piece of code

Installation

Normally the basic imports are sufficient to launch the project

git clone https://github.com/MarchandRobin/Import_ANAL_Project.git
cd Import_ANAL_Project
pip3 install -r requirements.txt

Authors

Usage

d => Level of restriction of the program [1,2,3]

SUS

r => Create a requirements.txt file

Req

s => Delete suspicious imports

b => Print the banner of the program

a => Analyze source codes of the project

Fold

DANGER

REPORT

g => Show a graphical relationship between folders

GRAPH

License

MIT

About

Python script that looks for malicious imports in a project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages