๐ฅท Atoms Ninja - AI-Powered Cybersecurity Platform
Production-ready cybersecurity platform with Google Gemini AI Security Architect and Kali Linux tools integration.
๐ Features
- ๐ค AI Security Architect - Interactive cybersecurity consultant powered by Google Gemini
- ๐ง Kali Linux Tools - 500+ penetration testing tools (nmap, metasploit, burp suite, wireshark)
- ๐ Service Account Auth - Production-ready with Google Cloud service accounts
- ๐ฌ Interactive Terminal - Real-time command execution with AI guidance
- ๐ Global Deployment - Ready for worldwide distribution
- ๐ Security Arsenal - Vulnerability scanning, digital forensics, threat analysis
๐ Quick Start
Prerequisites
- Node.js 16+ installed
- Google Cloud Service Account with Generative Language API enabled
- Service account JSON key file
1. Get Your Service Account
- Go to Google Cloud Console - Service Accounts
- Select your project
- Create or select a service account
- Click โฎ โ "Manage keys" โ "Add Key" โ "Create new key" โ "JSON"
- Download the JSON file and save it as
service-account.jsonin this directory
2. Enable Required APIs
gcloud services enable generativelanguage.googleapis.com
Or enable manually: https://console.cloud.google.com/apis/library/generativelanguage.googleapis.com
3. Setup & Run
# Run setup script
./setup.sh
# Or manual setup:
npm install
cp .env.example .env
# Edit .env with your settings
# Start backend server
npm start
# Open frontend
open index.html
The backend will run on http://localhost:3001 and the frontend can be opened directly in your browser.
๐ Project Structure
atoms/
โโโ index.html # Frontend application
โโโ styles.css # UI styling
โโโ script.js # Frontend logic
โโโ config.js # Configuration
โโโ gemini-proxy.js # Backend proxy server (Node.js)
โโโ package.json # Node.js dependencies
โโโ service-account.json # Your service account key (DO NOT COMMIT)
โโโ .env # Environment variables (DO NOT COMMIT)
โโโ Dockerfile # Docker configuration
โโโ DEPLOYMENT.md # Deployment guide
โโโ README.md # This file
๐ Production Deployment
Backend Deployment Options
Option 1: Vercel (Recommended)
npm i -g vercel
vercel secrets add service-account-json "$(cat service-account.json)"
vercel --prod
Option 2: Google Cloud Run
gcloud run deploy atoms-ninja-backend \
--source . \
--platform managed \
--region us-central1 \
--allow-unauthenticated
Option 3: Docker
docker build -t atoms-ninja-backend .
docker run -p 3001:3001 \
-v $(pwd)/service-account.json:/app/service-account.json \
atoms-ninja-backend
Option 4: Railway / Render / Fly.io
See DEPLOYMENT.md for detailed instructions.
Frontend Deployment
Deploy the static files (index.html, styles.css, script.js, config.js) to:
- Vercel:
vercel --prod - Netlify:
netlify deploy --prod - Cloudflare Pages: Connect GitHub repo
- GitHub Pages: Push to
gh-pagesbranch - AWS S3 + CloudFront: Upload to S3 bucket
Important: Update CONFIG.BACKEND_API_URL in script.js with your deployed backend URL.
๐ป Usage Examples
AI Security Consultant
โ Design a security architecture for a financial web application
โ What's the best approach for penetration testing?
โ Explain the OWASP Top 10 vulnerabilities
โ How should I secure a microservices infrastructure?
Direct Commands
nmap -sV 192.168.1.1 # Network scanning
scan target.com # Vulnerability scanning
metasploit # Exploitation framework
wireshark # Packet analysis
help # Show all commands
โ๏ธ Configuration
Environment Variables (.env)
PORT=3001
GOOGLE_APPLICATION_CREDENTIALS=./service-account.json
ALLOWED_ORIGINS=https://your-domain.com
RATE_LIMIT_MAX_REQUESTS=60
Frontend Config (script.js)
const CONFIG = {
BACKEND_API_URL: 'https://your-backend-domain.com',
KALI_MCP_ENDPOINT: 'http://localhost:3000'
};
๐ Security Best Practices
- โ
Never commit
service-account.jsonor.envto version control - โ Use environment variables for sensitive data
- โ
Set CORS to your specific domains (not
*) - โ Enable rate limiting
- โ Use HTTPS in production
- โ Monitor API usage and set billing alerts
- โ Restrict service account permissions to minimum required
- โ Rotate service account keys regularly
๐ API Endpoints
Backend Server
POST /api/gemini
{
"prompt": "Your security question or command",
"temperature": 0.8,
"maxTokens": 300
}
GET /health
{
"status": "ok",
"service": "Atoms Ninja Gemini Proxy"
}
๐ Troubleshooting
Backend won't start
# Check Node.js version
node --version # Should be 16+
# Check service account file
cat service-account.json | jq .
# Test manually
node gemini-proxy.js
CORS errors
Update .env:
ALLOWED_ORIGINS=http://localhost:8000,https://your-domain.com
Service account auth fails
# Verify API is enabled
gcloud services list --enabled | grep generativelanguage
# Test service account
gcloud auth activate-service-account --key-file=service-account.json
๐ฐ Cost Estimation
- Gemini Pro API: ~$0.00025 per request
- Backend hosting: $0-20/month (Vercel free tier available)
- Frontend hosting: Free (most platforms)
Estimated cost for 10,000 users/month: $5-30
๐งช Development
# Install dev dependencies
npm install
# Run in development mode with auto-reload
npm run dev
# Run frontend locally
python3 -m http.server 8000
# Open http://localhost:8000
๐ Documentation
- Deployment Guide - Step-by-step deployment instructions
- Google Gemini API Docs
- Kali Linux Tools
- Service Account Guide
โ๏ธ Legal & Ethics
โ ๏ธ IMPORTANT: This tool is for authorized security testing only.
- Only test systems you own or have explicit written permission to test
- Unauthorized access to computer systems is illegal
- Users are responsible for compliance with all applicable laws
- Always follow responsible disclosure practices
- The developers assume no liability for misuse
๐ License
MIT License - See LICENSE file for details
๐ค Contributing
Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
๐ Support
- Documentation: See DEPLOYMENT.md
- Issues: Open a GitHub issue
- Security: Report vulnerabilities privately
Made with ๐ by Atoms Ninja Team
Defend. Analyze. Secure. Protect.
๐ Features
- Kali Linux MCP Integration: Access to 500+ penetration testing tools
- AI-Powered Analysis: Google Gemini AI for intelligent security insights
- Interactive Terminal: Real-time command execution and results
- Digital Forensics: Advanced tools for incident response
- Automated Scanning: Vulnerability detection and CVE identification
- Professional Reports: Comprehensive security assessment reports
๐ Prerequisites
Google Gemini API Key (FREE)
- Visit: https://aistudio.google.com/app/apikey
- Sign in with your Google account
- Click "Create API Key"
- Select your Google Cloud project (or create a new one)
- Copy the API key (starts with "AIza...")
- Note: The free tier includes generous limits for testing
Kali Linux MCP Server (optional for full functionality)
- Install and run Kali Linux MCP server
- Configure endpoint in
config.js
๐ง Setup
Step 1: Configure API Key
Option A: Browser Console
configureGeminiAPI('your-api-key-here');
Option B: Edit config.js
gemini: {
apiKey: 'your-api-key-here',
// ...
}
Step 2: Open the Application
Simply open index.html in your browser or serve it with a local server:
# Python
python3 -m http.server 8000
# Node.js
npx http-server
# PHP
php -S localhost:8000
๐ป Usage
Available Commands
Network Scanning:
nmap -sV 192.168.1.1
scan 192.168.1.0/24
Vulnerability Assessment:
scan target.com for vulnerabilities
exploit CVE-2023-1234
Penetration Testing:
metasploit
msfconsole
use exploit/multi/handler
Network Analysis:
wireshark
burp suite
Digital Forensics:
forensic analysis
autopsy
volatility
Natural Language (AI):
Scan 192.168.1.1 for open ports and vulnerabilities
What are the best tools for web application testing?
How do I analyze a memory dump?
Keyboard Shortcuts
- Enter: Execute command
- โ/โ: Navigate command history
- Shift+Enter: New line in input
๐ก๏ธ Security & Ethics
โ ๏ธ IMPORTANT: This tool is for authorized security testing only.
- Only test systems you own or have explicit permission to test
- Unauthorized access to computer systems is illegal
- Use responsibly and ethically
- Follow responsible disclosure practices
- Comply with local laws and regulations
๐ API Integration
Google Gemini AI
The platform uses Google Gemini for:
- Natural language command interpretation
- Security analysis and insights
- Vulnerability remediation suggestions
- Report generation
Kali Linux MCP Server
Configure your MCP server endpoint in config.js:
kaliMCP: {
endpoint: 'http://localhost:3000',
// ...
}
๐จ Customization
Theme
Edit styles.css to customize colors and appearance:
:root {
--color-purple: #8B5CF6;
--color-pink: #EC4899;
/* ... */
}
Commands
Add custom commands in script.js:
async function processCommand(command) {
// Add your custom command logic
}
๐ Tools Included
- nmap: Network scanner
- Metasploit: Exploitation framework
- Wireshark: Network protocol analyzer
- Burp Suite: Web security testing
- SQLMap: SQL injection tool
- Nikto: Web server scanner
- Aircrack-ng: WiFi security
- John the Ripper: Password cracker
- Hashcat: Advanced password recovery
- Autopsy: Digital forensics
- Volatility: Memory forensics
๐ Troubleshooting
API Key Issues:
- Verify your API key is correct
- Check API quota and billing
- Ensure network connectivity
MCP Server Connection:
- Verify server is running
- Check endpoint configuration
- Review CORS settings
Terminal Not Responding:
- Refresh the page
- Check browser console for errors
- Clear browser cache
๐ Resources
- Kali Linux Documentation
- Google Gemini AI
- OWASP Testing Guide
- Penetration Testing Execution Standard
โ๏ธ Legal Disclaimer
This software is provided for educational and authorized testing purposes only. Users are responsible for compliance with all applicable laws. The developers assume no liability for misuse.
๐ License
MIT License - See LICENSE file for details
๐ค Contributing
Contributions welcome! Please read our contributing guidelines and code of conduct.
Made with ๐ by Atoms Ninja Team
Defend. Analyze. Secure. Protect.
Built With
- antigravity
- css
- dockerfile
- gemini
- html
- javascript
- shell
- typescript


Log in or sign up for Devpost to join the conversation.