Intelligent Identity & Account Management System
FuzeKeys is a sophisticated automation platform that intelligently manages multiple digital identities and automates account creation across various websites. Built with modern technologies, it features encrypted data storage, AI-powered automation scripts, and a beautiful React frontend.
- Multiple Digital Identities: Create and manage separate identities for different use cases (professional, personal, etc.)
- Encrypted Storage: All sensitive data is encrypted using industry-standard encryption
- Master Key Protection: User-controlled encryption keys for maximum security
- Smart Signup Scripts: AI-powered automation that adapts to different website forms
- CAPTCHA Handling: Advanced CAPTCHA detection and solving capabilities
- Email Verification: Automated email verification workflows
- Form Analysis: Intelligent form field detection and completion
- Chat Interface: Natural language interaction for account management
- Contextual Responses: AI understands your automation needs and provides relevant suggestions
- Guided Workflows: Step-by-step assistance for complex tasks
- Account Overview: Real-time status of all your accounts across platforms
- Success Metrics: Track automation success rates and performance
- Activity Logs: Detailed logging of all automation activities
- Tokenize before the model sees it: PII/secrets (cards, SSNs, emails, phones, IBANs, API keys)
are replaced with opaque
<CCD_β¦>/<APIKEY_β¦>tokens before any text reaches the LLM provider. - Vault-encrypted, Redis-stored: real values are encrypted by HashiCorp Vault (persistent file storage) and only ciphertext is stored. Local tools transparently get the real value back when they need it.
- Reboot-resilient & self-unsealing:
stack-up.shplus a logon launcher bring the stack up and auto-unseal Vault after a reboot β no manual bootstrap step. Tokens carry a 24h TTL. - Two enforcement points: a LiteLLM
pre_callguardrail tokenizes prompts before they leave for the model; Claude Code PreToolUse/PostToolUse hooks detokenize tool input and re-tokenize tool output. - See
pii-tokenizer/and its installation guide / assumptions.
- FastAPI Framework: High-performance async API
- SQLAlchemy ORM: Async database operations with SQLite/PostgreSQL support
- Playwright Integration: Web automation and browser control
- OpenAI Integration: AI-powered chat assistant and form analysis
- Cryptography: Advanced encryption for sensitive data
- React 18: Modern React with hooks and context
- TypeScript: Type-safe development
- Tailwind CSS: Utility-first styling framework
- React Router: Client-side routing
- Responsive Design: Works on desktop and mobile
- SQLite: Local development and small deployments
- PostgreSQL: Production-ready scalable storage
- Encrypted Fields: Sensitive data is encrypted at the field level
- Async Operations: Non-blocking database operations
- Python 3.11+
- Node.js 18+
- Git
-
Clone the repository
git clone https://github.com/yourusername/FuzeKeys.git cd FuzeKeys -
Backend Setup
cd backend python -m venv venv # Windows .\venv\Scripts\activate # macOS/Linux source venv/bin/activate pip install -r requirements.txt
-
Frontend Setup
cd frontend npm install --legacy-peer-deps -
Initialize Database
cd backend python -c "import asyncio; from app.database import init_database; asyncio.run(init_database())"
-
Start Backend Server
cd backend python working_server.pyBackend will be available at:
http://localhost:8002 -
Start Frontend (in a new terminal)
cd frontend npm startFrontend will be available at:
http://localhost:3000
FuzeKeys/
βββ backend/ # Python FastAPI backend
β βββ app/
β β βββ models/ # SQLAlchemy database models
β β βββ routers/ # API route handlers
β β βββ utils/ # Utility functions (encryption, logging)
β β βββ database.py # Database configuration
β β βββ main.py # FastAPI application
β βββ data/ # SQLite database files
β βββ requirements.txt # Python dependencies
β βββ working_server.py # Standalone server script
βββ frontend/ # React TypeScript frontend
β βββ src/
β β βββ components/ # React components
β β βββ pages/ # Page components
β β βββ services/ # API services
β β βββ context/ # React contexts
β β βββ types/ # TypeScript type definitions
β βββ public/ # Static assets
β βββ package.json # Node.js dependencies
βββ docker-compose.yml # Docker configuration
Create a .env file in the backend directory:
# Database
DATABASE_URL_ASYNC=postgresql+asyncpg://username:password@localhost/fuzekeys
# Security
MASTER_KEY_SALT=your_secure_salt_here
SECRET_KEY=your_secret_key_here
# OpenAI (optional)
OPENAI_API_KEY=your_openai_api_key
# Application
DEBUG=True
HOST=localhost
PORT=8002- End-to-End Encryption: All sensitive data is encrypted before storage
- Master Key Control: Users control their own encryption keys
- Secure Authentication: JWT-based authentication with bcrypt password hashing
- SQL Injection Protection: Parameterized queries and ORM protection
- CORS Configuration: Properly configured cross-origin resource sharing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Current Version: 1.0.0 (Semantic Versioning)
FuzeKeys now integrates with the shared FuzeInfra platform for infrastructure services:
- Shared Database: Uses FuzeInfra PostgreSQL, MongoDB, Redis
- Monitoring: Grafana, Prometheus integration
- Message Queues: Kafka and RabbitMQ support
- Logging: Centralized logging with Loki
-
Start FuzeInfra services first:
cd modules/FuzeInfra ./infra-up.sh # or infra-up.bat on Windows
-
Start FuzeKeys application:
docker-compose up -d
FuzeKeys includes a comprehensive site integration system located in backend/app/integrations/site/ that provides automated account management for various platforms.
backend/app/integrations/site/
βββ __init__.py # Integration discovery and management
βββ permit_io/ # Permit.io integration
β βββ __init__.py # Main integration class
β βββ models.py # Data models
β βββ config.py # Site configuration
β βββ signup.py # Account creation automation
β βββ signin.py # Authentication automation
β βββ apikey.py # API key creation automation
βββ [other_sites]/ # Future site integrations
- β Signup: Automated account creation with form detection
- β Signin: Authentication with session management
- β API Key Creation: Automated API key generation
- β Headless Browser: Playwright-powered with screenshot debugging
- β Error Handling: Comprehensive error detection and reporting
# Create account
curl -X POST "http://localhost:8002/api/v1/integrations/signup" \
-H "Content-Type: application/json" \
-d '{
"site": "permit.io",
"email": "user@example.com",
"password": "secure_password",
"first_name": "John",
"last_name": "Doe"
}'
# Sign in
curl -X POST "http://localhost:8002/api/v1/integrations/signin" \
-H "Content-Type: application/json" \
-d '{
"site": "permit.io",
"email": "user@example.com",
"password": "secure_password"
}'
# Create API key
curl -X POST "http://localhost:8002/api/v1/integrations/apikey" \
-H "Content-Type: application/json" \
-d '{
"site": "permit.io",
"email": "user@example.com",
"password": "secure_password",
"key_name": "FuzeKeys"
}'from app.integrations.site.permit_io import PermitIOIntegration
from app.integrations.site.permit_io.models import PermitIOCredentials
credentials = PermitIOCredentials(
email="user@example.com",
password="secure_password",
first_name="John",
last_name="Doe"
)
integration = PermitIOIntegration(headless=True)
# Create account
result = await integration.signup_account(credentials)
print(f"Signup result: {result.success}")
# Sign in
result = await integration.signin_account("user@example.com", "password")
print(f"Signin result: {result.success}")
# Create API key
result = await integration.create_api_key("user@example.com", "password", "MyKey")
print(f"API key: {result.data['key_value']}")FuzeKeys includes comprehensive testing and continuous integration:
# Backend tests
cd backend
pytest tests/ -v --cov=app
# Frontend tests
cd frontend
npm test -- --coverage- Automated Testing: Python and Node.js tests on multiple versions
- Code Quality: Linting with Flake8, ESLint, Black, isort
- Security Scanning: Bandit, Safety, npm audit
- Type Checking: MyPy for Python, TypeScript for frontend
- Coverage Reports: Codecov integration
The project includes git submodules for shared infrastructure:
- EnvManager: Environment management utilities
- FuzeInfra: Shared infrastructure platform
- FuzeFront: Frontend components and utilities
# Initialize submodules
git submodule update --init --recursive- Identity management with encryption
- Account tracking and status monitoring
- Basic automation framework
- React frontend with responsive design
- SQLite database with async operations
- AI chat assistant
- Comprehensive API documentation
- Advanced automation scripts
- Email verification automation
- CAPTCHA solving integration
- Enhanced AI capabilities
- Browser extension
- Mobile application
- Advanced analytics
- Team collaboration features
- Enterprise authentication (SSO)
- Browser automation requires Playwright browser installation
- Some websites have advanced bot detection
- Email verification depends on email provider APIs
For questions and support:
- Create an issue on GitHub
- Check the documentation
- Review existing issues and discussions
- FastAPI - For the amazing async web framework
- React - For the powerful frontend library
- Playwright - For reliable web automation
- SQLAlchemy - For excellent ORM capabilities
- Tailwind CSS - For beautiful, responsive styling
Built with β€οΈ for automating the tedious parts of the web