EGen Security AI is a fun and educational cybersecurity platform that helps you learn about staying safe online while also providing powerful tools to check if your files are secure.
├── client/ # Frontend website code
│ ├── public/ # Images and other files
│ └── src/ # Website code
│ ├── components/ # Reusable parts of the website
│ ├── pages/ # Different pages you can visit
│ ├── hooks/ # Special functions for the website
│ ├── services/ # Code that talks to the server
│ ├── store/ # Where data is stored
│ └── utils/ # Helper functions
│
├── src/ # Backend server code
│ ├── ai/ # Artificial intelligence models
│ ├── api/ # How the website talks to the server
│ ├── config/ # Settings for the application
│ ├── db/ # Database code
│ ├── security/ # Security scanning tools
│ └── utils/ # Helper functions
│
├── courses/ # Learning materials
│ ├── basics/ # Courses for beginners
│ ├── intermediate/ # Courses for people with some knowledge
│ ├── advanced/ # Courses for experienced users
│ └── expert/ # Courses for professionals
│
├── models/ # Smart AI models that help detect threats
├── datasets/ # Information used to train the AI
└── logs/ # Records of what the program does
We've created over 20 courses across different difficulty levels:
git clone https://github.com/your-username/egen-security-ai.git
cd egen-security-ai
python -m venv venv
# On Windows
venv\Scripts\activate
# On macOS/Linux
source venv/bin/activate
pip install -r requirements.txt
cd client
npm install
cd ..
.env.example file to a new file called .env and change the settings.python main.py --debug --reload
cd client
npm start
cd client
npm run build
cd ..
python main.py
You can check files to see if they have security problems:
from src.security import scan_file
# Check a file
result = scan_file('/path/to/file.py')
print(f"Threats found: {result['threats_detected']}")
print(f"Is it dangerous: {result['is_malicious']}")
# See details about any problems found
for match in result['signature_matches']:
print(f"Problem: {match['name']} (How bad: {match['severity']})")
print(f"What it means: {match['description']}")
Make sure everything is working correctly:
pytest tests/
We keep our code neat and tidy:
# Format Python code
black src/ tests/
# Check JavaScript code
cd client
npm run lint
This project is licensed under the MIT License - see the LICENSE file for details.
6 commits
Python
88.4%
TypeScript
5.5%
JavaScript
5.4%
EGen Security AI is a fun and educational cybersecurity platform that helps you learn about staying safe online while also providing powerful tools to check if your files are secure.
├── client/ # Frontend website code
│ ├── public/ # Images and other files
│ └── src/ # Website code
│ ├── components/ # Reusable parts of the website
│ ├── pages/ # Different pages you can visit
│ ├── hooks/ # Special functions for the website
│ ├── services/ # Code that talks to the server
│ ├── store/ # Where data is stored
│ └── utils/ # Helper functions
│
├── src/ # Backend server code
│ ├── ai/ # Artificial intelligence models
│ ├── api/ # How the website talks to the server
│ ├── config/ # Settings for the application
│ ├── db/ # Database code
│ ├── security/ # Security scanning tools
│ └── utils/ # Helper functions
│
├── courses/ # Learning materials
│ ├── basics/ # Courses for beginners
│ ├── intermediate/ # Courses for people with some knowledge
│ ├── advanced/ # Courses for experienced users
│ └── expert/ # Courses for professionals
│
├── models/ # Smart AI models that help detect threats
├── datasets/ # Information used to train the AI
└── logs/ # Records of what the program does
We've created over 20 courses across different difficulty levels:
git clone https://github.com/your-username/egen-security-ai.git
cd egen-security-ai
python -m venv venv
# On Windows
venv\Scripts\activate
# On macOS/Linux
source venv/bin/activate
pip install -r requirements.txt
cd client
npm install
cd ..
.env.example file to a new file called .env and change the settings.python main.py --debug --reload
cd client
npm start
cd client
npm run build
cd ..
python main.py
You can check files to see if they have security problems:
from src.security import scan_file
# Check a file
result = scan_file('/path/to/file.py')
print(f"Threats found: {result['threats_detected']}")
print(f"Is it dangerous: {result['is_malicious']}")
# See details about any problems found
for match in result['signature_matches']:
print(f"Problem: {match['name']} (How bad: {match['severity']})")
print(f"What it means: {match['description']}")
Make sure everything is working correctly:
pytest tests/
We keep our code neat and tidy:
# Format Python code
black src/ tests/
# Check JavaScript code
cd client
npm run lint
This project is licensed under the MIT License - see the LICENSE file for details.
6 commits
Python
88.4%
TypeScript
5.5%
JavaScript
5.4%