Super Agent ek self-hosted AI layer hai jo Kali/Linux tools ko natural language se chalata hai: recon → enumeration → vulnerability analysis → web/API testing → (approval ke baad) gaining access aur exploitation → evidence-backed report. Dashboard, phone console (PWA) aur asli terminal — teeno se.
Catalog-driven: har tool ke allowed flags fix hain, execution argv-only hai (no shell injection). Missing tool? Install hint seedha Arsenal tab me.
Domain, DNS, cert, tech-stack, attack surface.
SMB/NFS shares, SNMP, LDAP, crawling, hidden params.
CVEs, misconfig, leaked secrets, SAST.
Endpoints, JWT, GraphQL, injection checks.
Login services — rate-limited, approval-only.
Minimal, non-destructive proof-of-concept.
Situational awareness, pivoting (approval).
Read-only misconfiguration detection.
Apne lab hashes par dictionary + rules audit.
Apne SSID/AP ki security posture.
Evidence, hashes, chain-of-custody.
Terminal ke rozana ke helpers.
Aapke paas authorization hai — system uska record rakhta hai aur uske bahar kuch nahi hone deta.
Client, scope hosts, permitted sections, validity window, signer + SOW reference. Record ke bina agent ke paas koi command nahi — aur section record me nahi to us section ka tool bhi nahi.
Brute-force, exploitation, post-exploitation, hash cracking, wireless aur raw shell — sab par ek tap chahiye. Approve karne se pehle exact command dikhta hai. 20 min me expire.
Har event prev_hash → hash chain me. Verify endpoint batata hai kaunsa record toota. Ek click me evidence bundle (zip) — audit + ledger + manifest.
Python 3.10+, 3 dependencies. Tools Kali/Debian/Ubuntu ya Termux par.
# 1) backend + UI cd ratansec-os python3 -m venv .venv && source .venv/bin/activate pip install -r superagent/requirements.txt # 2) config (apni private API key) cp superagent/.env.example .env # APP_PASSWORD=… SUPERAGENT_API_TOKEN=… # SUPERAGENT_API_KEY=sk-… SUPERAGENT_ALLOW_SHELL=1 # 3) tools (jitne chahiye) bash scripts/install-agent-tools.sh core # 4) chalao bash scripts/superagent.sh # http://localhost:8000
| Surface | Use |
|---|---|
/ | Dashboard — chat, terminal, arsenal, runs, approvals, records, reports, evidence |
/mobile | PWA — phone par install, live approvals, terminal |
python -m superagent.cli | Terminal client — agent mode + ! shell passthrough |
/api/docs | OpenAPI — apna app/client banao (X-Agent-Token) |
SUPERAGENT_BASE_URL + SUPERAGENT_MODEL —
OpenRouter, OpenAI, Groq, DeepSeek, Gemini-compat, ya apna local Ollama/vLLM endpoint.
Native Android shell (Kotlin + WebView). Server aapke laptop/VPS par chalta hai, phone console banta hai.
1. RatanSec-SuperAgent-debug.apk download karo (permanent link — hamesha latest build).
2. Phone: "Install unknown apps" allow karo → APK kholo → Install.
3. App me server daalo: http://<laptop-ip>:8000 + SUPERAGENT_MOBILE_TOKEN.
4. Bas — chat, terminal, approvals, records, reports sab phone par.
# laptop / VPS par agent chalao cd ratansec-os cp superagent/.env.example .env # APP_PASSWORD=… SUPERAGENT_MOBILE_TOKEN=… SUPERAGENT_API_KEY=sk-… bash scripts/superagent.sh # http://0.0.0.0:8000
cd ratansec-os/superagent/android && gradle :app:assembleDebug.
Server par APK rakhi ho to /app-debug.apk se bhi download ho jati hai.
Har engagement ke liye ek record banao. Repo me ready-to-sign letter template aur legal checklist bhi hai.
Client letterhead par: scope (Annexure A), window + rate limits (Annexure B), constraints, emergency contacts, liability. Template ↗
Records tab me wahi details daalo — client, hosts, sections, dates, signer + SOW/email reference. Record hash-chain me jud jaata hai.
Har command, approval, report aur revoke evidence chain me. Engagement ke baad record revoke karo (permanent entry banti hai).
AI se report draft, phir evidence bundle export (audit + RoE ledger + chain verification manifest) client ko de do.
IT Act 2000/2008 (Sec 43, 66, 66B-F), DPDP Act 2023 — written scope ke bahar ek packet bhi criminal risk hai. Checklist ↗
Engagement ke liye: patelratan460@gmail.com · WhatsApp