Skip to content

Ruby570bocadito/Specter-Terminal

Repository files navigation

header

Typing SVG


⚡ Architecture

flowchart LR
    U[👤 User]
    T[💻 Specter Terminal]
    L[🧠 Ollama Local LLM]
    S[🔒 Sandbox Executor]
    K[⚙️ Security Tools]

    U -->|"Commands / Prompts"| T
    T -->|"Context + Queries"| L
    L -->|"Generated Actions"| T
    T -->|"Execute Action"| S
    S -->|"Scope Validation"| S
    S -->|"Approved Call"| K
    K -->|"Raw Output"| S
    S -->|"Filtered Result"| T
    T -->|"Formatted Response"| U

    style U fill:#0a0a0a,stroke:#00FFAA,color:#fff
    style T fill:#0a0a0a,stroke:#00aaff,color:#fff
    style L fill:#0a0a0a,stroke:#FF00AA,color:#fff
    style S fill:#0a0a0a,stroke:#FFD700,color:#fff
    style K fill:#0a0a0a,stroke:#FF4500,color:#fff
Loading

🚀 Quick Start

# 1. Clone the repository
git clone https://github.com/Ruby570bocadito/Specter-Terminal.git
cd Specter-Terminal

# 2. Install dependencies
pip install -r requirements.txt

# 3. Ensure Ollama is running with a compatible model
ollama pull mistral:7b  # or llama3, dolphin-mixtral, etc.

# 4. Launch Specter-Terminal
python specter.py

Requirements: Python 3.10+, Ollama installed and running, Linux/WSL environment.

🎯 Features

Feature Description
🧠 Local LLM Integration Full Ollama integration (mistral, llama3, qwen, gemma, deepseek). Zero data leaves your machine.
🔐 Sandboxed Execution Allow-all with intelligent blocklist, scope validation, rate limiting, auto-sudo approval.
🛠️ MCP Advanced Tool templates, chaining, auto-discovery, output parsers, interactive prompt builder.
🕵️ AI Skills Recon, OSINT, Web, Post-Exploitation, Forensics, Active Directory, Reporting.
🎮 Orchestrator Parallel sub-agents: Recon → Exploit → Analyst → Reporter. Conditional workflows.
📖 Wordlists 700+ integrated entries + support for rockyou.txt, SecLists, external archives.
📊 Workflows Conditional steps, loops, variables, interactive editor, real-time skill execution.
📋 Guardrails Prompt injection detection, sensitive data filtering, tool approval gates, audit logs.
🔌 Plugin System Custom skill loader, community plugins, extensible tool registry.
📡 Offline Mode Full capability without internet. Air-gapped by design. No telemetry.

⌨️ Available Commands

Command Description
/help Show interactive help menu
/scan <target> Run AI-guided reconnaissance
/exploit <target> Launch exploitation sequence
/recon <domain> OSINT and subdomain enumeration
/post <session> Post-exploitation actions
/forensics <path> Forensic analysis on target
/report Generate pentest report
/workflow <name> Execute saved workflow
/skill <name> Load a security skill
/sandbox <cmd> Run command in sandbox
/config Edit configuration
/quit Exit Specter-Terminal

🖥️ Terminal Preview

 ╭──────────────────────────────────────────────────────╮
 │  SPECTER › Offensive AI Security Terminal  v3.0      │
 ├──────────────────────────────────────────────────────┤
 │                                                      │
 │  [user@specter]$ /scan 10.0.1.0/24                   │
 │                                                      │
 │  ◇ Loading skill: network-recon...                   │
 │  ◇ Querying Ollama (mistral:7b)...                   │
 │  ◇ AI suggests: Nmap SYN scan + Service enum         │
 │  ◇ Executing: nmap -sS -sV -O 10.0.1.0/24           │
 │  ◇ Sandbox: approved ✓                                │
 │                                                      │
 │  ┌─ Results ─────────────────────────────────────┐   │
 │  │  10.0.1.1   → 80/tcp   Apache 2.4.41          │   │
 │  │  10.0.1.5   → 22/tcp   OpenSSH 8.2p1          │   │
 │  │  10.0.1.10  → 443/tcp  nginx 1.18.0           │   │
 │  │  10.0.1.15  → 445/tcp  Samba                   │   │
 │  └───────────────────────────────────────────────┘   │
 │                                                      │
 │  ◇ AI analysis: 4 hosts discovered.                  │
 │  ◇ Recommending: Web vuln scan on 10.0.1.1           │
 │                                                      │
 │  [user@specter]$ _                                    │
 │                                                      │
 ╰──────────────────────────────────────────────────────╯

🏗️ Project Structure

Specter-Terminal/
├── core/
│   ├── engine.py          # Main execution engine
│   ├── orchestrator.py    # AI orchestrator
│   └── sandbox.py         # Sandbox executor
├── skills/
│   ├── recon/            # Reconnaissance skills
│   ├── exploit/          # Exploitation skills
│   ├── post/             # Post-exploitation
│   └── forensics/        # Forensics skills
├── plugins/
│   └── community/        # Community plugins
├── config/
│   ├── settings.yaml     # Global configuration
│   └── wordlists/        # Built-in wordlists
├── specter.py            # Entry point
├── requirements.txt      # Dependencies
└── README.md             # This file

🛡️ Security & Ethics

Specter-Terminal is designed for authorized security professionals only. Always:

  • ✅ Obtain explicit written permission before testing any system
  • ✅ Use only in isolated, air-gapped environments for production testing
  • ✅ Follow responsible disclosure practices
  • ❌ Never use against systems you don't own or have written authorization for
  • ❌ Never upload sensitive findings to public repositories

Disclaimer: The authors assume no liability for misuse. You are responsible for complying with all applicable laws.

🛠️ Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you'd like to change.

# Development setup
git clone https://github.com/Ruby570bocadito/Specter-Terminal.git
cd Specter-Terminal
pip install -r requirements-dev.txt

📄 License

MIT © 2025 Ruby570bocadito


Built with ❤️ for the security community · 100% Air-Gapped · Zero Trust · Zero Compromise

About

Offline AI-powered offensive security terminal — 100% air-gapped pentesting assistant with local LLM (Ollama), sandboxed execution, and real-time guidance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages