A multi-modal AI security application that detects social engineering threats across voice calls, video content, and phishing attempts.
Human Firewall AI addresses the challenge of social engineering attacks by introducing a multi-modal artificial intelligence system designed to detect and mitigate threats in real time. The application provides three main detection capabilities:
- AI Voice Detection - Analyze audio files to determine if they contain authentic or AI-generated voices
- Deepfake Video Detection - Examine video content for signs of manipulation or synthetic generation
- Phishing Detection - Identify potential phishing attempts in URLs, emails, and messages
- Real-time AI analysis of multiple threat vectors
- Detailed threat analysis with confidence scores
- Visual indicators for detection factors
- Support for multiple file formats
- Enterprise-ready architecture
Before running the application, make sure you have the following installed:
- Node.js (version 20 or later)
- npm (comes with Node.js)
- Python (version 3.8 or later)
- An OpenAI API key (get one from OpenAI Platform)
-
Clone the Repository (if applicable) or extract the ZIP file
-
Navigate to the Project Directory
cd human-firewall-ai -
Install Node.js Dependencies
npm install
-
Set Up Python Environment
# Create and activate a virtual environment (recommended) python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate # Install Python dependencies cd AIs pip install -r requirements.txt cd ..
-
Create Environment Variables
Create a
.envfile in the root directory of the project and add your OpenAI API key:OPENAI_API_KEY=your_openai_api_key_here -
Start the Development Server
npm run dev
-
Access the Application
Open your browser and navigate to:
http://localhost:5000
- Navigate to the Voice Detection tab
- Upload an audio file in MP3, WAV, or M4A format
- Click "Analyze Voice" to process the file
- View the results, including authenticity score and detection factors
- Navigate to the Deepfake Detection tab
- Upload a video file in MP4, MOV, or AVI format
- Click "Analyze Video" to process the file
- View the results, including visual analysis and detection factors
- Navigate to the Phishing Detection tab
- Select the type of content you want to analyze (URL, Email, or Message)
- Enter or paste the suspicious content
- Click "Analyze Content" to process the text
- View the results, including threat level and detected indicators
This application uses the OpenAI API for content analysis. Please be aware of OpenAI's rate limits:
- Free tier accounts have limited usage per month
- If you encounter rate limit errors, wait before making additional requests or upgrade your OpenAI plan
- To ensure consistent service, consider an OpenAI paid plan for production use
-
API Key Error: Ensure your OpenAI API key is correctly set in the
.envfile -
File Upload Issues: Check that your file format is supported and under the size limit
-
Analysis Failure: If analysis fails, check the console for error messages and verify your API key has sufficient quota
-
Python Environment Issues:
- Ensure Python is installed and in your system PATH
- Verify all Python dependencies are installed correctly
- Check that the Python virtual environment is activated (if using one)
- Make sure the model files (model.pkl and scaler.pkl) are present in the AIs directory
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with React, Express, and the OpenAI API
- Uses shadcn/ui components for the user interface
- Implements best practices for secure file handling and processing
- Voice detection powered by custom machine learning models