# StealthOS Backend — Python Dependencies
# Install all at once: pip install -r requirements.txt

# ============================================================
# Core Web Framework
# ============================================================
fastapi>=0.111.0
uvicorn[standard]>=0.29.0
python-multipart>=0.0.9      # for file uploads in FastAPI
aiofiles>=23.0.0

# ============================================================
# Static Analysis (Step 1)
# ============================================================
pefile>=2023.2.7             # PE header, imports, sections analysis
lief>=0.14.0                 # Deep binary analysis
python-magic-bin>=0.4.14; sys_platform == 'win32'
python-magic>=0.4.27; sys_platform != 'win32'

# ============================================================
# ML / Data Science (Step 2 & 4)
# ============================================================
scikit-learn>=1.4.0
xgboost>=2.0.0
# torch>=2.2.0                 # PyTorch for autoencoder (optional: excluded for Vercel 250MB size limit)
# shap>=0.45.0                  # Optional: SHAP feature importance (requires llvmlite)
pandas>=2.2.0
numpy>=1.26.0
joblib>=1.3.0
matplotlib>=3.8.0            # for SHAP plots

# ============================================================
# Sandbox (Step 3) — Cuckoo runs separately in WSL Ubuntu
# ============================================================
# cuckoo                     # Install in WSL: pip install cuckoo (Python 2.7)
requests>=2.31.0             # HTTP client for Cuckoo REST API

# ============================================================
# Deception + API Hooking (Step 5)
# ============================================================
frida>=16.0.0                # API hooking — intercept Windows API calls
frida-tools>=12.0.0          # Frida CLI tools
# fakenet                    # FakeNet-NG — network sinkhole (Windows only)
# opencanary                 # Honeypot files — install separately if needed

# ============================================================
# Forensics (Step 6)
# ============================================================
volatility3>=2.5.0           # Memory forensics

# ============================================================
# Utilities
# ============================================================
python-dotenv>=1.0.0         # .env file support
loguru>=0.7.0                # Better logging
tqdm>=4.66.0                 # Progress bars
httpx>=0.27.0                # Async HTTP client
