Skip to content

Latest commit

 

History

643 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wildbox

Self-hosted, open-source security operations platform. Threat monitoring, analysis, and automated response with full control over your data.

License: MIT Docker Python TypeScript CodeQL Dependabot Updates

Featured on

Featured on Self-Host Weekly Listed on LibHunt Featured on Product Hunt


What is Wildbox?

  • Aggregate threat intelligence from 50+ sources
  • Monitor cloud infrastructure security posture (AWS, Azure, GCP)
  • Automate incident response with YAML playbooks
  • Track and manage vulnerabilities
  • Collect endpoint telemetry
  • Use LLMs for threat analysis and report generation

Features

Feature Description
API Gateway Single entry point with rate-limiting and authentication
Identity Management Users, teams, RBAC (Role-Based Access Control), JWT (JSON Web Tokens)
Cloud Security (CSPM) CSPM (Cloud Security Posture Management): scan AWS, Azure, GCP for misconfigurations
Vulnerability Management Scan, prioritize, and track vulnerabilities (CVE)
Automated Response (SOAR) SOAR (Security Orchestration, Automation, and Response): YAML-based playbooks
LLM Analysis LLM-based (Large Language Models) threat analysis and reporting

Architecture

Microservices architecture. Each component is an independent service communicating through an API gateway.

graph TD
    subgraph "Client Layer"
        UI[Dashboard UI]
        CLI[CLI Tools]
        API_CLIENT[API Clients]
    end

    subgraph "Gateway Layer"
        GATEWAY[Security Gateway]
        IDENTITY[Identity Service]
    end

    subgraph "Core Services"
        API[Security API]
        DATA[Data Lake]
        CSPM[CSPM Service]
        GUARDIAN[Guardian]
        RESPONDER[Responder]
        AGENTS[AI Agents]
        SENSOR[Sensor]
    end

    subgraph "Data Layer"
        POSTGRES[(PostgreSQL)]
        REDIS[(Redis)]
        ELASTICSEARCH[(Elasticsearch)]
    end

    subgraph "External Services"
        STRIPE[Stripe]
        OPENAI[OpenAI]
        FEEDS[Threat Feeds]
        CLOUD_APIS[Cloud APIs]
    end

    UI --> GATEWAY
    CLI --> GATEWAY
    API_CLIENT --> GATEWAY

    GATEWAY --> IDENTITY
    GATEWAY --> API
    GATEWAY --> DATA
    GATEWAY --> CSPM
    GATEWAY --> GUARDIAN
    GATEWAY --> RESPONDER
    GATEWAY --> AGENTS

    SENSOR --> GATEWAY

    API --> POSTGRES
    DATA --> POSTGRES
    CSPM --> POSTGRES
    GUARDIAN --> POSTGRES
    RESPONDER --> POSTGRES
    AGENTS --> POSTGRES

    GATEWAY --> REDIS
    API --> REDIS
    CSPM --> REDIS
    RESPONDER --> REDIS

    DATA --> ELASTICSEARCH

    IDENTITY --> STRIPE
    AGENTS --> OPENAI
    DATA --> FEEDS
    CSPM --> CLOUD_APIS
Loading

Screenshot

Wildbox Dashboard showing threat intelligence feed, vulnerability management interface, and security metrics


Table of Contents


Quick Start

Prerequisites

  • Docker >= 20.10
  • Docker Compose >= 2.0
  • 8GB RAM minimum (16GB recommended)
  • Linux, macOS, or Windows with WSL2

Installation

# 1. Clone the repository
git clone https://github.com/fabriziosalmi/wildbox.git
cd wildbox

# 2. Create environment file from template
cp .env.example .env

# 3. Generate secure secrets
openssl rand -hex 32  # Use output for JWT_SECRET_KEY
openssl rand -hex 32  # Use output for DATABASE_PASSWORD
# Update .env file with generated secrets

# 4. Start all services
docker-compose up -d

# 5. Wait for services to initialize (2-3 minutes)
docker-compose logs -f gateway identity

# 6. Verify health status
curl http://localhost/health
curl http://localhost:8001/health

# 7. Access the platform
# Gateway:           http://localhost          (the only port bound beyond localhost)
# Dashboard:         http://localhost:3000     (127.0.0.1 only)
# API Documentation: http://localhost:8000/docs (127.0.0.1 only)

These addresses work on the machine running Docker, and nowhere else. Only the gateway publishes on all interfaces, on ports 80, 443 and 8080. Every other service is bound to 127.0.0.1, and PostgreSQL and Redis publish nothing at all. That is deliberate: the gateway is where authentication and rate limiting live, so everything from outside is meant to arrive through it. To reach the dashboard from another machine, put it behind the gateway or open an SSH tunnel; do not move the binding.

