Skip to content

AI Security Auditor

Transform application security with AI-powered real-time vulnerability detection integrated directly into developer workflows.

Core trick

Sends uploaded or GitHub-fetched source files to GPT-5 with a vulnerability checklist prompt and returns a risk score.

Tags

Description

$2a
FariyaR/AI-Security-Auditor★ 00 forksHTMLCreated Aug 24, 2025 · last push Aug 24, 2025

README excerpt

<<<<<<< HEAD
# AI Security Auditor - Node.js Edition

🚀 **EXACT REPLICA** of ULTIMATE_DEMO.html with Node.js backend - same look, same functionality, powered by Express.js and OpenAI GPT-5.

## Features

- **Node.js Backend**: Fast Express.js server with real-time analysis
- **GPT-5 Integration**: Advanced AI-powered vulnerability detection
- **GitHub Integration**: Scan entire repositories for security issues
- **Real-time Results**: Fast analysis with immediate feedback
- **File Upload**: Support for multiple programming languages
- **Security Scoring**: Risk assessment with detailed metrics

## Quick Start

### Prerequisites
- Node.js 16+ installed
- OpenAI API key (for GPT-5 analysis)
- GitHub token (optional, for repository analysis)

### Installation & Setup

1. **Clone or extract** this folder to your desktop
2. **Configure environment variables** in `.env`:
   ```
   OPENAI_API_KEY=your_openai_api_key_here
   GITHUB_TOKEN=your_github_token_here
   PORT=8000
   ```
3. **Run the startup script**:
   ```bash
   start.bat
   ```

The script will:
- Install Node.js dependencies automatically
- Start the Express.js server on http://localhost:8000
- Open the web interface in your browser

### Manual Setup

If you prefer manual setup:

```bash
# Install dependencies
npm install

# Start the server
npm start
# or
node server.js
```

## API Endpoints

- `POST /api/analyze/upload` - Analyze uploaded files
- `POST /api/analyze/repo` - Analyze GitHub repository
- `GET /health` - H

Team