TERMITE

A Cybernetic Organism That Eats Logs

Nature

A termite doesn’t “attack” wood. It digests structure because that is what it is. Termite digests logs. Security telemetry is its environment. Event streams are its food.

The organism does not aspire to be a dashboard. It does not decorate WordPress. It tunnels in, extracts fiber, and carries it outward for systems built to interpret behavior.

How It Lives

WordPress + Wordfence ↓ Termite Export Bridge (Read-Only) ↓ Structured JSON Fiber ↓ External Analysis Systems ↓ Classification / Detection / Alerting

The plugin provides a secure extraction point. The Python client provides a mechanical ingestion interface. Future integrations will classify what is human, what is automation, and what is intrusion.

Live Data Retrieval Systems (Simulation)

Termite digestion console
digestion channel: active

Secret Generation

openssl rand -hex 32

The organism requires a shared key. Without it, no feeding occurs. Rotate secrets periodically. Use HTTPS. Enable IP restriction when possible.

Applications

Setup & Installation

1. WordPress Plugin (Server Side)

Termite requires the companion WordPress export plugin installed on a site running WordPress + Wordfence.

  1. Copy the Termite plugin PHP file into /wp-content/plugins/
  2. Activate the plugin from the WordPress Admin panel
  3. Generate a secure secret:
openssl rand -hex 32

Insert the generated value into the plugin constant:

define('WF_EXPORT_SECRET', 'YOUR_GENERATED_SECRET');

Optional: Restrict access by IP inside the plugin configuration.

Endpoint format:

https://yourdomain.com/wp-json/wfexport/v1/hits?key=YOUR_SECRET

2. Python Client (Local Machine)

Termite Client requires Python 3.8+ and the requests package.

Linux

# Install Tkinter (Debian / Ubuntu) sudo apt install python3-tk # Install requests pip install requests # Run python3 termite.py

Arch Linux:

sudo pacman -S tk pip install requests python termite.py

Fedora:

sudo dnf install python3-tkinter pip install requests python3 termite.py

Windows

Install Python from python.org. Tkinter is included in the official installer.

pip install requests python termite.py

macOS

Use the official python.org installer. Tkinter is included.

pip install requests python3 termite.py

3. Optional: Build Standalone Executable

pip install pyinstaller # Build single-file binary pyinstaller --onefile --windowed termite.py

Compiled output will be located in:

dist/termite

The --windowed flag suppresses terminal output on Windows.

Download Plugin + Python Client