INTEGRATION GUIDE

Step-by-step backend setup

Configure your environment, seed keys, inspect proxy headers, and deploy custom decoy traps in four modular steps.

01
PREREQUISITESACTIVE

Environment configuration & virtualenv

Set up the isolated runtime and supply secret environmental variables.

02
STORAGE & MIGRATION

SQLite database initialization & key seeding

Create the storage schema mapping 100-character master keys to allowed IPs.

03
HEADER VALIDATION

Protected endpoint routing & proxy IP inspection

Resolve real client origins through reverse proxies and verify credentials.

04
ACTIVE DEFENSE

Decoy honeypot diversion & silent alerting

Serve HTTP 200 infinite-loop decoys on failure while dispatching Discord webhooks.

.env / setup.sh
bash
Step 01PREREQUISITES
Environment configuration & virtualenv
Isolate your Python deployment environment, install Flask and cryptographic networking libraries, and configure your webhook secret tokens in a restricted .env file.
# Create and activate clean virtual environment
python3 -m venv venv
source venv/bin/activate

# Install core runtime dependencies
pip install Flask requests python-dotenv

# Create environment configuration
cat << 'EOF' > .env
FLASK_ENV=production
DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/your_id/your_token"
DATABASE_PATH="secure_keys.db"
EOF

100-char master key

High-entropy secret string passed in the X-Access-Key request header.

IP lock verification

Parses proxy chains to guarantee client IP strictly matches allowed records.

Honeypot trap loop

Returns HTTP 200 with an infinite print spam loop to freeze unauthorized tooling.

Silent Discord alerts

Asynchronously transmits intrusion telemetry directly to private webhooks.