The one service behind a profile is automations, which stays down until you ask for it:

docker-compose --profile automations up -d

Until then /api/v1/automations/ returns 502, which is expected rather than broken.

Default Credentials

The first admin account is created from the values you set in .env:

  • Email: INITIAL_ADMIN_EMAIL
  • Password: INITIAL_ADMIN_PASSWORD

Set both to strong values before the first start, and change the password after first login.

Next Steps

  1. Review Security Best Practices
  2. Configure Environment Variables
  3. Read Deployment Guide for production setup
  4. Explore API Documentation

Troubleshooting

  • Check Docker logs: docker-compose logs <service-name>
  • Verify port availability: netstat -tuln | grep -E '(8000|8001|3000|5432|6379)'
  • Ensure sufficient disk space: df -h
  • See TROUBLESHOOTING.md for common issues

Components

open-security-identity

Identity management, JWT authentication, API key management, subscription billing. FastAPI, PostgreSQL, Stripe, JWT.

open-security-gateway

API gateway with routing, rate-limiting, and authentication. OpenResty (Nginx + Lua), Redis, Docker.

open-security-tools

Unified API for 50+ security tools with dynamic discovery and execution. FastAPI, Redis, Docker.

open-security-data

Threat intelligence aggregation and serving. FastAPI, PostgreSQL, Elasticsearch, Redis.

open-security-cspm (In Development)

Multi-cloud security posture management and compliance scanning. Defined in the default docker-compose.yml without a profile, so it starts with everything else. "In development" describes the feature surface, not whether the container runs. FastAPI, Celery, Redis, Python cloud SDKs.

open-security-guardian

Vulnerability lifecycle management with risk-based prioritization. Django, PostgreSQL, Celery, Redis.

open-security-sensor (In Development)

Endpoint monitoring and telemetry collection. Defined in the default docker-compose.yml without a profile, so it starts with everything else. "In development" describes the feature surface, not whether the container runs. osquery, Python, HTTPS.

open-security-responder

Incident response automation with YAML-based playbooks. FastAPI, Dramatiq, Redis.

open-security-automations

Node-based workflow automation for connecting services and APIs. n8n, Node.js, Docker.

open-security-agents

LLM-based security analysis and automation. FastAPI, Celery, LangChain, OpenAI.

open-security-dashboard

Web interface for the platform. Next.js, TypeScript, Tailwind CSS, TanStack Query.


Technology Stack

Frontend

  • Next.js 14 - React framework with App Router
  • TypeScript 5.0+ - Type-safe JavaScript
  • Tailwind CSS - Utility-first CSS framework
  • Shadcn/ui - React components built on Radix UI
  • TanStack Query - Data synchronization for React
  • Recharts - Charting library for React

Backend

  • FastAPI - Python async web framework
  • Django 4.2 LTS - Python web framework
  • OpenResty - Nginx + LuaJIT
  • PostgreSQL 15 - Relational database
  • Redis 7 - In-memory data store for caching and queues
  • SQLAlchemy - Python ORM
  • Alembic - Database migrations
  • Celery - Distributed task queue

AI

  • OpenAI API - LLM integration for threat analysis
  • LangChain - LLM application framework
  • Pydantic - Data validation
  • NLTK - Natural language processing
  • Scikit-learn - Machine learning

Infrastructure

  • Docker / Docker Compose - Containerization and orchestration
  • Nginx - Reverse proxy
  • Prometheus - Metrics and monitoring
  • Grafana - Visualization
  • GitHub Actions - CI/CD

Security

  • JWT - Authentication tokens
  • bcrypt - Password hashing
  • cryptography - Cryptographic primitives
  • osquery - Endpoint monitoring
  • TLS 1.3 - Transport encryption

Roadmap

Current version: v0.8.0 (Security-Hardened)

Phase 1: Stabilization - Done

  • Core security controls, documentation, CI/CD

Phase 2: Security Hardening - Done

  • 3-round security audit, 35 issues fixed
  • 96/98 Dependabot alerts resolved
  • JWT revocation, account lockout, network segmentation
  • Docker network isolation, CI/CD secrets, Prometheus alerting

Phase 3: Feature Expansion - Planned

  • Additional cloud provider integrations
  • Extended SOAR capabilities
  • Next.js 16 migration

Commercial support & consulting

Running Wildbox - or building out SIEM/SOAR/WAF? I offer paid support, deployment & tuning, and consulting - custom detection & SOAR, hardening, and WAF. Reach out: fabrizio.salmi@gmail.com.

Contributing

See Contributing Guide for development setup and guidelines.


Documentation

Full documentation: wildbox.io


License

MIT License. See LICENSE.


Support

About

An open-source security platform for the community. Unified SIEM, SOAR, WAF, and more in a single, self-hosted solution.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

133 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages