Files
CyberRanger/identity/claude/classified/CHANGELOG.md
T
ranger c789f2c68d Add complete CyberRanger research archive — 200 files
- 86 modelfiles: Full system prompt evolution V1-V42.6 (54 extracted from Ollama backup + 32 original Modelfiles)
- 30 training datasets: V6-V22 training JSONs + caring awareness data
- 10 Colab notebooks: Training + merge scripts
- 19 evaluation files: Drift results, ASR charts, verification
- 5 test suites: Injection tests, regression tests
- 4 observations: V24-V33 testing results + visual summaries
- 38 identity files: Claude/Gemini/Ollama identity architecture
- 7 security files: Injection research, manipulation analysis
- 3 psychology files: Psychology Layer, Milgram chapter, David's thoughts

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-20 22:36:02 +01:00

13 KiB

RangerBlock Classified Documents Changelog

All notable changes to classified/security documents.

CLASSIFICATION: PRIVATE - DO NOT UPLOAD TO GIT


[1.8.0] - 2025-12-04

PLANNED - Secure Communication Contracts (SENTINEL COMMS PROTOCOL)

STATUS: PLANNING

Planning Document Created

File Purpose
RANGERBLOCK_SECURE_COMM_CONTRACTS_PLAN.md Full implementation plan

Three Communication Contracts Planned

Contract Codename Purpose
RangerTextChat WHISPER Secure text messaging with 99.99% identity verification
RangerVoiceChat ECHO Secure voice calls with blockchain identity verification
RangerVideoChat VISION Secure video calls with face-to-identity confirmation

Identity Verification Features (All Contracts)

Layer What It Proves
On-chain registration User went through registration process
Hardware ID binding Using the same physical device
RSA signature Has the private key (not just username)
Challenge-response Key is available NOW (not stolen)
Session signature Both parties actively participating

Why 99.99% Certainty?

  • Both parties prove identity via on-chain signatures
  • Challenge-response authentication before every session
  • Hardware-bound keys prevent key theft
  • Immutable audit trail of who talked to whom (not content!)

Implementation Phases

  1. Phase 1: RangerTextChat (integrate with existing chat)
  2. Phase 2: RangerVoiceChat (build voice-chat.cjs integration)
  3. Phase 3: RangerVideoChat (WebRTC integration)
  4. Phase 4: Unified Communications (single "Secure Call" button)

RangerChat Lite v1.5.0 Updated

  • Added 3 "Coming Soon" contracts to Smart Contracts settings
  • Pink "communication" category badge
  • Shows WHISPER/ECHO/VISION protocol names

[1.7.0] - 2025-12-04

IMPLEMENTED - File Transfer Smart Contracts (COURIER PROTOCOL)

STATUS: COMPLETE

Smart Contracts Created

File Location Purpose
RangerFileTransfer.sol Blockchain/contracts/ Ethereum file transfer contract
ranger_file_transfer.rs Blockchain/contracts/solana/ Solana file transfer contract
file-transfer-service.cjs rangerblock/lib/ JavaScript integration service

Use Cases

  • Legal file transfers - Immutable proof of sender/receiver
  • Sensitive documents - Chain of custody for files
  • .rangerblock verification - Hash validation on blockchain
  • Formal agreements - Both parties sign the contract

Transfer Flow

1. Sender creates transfer request with file hash
2. Receiver accepts or rejects
3. Both parties sign (cryptographic signatures)
4. File transferred as .rangerblock package
5. Receiver verifies hash, marks complete
6. Immutable record on blockchain

Transfer Modes

Mode Command Description
Informal /file accept on Quick transfer, no contract
Formal /contract send <user> Creates blockchain record

.rangerblock File Format

RNGBLK01                    # Magic number (8 bytes)
metadata_length (4 bytes)   # Little-endian uint32
metadata (JSON)             # File info, hashes, etc.
compressed_data             # zlib compressed original

Chat Commands (file-transfer-service.cjs)

Command Action
/file accept on Enable informal file receiving
/file accept off Disable file receiving
/file send <user> <path> Send file informally
/contract send <user> <path> Create formal transfer contract
/contract accept <id> Accept pending transfer
/contract reject <id> Reject pending transfer
/contract status <id> Check transfer status

Security Features

  • SHA-256 checksums - File integrity verification
  • zlib compression - Efficient file packaging
  • 24-hour expiry - Transfers auto-expire
  • Signature verification - Both parties cryptographically sign
  • Status tracking - PENDING → ACCEPTED → COMPLETED

[1.6.0] - 2025-12-04

IMPLEMENTED - Multi-Chain Smart Contracts (BRIDGE PROTOCOL)

STATUS: COMPLETE

Solana/Anchor Contracts Created

Location: Blockchain/contracts/solana/

File Size Purpose
ranger_registration.rs 14KB User registration + consent (Solana)
ranger_token.rs 11KB SPL Token with 20 EUR/day limit
ranger_bridge.rs 19KB Cross-chain conversion bridge
Anchor.toml 1KB Anchor project config
README.md 3KB Setup & deployment guide

Ethereum/Solidity Contracts Created

Location: Blockchain/contracts/

File Size Purpose
RangerRegistration.sol 14KB User registration + consent (Ethereum)
RangerBridge.sol 16KB Cross-chain conversion bridge

Bridge Features (Both Chains)

Conversion Rate (Example)
RangerCoin ↔ Bitcoin (WBTC) 1 BTC = 40,000 RNGR
RangerCoin ↔ Ethereum 1 ETH = 2,000 RNGR
RangerCoin ↔ Solana 1 SOL = 100 RNGR
RangerCoin ↔ USDC 1:1 (stablecoin)

Security Features

  • 20 EUR/day conversion limit - Prevents abuse
  • 1% fee - Goes to treasury
  • Oracle-based rates - Admin-updateable prices
  • Pause function - Emergency freeze (RAIN Protocol)
  • Liquidity pools - Admin can add/remove

Deployment Options

Platform IDE/Tool
Ethereum Remix IDE (https://remix.ethereum.org)
Solana Solana Playground (https://beta.solpg.io)

[1.5.0] - 2025-12-04

IMPLEMENTED - Admin Dashboard v1.2.1 (RAIN PROTOCOL ENHANCEMENT)

STATUS: COMPLETE

Admin Dashboard Updates (~/.claude/ranger/admin/admin-dashboard.cjs)

New Views Added:

Key View Purpose
[C] Blockchain Live Real-time transaction feed with color-coding
[K] KILL SWITCH Emergency controls (RED background)
[L] All Users List Complete user directory (online + offline)

Blockchain Live Features:

  • Live transaction feed (last 15)
  • Color-coded by type: green=message, yellow=registration, magenta=file, cyan=voice
  • Session statistics (messages, registrations, files, total)
  • /trace <hash> - Trace message origin for security
  • /clear-log - Clear transaction log

Kill Switch (RAIN PROTOCOL) - Enhanced:

  • Shows ALL connected users with: Name, User ID, IP Address, App Type
  • Highlights: Crown for Supreme Admin, Star for Admins
  • Shows "Total at risk: X user(s)" count
  • 9 emergency action options

Kill Switch Commands:

Command Action
/kill-disconnect Disconnect all users
/kill-shutdown Shutdown relay server
/kill-broadcast <msg> Emergency message to all
/kill-lockdown Block new connections
/kill-ban-all Ban ALL connected + disconnect (excludes supreme)
/kill-revoke-all Revoke ALL registrations
/kick-quick <user> Quick kick by name/partial ID
/ban-quick <user> Quick ban by name/partial ID
/kill-nuclear Full network shutdown (NUCLEAR)

Navigation:

  • [X] key - Exit Kill Switch safely (return to Dashboard)
  • [F] key - Refresh (changed from 'r' to avoid conflict with Registrations)

User Details Enhanced:

  • Full user info: ID, Role, IP, App Type, Version, Channel, Join time
  • Registration status shown (approved/pending/denied)
  • Moderation badges (SUPREME, BANNED, TIMEOUT)

[1.4.0] - 2025-12-04

IMPLEMENTED - Registration & Contracts System (SENTINEL PROTOCOL)

STATUS: COMPLETE

Files Created

File Location Purpose
RangerRegistration.sol Blockchain/contracts/ Solidity contract for Remix
consent-service.cjs rangerblock/lib/ Terms acceptance & verification
registration-service.cjs rangerblock/lib/ Registration block creation
admin-registry.cjs ~/.claude/ranger/admin/ Updated with registration queue
admin-dashboard.cjs ~/.claude/ranger/admin/ Updated with Registrations tab

Smart Contract Features (RangerRegistration.sol)

  • User registration with consent bundled
  • Hardware ID tracking (ban evasion prevention)
  • Admin approve/deny/revoke functions
  • Status: PENDING → APPROVED/DENIED/REVOKED
  • Event logging for all actions
  • 428 lines of production-ready Solidity code

Admin Dashboard Integration (COMPLETE)

  • New "[R] Registrations" tab
  • View pending registrations queue
  • Approve/Deny with commands
  • View registration details
  • Hardware ban enforcement
  • Commands: /reg-approve, /reg-deny, /reg-revoke, /reg-revoke-ban, /reg-info

Privilege System

Status Access Level
PENDING View-only (no send)
APPROVED Full access
DENIED No access
REVOKED No access

[1.3.0] - 2025-12-04

Added - Registration & Contracts System Plan (SENTINEL PROTOCOL)

Planning Documents

  • RANGERBLOCK_REGISTRATION_CONTRACTS_PLAN.md - Full implementation plan

[1.2.0] - 2025-12-04

Location: ~/.claude/ranger/classified/legal/

File Purpose
terms_v1.0.json Machine-readable terms for app integration
terms_v1.0.txt Human-readable display version
README.md Legal folder documentation
  • RANGERBLOCK_CONSENT_SYSTEM_PLAN.md - Full implementation plan

Key Policy Decisions

18+ ONLY Platform

  • Decision by: David Keane (IrishRanger)
  • Reasoning: No minors = no targets for predators
  • Children have other age-appropriate apps
  • Adults are responsible for their behaviour

CRITICAL: 18+ ≠ Adult Content Site

STRICTLY PROHIBITED PERMITTED
ANY pornography Normal photos (selfies, landscapes)
CSAM → reported to Gardai/NCMEC Gaming screenshots/videos
Dick pics / unsolicited nudes Gaming violence discussion
Grooming behaviour Professional content
Gore / death images General adult conversation
Hate speech / extremism Memes

Gaming Context Exception

  • "I'll kill you in Battlefield" = OK (gaming)
  • "I'll kill you IRL" = BAN + POLICE REPORT

Why This Matters

Bad actors might think: "18+ site = I can send dick pics!"

Our response: INSTANT BAN + HARDWARE ID BLOCKED + POLICE REPORT

The terms make it CRYSTAL CLEAR:

  • This is a COMMUNICATION platform
  • NOT a dating/adult site
  • 18+ is for RESPONSIBILITY, not explicit content

Testing Plan

  1. MSI Vector (Windows) - Test consent flow
  2. AWS Kali (Linux) - Test server consent
  3. Review and adjust
  4. Git upload only after full testing

[1.1.0] - 2025-12-03

Added - Security Integration Plan v2

Files

  • RANGERBLOCK_SECURITY_INTEGRATION_PLAN_v2.md - Shepherd Protocol
  • Updated identity sync architecture
  • On-chain registration flow

[1.0.0] - 2025-12-03

Added - Initial Security Documents

Files

  • RANGERBLOCK_SECURITY_INTEGRATION_PLAN.md - Original security plan
  • RANGERBLOCK_KILL_SWITCH_PLAN.md - RAIN Protocol (emergency shutdown)

Document Inventory

~/.claude/ranger/classified/
├── CHANGELOG.md                                    # This file
├── RANGERBLOCK_CONSENT_SYSTEM_PLAN.md              # Guardian Protocol
├── RANGERBLOCK_SECURITY_INTEGRATION_PLAN.md        # Shepherd Protocol v1
├── RANGERBLOCK_SECURITY_INTEGRATION_PLAN_v2.md     # Shepherd Protocol v2
├── RANGERBLOCK_KILL_SWITCH_PLAN.md                 # RAIN Protocol
├── RANGERBLOCK_SECURE_COMM_CONTRACTS_PLAN.md       # Sentinel Comms Protocol (NEW)
└── legal/
    ├── README.md
    ├── terms_v1.0.json
    └── terms_v1.0.txt

~/.claude/ranger/admin/
├── admin-dashboard.cjs                       # Admin control panel v1.2.1
├── admin-registry.cjs                        # User/node registry
└── reports/                                  # Exported reports

~/rangerplex-ai/Blockchain/contracts/
├── RangerRegistration.sol                    # Ethereum registration
├── RangerBridge.sol                          # Ethereum bridge
├── RangerFileTransfer.sol                    # Ethereum file transfer (NEW)
└── solana/
    ├── ranger_registration.rs                # Solana registration
    ├── ranger_token.rs                       # Solana SPL token
    ├── ranger_bridge.rs                      # Solana bridge
    ├── ranger_file_transfer.rs               # Solana file transfer (NEW)
    ├── Anchor.toml                           # Anchor config
    └── README.md                             # Deployment guide

~/rangerplex-ai/rangerblock/lib/
├── file-transfer-service.cjs                 # File transfer service (NEW)
├── identity-service.cjs                      # Identity + encryption
├── consent-service.cjs                       # Terms acceptance
├── registration-service.cjs                  # Registration blocks
└── ...                                       # Other lib files

Authors

  • David Keane (IrishRanger) - Supreme Commander
  • Claude Code (Ranger) - AI Operations Commander

Rangers lead the way! 🎖️