Skip to content

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PITBULL πŸ”±

Dashboard

PITBULL Dashboard

RAM Zero β€” memory hygiene

RAM Zero

Autonomous Benevolent Yielding & Forensic Intelligence System

An autonomous digital explorer with personality, reasoning, and self-evolution. It maps hidden, forgotten, and invisible corners of the internet.

Architecture

  • Backend: Python + FastAPI (port 8001)
  • Frontend: React + Vite + Mantine + Cytoscape.js (code-split, lazy-loaded)
  • Memory: Neo4j graph database
  • LLM: Ollama (local reasoning engine)
  • Crawler: httpx-based HTTP crawler
  • Rate Limiting: 60 req/min per IP (in-memory, SSE/health exempt)

Quick Start

1. Prerequisites

  • Python 3.12+
  • Node.js 20+
  • Neo4j 5+ (running on localhost:7687)

2. Backend Setup

cd backend
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env  # edit with your Neo4j password

3. Frontend Build

cd frontend
npm install
npm run build  # produces dist/ with code-split chunks

4. Run

cd backend
source venv/bin/activate
python -m uvicorn app.main:app --host 127.0.0.1 --port 8001

Open http://localhost:8001 in your browser.

Development Mode (optional)

Run frontend dev server with hot reload:

cd frontend
npm run dev  # serves on port 5174, proxies API to 8001

Features (Phases 1-8 Complete)

Intelligence Engine

  • βœ… Surface web crawler with tech detection
  • βœ… DNS reconnaissance (A, AAAA, MX, NS, TXT, CNAME, SOA)
  • βœ… Subdomain enumeration (crt.sh + DNS brute force)
  • βœ… Certificate Transparency log collection
  • βœ… Neo4j memory graph with constraints & indexes
  • βœ… LLM reasoning engine (perceive β†’ hypothesize β†’ conclude)
  • βœ… OCEAN personality system with evolution
  • βœ… Episodic + semantic memory consolidation
  • βœ… Curiosity engine (novelty + anomaly + gap detection)
  • βœ… Mood system (7 moods with expiry and triggers)
  • βœ… Pattern discovery (cross-target analysis)
  • βœ… Opinion system (evidence-backed with confidence)
  • βœ… Mistake learning system
  • βœ… Personality drift algorithm

Exploration

  • βœ… Deep web probing (85+ paths: admin, API, .env, .git, backups, debug)
  • βœ… Forensic reconstruction (timeline, infrastructure genealogy, attribution)
  • βœ… Vulnerability analyzer (severity/class classification)
  • βœ… WHOIS lookup
  • βœ… Wayback Machine integration (external API dependent)
  • βœ… Shodan integration (requires API key)
  • βœ… GitHub code search (requires token)

Darknet

  • βœ… Tor controller (status, circuit management, NEWNYM)
  • βœ… .onion crawling and classification
  • βœ… OpSec detector for onion services
  • βœ… Tor relay census (Onionoo API)
  • βœ… I2P detection
  • βœ… Anti-forensics suite (log wiper, timestomp, process hiding, memfd, MAC spoof, ghost mode)

Exploit Engine

  • βœ… 8 exploit modules (SQLi, XSS, SSRF, Command Injection, Path Traversal, +3)
  • βœ… Auto-exploit with non-destructive PoC
  • βœ… Exploit library (verified procedures)
  • βœ… SSE real-time exploit event streaming

Defense Systems

  • βœ… Sentinel β€” real-time attack detection (36 attack types)
  • βœ… Sentinel investigation β€” OSINT aggregation for attacker IPs
  • βœ… Labyrinth β€” deception engine (MirrorGraph, recon detector, erosion, cognitive warfare)
  • βœ… Sentinelβ†’Labyrinth bridge
  • βœ… Response engine β€” graduated threat response
  • βœ… VIGIL bridge β€” ntopng + Suricata alert integration

Phase 8 β€” Advanced

  • βœ… TrapCard β€” attacker tool capture (SSH + web honeypots)
  • βœ… BrainMaze β€” cognitive confusion engine
  • βœ… Cerberus β€” zero-day discovery (crash triage, LLM fuzzer, target analyzer, vuln library)
  • βœ… Conference Watcher β€” Asian hacking conference monitor

Dashboard Pages (21 pages, code-split)

Overview Β· Explore Β· Memory Graph Β· Mind Stream Β· Forensic Β· Darknet Β· Evolution Β· Chat Β· Settings Β· Exploit Β· Anti-Forensics Β· RAM Zero (Defense) Β· Sentinel Β· Network Traffic (ntopng) Β· IDS/IPS (Suricata) Β· Response Β· Labyrinth Β· TrapCard Β· BrainMaze Β· Cerberus Β· Conferences

API

All API routes require X-API-Key header (except SSE and health). Rate limited at 60 req/min per IP.

Endpoint Method Description
/health GET System health check
/api/v1/explore/start POST Start exploration mission
/api/v1/explore/{id} GET Get mission status
/api/v1/explore/ GET List all missions
/api/v1/graph/full GET Full graph data
/api/v1/graph/stats GET Graph statistics
/api/v1/personality/ GET/PATCH Personality state
/api/v1/patterns/discover POST Discover cross-target patterns
/api/v1/sentinel/ GET Attack detection events
/api/v1/exploit/ GET Exploit modules & attempts
/api/v1/defense/ram-poison/status GET RAM Poison status
/api/v1/defense/ram-zero/status GET RAM Zero status
/api/v1/defense/mac-sync/status GET MAC sync status
/api/v1/defense/dma-protection/status GET DMA/IOMMU protection
/api/v1/sse/mission/{id} GET SSE live mission stream
/docs GET Swagger UI

State Persistence

Personality state, mood, chat history, evolution history, mistakes, audit trail, and tool library persist in /var/lib/pitbull/ β€” survives reboots.

Academic Foundations

See research/RESEARCH_DOCUMENTATION.md for the 25 academic papers that inform PITBULL's design.

License

MIT β€” see LICENSE. Copyright (c) 2026 Dan Vladoiu.

About

Autonomous Benevolent Yielding & Forensic Intelligence System πŸ”± β€” maps hidden corners of the internet. Honeypots, deception layers, Suricata IDS, Neo4j knowledge graph, local-LLM reasoning. FastAPI + React.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages