Skip to content

Lawlez/reduit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

PROJECT Rร‰DUIT ๐Ÿ‡จ๐Ÿ‡ญ

โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•
โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   
โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•  โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   
โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   
โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•  โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•   โ•šโ•โ•
S W I S S   D I G I T A L   R E D O U B T

Platform Architecture Docker LLM License

"The mountain is dumb, but the man on it is smart."

โ€” General Henri Guisan


๐Ÿ›ก Overview

Project Rรฉduit is a hardened, airโ€‘gapโ€‘capable Operational Intelligence System for offensive security professionals. It is purposeโ€‘built for Apple Silicon (M1โ€“M4) and runs local Large Language Models (LLMs) natively on the Neural Engine, ensuring performance, privacy, and zero data exfiltration.

Rรฉduit is not a chatbot. It is a digital redoubt: a defensible intelligence position that separates knowledge, tools, and firepower into clearly defined operational tiers. This design prevents context pollution, reduces hallucinations, and preserves deterministic access to your arsenal.


๐Ÿ“‹ Table of Contents


๐ŸŽฏ Design Goals

  • Airโ€‘gap ready โ€” no mandatory external network dependencies
  • Localโ€‘only AI โ€” zero prompt leakage, zero cloud inference
  • Deterministic tooling โ€” raw payloads are never embedded or hallucinated
  • Operational separation โ€” intelligence, payloads, and scripts remain isolated
  • Macโ€‘native performance โ€” optimized for Apple Silicon GPU / Neural Engine

๐Ÿ— Architecture & Design

Tiered Intelligence Model

Rรฉduit enforces a strict, threeโ€‘tier intelligence pipeline:

Tier Name Engine Purpose
1 Recall Vector RAG Instant semantic recall of notes, SOPs, PDFs, and methodology
2 Armory Halberd Tool Deterministic access to raw payloads, scripts, and binaries
3 Discovery SearXNG Privacyโ€‘preserving web search (explicitly requested only)

This architecture ensures:

  • No wordlists or binaries pollute the model context
  • No hallucinated payloads or corrupted scripts
  • Predictable, auditable AI behavior

The Redoubt Filesystem

The filesystem is modeled after the Swiss National Redoubt doctrine: compartmentalized, defensible, and purposeโ€‘built.

/library
โ”œโ”€โ”€ intel/          [Sector A] Strategic Intelligence
โ”‚   โ”œโ”€โ”€ notes.md    # Vector-indexed for RAG
โ”‚   โ””โ”€โ”€ report.pdf
โ”œโ”€โ”€ munitions/      [Sector B] Raw Firepower
โ”‚   โ”œโ”€โ”€ seclists/   # Immutable payload collections
โ”‚   โ””โ”€โ”€ binaries/   # Download links / hashes / hex dumps only
โ””โ”€โ”€ ordnance/       [Sector C] Tactical Tools
    โ”œโ”€โ”€ script.py   # AI reads code verbatim
    โ””โ”€โ”€ config.sh   # Editable execution configs

Principle: The AI never invents weapons โ€” it retrieves them.


๐Ÿš€ Getting Started

Prerequisites

Hardware

  • Apple Silicon Mac (M1 / M2 / M3 / M4)

Software

  • Docker Desktop for macOS
  • Ollama for macOS (native execution required)

Installation

1. Establish the Perimeter

mkdir -p ~/project-reduit/data/{open-webui,searxng}
mkdir -p ~/project-reduit/library/{intel,munitions,ordnance}

2. Stock the Redoubt

  • intel/ โ€” Notes, PDFs, methodology
  • munitions/ โ€” SecLists, fuzzing lists (readโ€‘only)
  • ordnance/ โ€” Custom scripts and configs

3. Deploy Infrastructure

cd ~/project-reduit
docker compose up -d

4. Activate Halberd

Workspace โ†’ Tools โ†’ Create Tool โ†’ Halberd โ†’ paste halberd.py โ†’ enable

5. Configure the Model

Administration โ†’ select model โ†’ paste system.md into System Prompt

6. Configure the Knowledge Base

Knowledge Base โ†’ new KB โ†’ sync /library/intel โ†’ wait for indexing


๐ŸŽฎ Usage Guide

The Halberd Protocol

Requests are routed automatically based on intent and target sector.

Operational Examples

Intel Retrieval โ†’ RAG search

Munitions โ†’ File retrieval (links only)

Ordnance โ†’ Verbatim code output


Remote Access

  • LAN: http://<MAC_IP>:3000
  • Tailscale: http://<TAILSCALE_IP>:3000

โš ๏ธ Disclaimer

Authorized use only. No liability. Operate legally and ethically.


Remote Access

  • Local Network: Access via http://<YOUR_MAC_IP>:3000 from any device on the same LAN

  • Tailscale (Optional, Recommended): Secure, encrypted remote access without port forwarding

    1. Install Tailscale on the host Mac and client device
    2. Authenticate both devices to the same tailnet
    3. Access Rรฉduit via Magic DNS or IP:
http://<TAILSCALE_IP>:3000

Troubleshooting

RAG / Knowledge Base Issues

If documents are not being recalled or embeddings fail to generate, ensure a compatible local embedding model is installed:

ollama pull nomic-embed-text

Then restart the stack:

docker compose restart

Performance Issues

  • Ensure Ollama is running natively, not under Rosetta
  • Verify the model fits within available unified memory
  • Large PDFs may require re-indexing after initial import

Airโ€‘Gapped Operation

  • Disable Tier 3 (Discovery) if no outbound network is permitted
  • Rรฉduit operates fully offline for Tier 1 and Tier 2 operations

Est. 2025 โ€” Project Rรฉduit

About

PROJECT Rร‰DUIT ๐Ÿ‡จ๐Ÿ‡ญ - is a specialized, air-gapped capable Operational Intelligence System designed for offensive security professionals.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages