Repository navigation
Releases: boredpolymath/slashbeacon
Release list
SlashBeacon v0.5.0 (Post-Mortem Release)
Overview
SlashBeacon v0.5.0 (Post-Mortem Release) delivers key operational and lifecycle features learned from real-world testing. Leading this milestone is granular, one-by-one member removal directly from the Protected Members vault with an inline safety confirmation flow, ensuring clean server departures without risk of accidental dismissals. Furthermore, v0.5.0 resolves IPC disconnect modal handling when unlinking Discord servers, sanitizes and isolates dev-mode mock data fixtures from release bundles, and upgrades the complete public screenshot carousel and visual identity to reflect the live, hardened state of SlashBeacon.
What's New & Hardened in v0.5.0
1. Granular Protected Member Removal
- Individual Member Deletion: Added an intuitive, accessible Remove button to each protected member profile card in the Protected Members vault (
#pane-vault). - Inline Safety Confirmation: Two-stage interactive confirmation (
"Remove"->"Confirm?") with automatic 3.5-second reset and outside-click/Escape cancellation, preventing accidental removal while bypassing modal freezes on macOS WKWebView. - Immediate State & Ledger Synchronization: Invokes the native Tauri
delete_benchmarkcommand, purges the record from SQLite, automatically updates the live counter badge (counter-vault), renders the clean empty state if the vault is emptied, and logs an immutabledelete_benchmarkaudit trail record.
2. Disconnect & Gateway Resilience
- Safe Server Disconnection: Fixed Discord disconnection flow by handling gateway state transitions gracefully without modal freezes or uncaught exceptions.
- Production Asset Isolation: Ensured sample / mock fixture data is strictly confined to local development testing, guaranteeing release builds launch with clean-slate zero-data defaults.
3. Visual Identity & Showcase Asset Refresh
- Updated Hero Banner (
logo.png): Modernized root and documentation hero banner featuring the radiant SlashBeacon crystalline emblem and official branding. - Live Interface Screenshots & Animated Carousel: Re-rendered all 5 showcase screenshots (
screenshot_protected.png,screenshot_alerts.png,screenshot_activity_log.png,screenshot_discord_setup.png,screenshot_setup_guide.png) and the animatedapp_carousel.webpin native macOS dark-mode window chrome reflecting current v0.5.0 UI controls.
4. Cryptographic Provenance & Test Gates
- 215/215 Passing Tests: Full test suite pass across Rust backend modules, IPC handlers, and frontend components.
- Manifests & Signatures: Synchronized checksums and OpenPGP/minisign signatures across
release/latest.json,release/SHA256SUMS.txt, andrelease/RELEASE_MANIFEST.md.
SlashBeacon v0.4.5
Overview
SlashBeacon v0.4.5 marks a milestone release, delivering the complete brand transition from TruthBeacon to SlashBeacon. This release debuts a comprehensive visual identity overhaul—including tailored vector emblem and wordmark artwork, high-resolution multi-format application icons, and updated drag-and-drop installer presentation graphics. Beneath the surface, v0.4.5 hardens DOM element queries with fallback fixtures for rock-solid UI stability, elevates core system dependencies (including Tokio 1.53.2, Tauri 2.12.2, Rustls 0.23.46, and getrandom 0.4.3), incorporates native Trivy vulnerability auditing and OpenVEX exemption schemas, and certifies 100% test coverage across all 215 backend test suites and frontend testing modules.
What's New & Hardened in v0.4.5
1. Complete SlashBeacon Rebrand & Visual Identity
- Unified Brand Identity: Seamlessly rebranded from TruthBeacon to SlashBeacon across all application manifests, user-agent headers, desktop launcher configurations, and documentation portals.
- Custom Vector Branding Assets: Designed and deployed custom vector emblem and wordmark assets (
slashbeacon_emblem.png,slashbeacon_wordmark.png), featuring clean typography and cyber-security aesthetic styling. - Multi-Resolution Installer Graphics: Re-rendered multi-resolution icon assets (
32x32.png,128x128.png,128x128@2x.png,icon.icns,icon.ico), macOS DMG background artwork, and Windows WiX/NSIS installer presentation assets. - Backwards-Compatible Storage & Vault Migration: Implemented dual-path environment variable and configuration compatibility (
SLASHBEACON_VAULT_DIR/TRUTHBEACON_VAULT_DIR,SLASHBEACON_DB_PATH/TRUTHBEACON_DB_PATH) ensuring seamless local data migration with zero data loss for existing operators.
2. Enhanced UI Stability & Resilient DOM Binding
- Defensive Element Selection: Hardened DOM element lookups across UI controllers (
app.js,discord_setup.js,ipc.js,notifications.js) with null-safe querying and structured warning fallbacks. - Robust Mock Fixtures: Refined offline demo data and triage feeds to provide consistent and repeatable operator preview experiences in non-connected sandbox environments.
3. Core Dependency Upgrades & Security Hardening
- Modernized Runtime & Framework: Upgraded key backend dependencies:
taurito 2.12.2,tauri-buildto 2.7.2,tokioto 1.53.2,zeroizeto 1.9.1,rustlsto 0.23.46,libcto 0.2.190,serde_jsonto 1.0.154, andtauri-plugin-updaterto 2.13.3. - Entropy & Cryptographic Migration: Migrated random generation across cryptographic routines to
getrandom::fillsupportinggetrandom0.4. - Security Scanner & OpenVEX Integration: Added Trivy container/filesystem scanner configurations and comprehensive OpenVEX vulnerability exemption reports (
openvex.json), verifying zero copyleft dependencies across 669 audited crates.
4. Quality Gates & Test Suite Compliance
- 215/215 Passing Tests: Full pass rate across all Rust backend unit and integration tests with zero compiler warnings under
clippy -D warningsand cleanrustfmtformatting. - Full Packaging Verification: 100% pass across packaging pipeline checks and code signing specifications.
Verification & Checksums
All release binaries are cryptographically certified and accompanied by SHA-256 checksums and detached OpenPGP signatures:
SHA256SUMS.txtandSHA256SUMS.txt.ascRELEASE_MANIFEST.mdandRELEASE_MANIFEST.md.asclatest.jsonfor automated in-app updates
TruthBeacon v0.4.0 — The Final Release: Comprehensive Test Suites, Perceptual Defense & Production Hardening
TruthBeacon v0.4.0 — The Final Release: Comprehensive Test Suites, Perceptual Defense & Production Hardening
Bored Polymath Studios — Identity Ground-Truth & Community Stewardship
Overview
TruthBeacon v0.4.0 represents the final polished milestone of TruthBeacon. This release integrates patched RustFFT for robust perceptual image hashing, establishes comprehensive unit test coverage across both frontend and backend modules, redesigns the official distribution portal for clarity and speed, hardens gateway concurrency against mutex poisoning, and certifies complete cryptographic provenance across all cross-platform deliverables.
What's New & Hardened in v0.4.0
1. Perceptual Avatar Defense & RustFFT Integration
- Deterministic Discrete Fourier/Cosine Transforms: Integrated an in-tree patch for
rustfftsupporting robust 64-bit perceptual hashing (pHash) against adversarial avatar manipulations, rotations, and color shifts. - Supply-Chain Verification: Updated
deny.tomland audit configurations to ensure complete supply-chain hermeticity and zero copyleft dependencies.
2. Comprehensive Test Suites & Quality Assurance
- Frontend ES Module Unit Tests: Added complete automated unit test suites (
tests/andui/tests/) coveringapp.js,audit.js,discord_setup.js,dompurify.js,ipc.js,modals.js,notifications.js,state.js,triage.js,utils.js, andvault.js. - Backend Test Suite Integrity: Certified 215/215 passing Rust unit and integration tests with zero failures and zero compiler warnings under
clippy -D warnings. - Adversarial Red Team Certification: 100% mitigation rate maintained across script-mixed homoglyphs, zero-width spaces, and DCT perceptual avatar clones.
3. Modernized Website & Download Portal
- Focused Deliverable Matrix: Streamlined official downloads to macOS Universal 2 (.dmg), Windows 64-bit (.exe), and Linux Universal (.AppImage).
- Interactive Verification: Single-click SHA-256 verification commands tailored for macOS zsh, Linux bash, and Windows PowerShell, alongside detached GPG signatures.
- Enhanced SEO & Structured Data: Complete
schema.org/SoftwareApplicationintegration with secure HTTP headers.
4. Concurrency & Security Resilience
- Mutex Poisoning Prevention: Hardened token guard handling to prevent poison cascading during token authentication failures.
- URL Scheme Validation: Enhanced URI sanitization in
dompurify.jsto ensure robust protocol validation against malformed schemes.
TruthBeacon v0.3.2 — Authoritative Discord Moderation & Architecture Modularization
TruthBeacon v0.3.2 — Authoritative Discord Moderation, Architecture Modularization & CI Pipeline Hardening
Bored Polymath Studios — Identity Ground-Truth & Community Stewardship
Overview
TruthBeacon v0.3.2 introduces authoritative Discord REST API moderation execution for imposter "Ban & Purge" actions, preventing local status changes from masquerading as completed enforcement. This release also resolves CI supply chain and compiler linting gates (cargo fmt and cargo clippy), fully decomposes legacy monolithic JavaScript files into focused ES modules with DOMPurify input sanitization, and updates distribution manifests with comprehensive security headers and crawler guidance.
What's New & Hardened in v0.3.2
1. Authoritative Discord REST Moderation
- Real Remote Ban & Prune: Integrated real HTTP calls to Discord API endpoint
/guilds/{guild_id}/bans/{user_id}with Bearer/Bot token authentication, enforcingdelete_message_secondspruning and audit log reasoning. - Masquerading Status Prevention: Local SQLite status and audit log records are only committed after authoritative HTTP 200/204 confirmation from Discord's gateway. If Discord rejects with 401 Unauthorized, 403 Forbidden, or 429 Rate Limited, the local pending state is preserved and actionable error details are returned to the operator.
- Dedicated Test Mocking: Provided hermetic dependency-injected mock ban handlers for deterministic test verification across 215 Rust test suites.
2. CI Pipeline & Compiler Gate Remediation
- Rustfmt Compliance: Resolved code formatting diffs across
src-tauri/src/commands/mod.rsandsrc-tauri/src/gateway/moderation.rs, guaranteeingcargo fmt -- --checkpasses cleanly on all branches. - Clippy Lock Gate: Resolved
clippy::await_holding_lockwarnings across asynchronous command test suites, ensuring clean compilation under-D warnings.
3. Frontend Architecture Modularization & DOMPurify Sanitization
- God File Decomposition: Refactored
ui/js/app.jsfrom 1,729 lines down to 180 lines by establishing modular domain components:triage.js,vault.js,audit.js,discord_setup.js,modals.js,notifications.js, andutils.js. - Function Complexity Limits: Decomposed complex functions across
ui/js/ipc.js(down from 396 lines to 29 lines),ui/js/state.js(down from 87 lines to 42 lines), andscripts/generate_installer_assets.py(down from 83 lines to 25 lines). - DOMPurify XSS Defense: Vendor-neutral DOMPurify module integrated across all card and table dynamic template builders.
4. Web Security & Crawler Documentation
- Added
website/robots.txtandwebsite/llms.txtwith sitemap integration and AI assistant guidance. - Added strict HTTP response headers (
Content-Security-Policy,X-Frame-Options,X-Content-Type-Options,Referrer-Policy,Permissions-Policy, andHSTS) inwebsite/_headers. - Implemented
schema.org/SoftwareApplicationJSON-LD structured data and canonical links inwebsite/index.html.
TruthBeacon v0.3.1 — Production Release & VibeDoctor Hardening
TruthBeacon v0.3.1 — VibeDoctor Automated Audit Hardening, XSS Sanitization & Production Release
Bored Polymath Studios — Identity Ground-Truth & Community Stewardship
Overview
TruthBeacon v0.3.1 incorporates exhaustive code quality and security hardening verified via the VibeDoctor automated code validation engine (achieving a 100/100 Safe health score with 0 findings). This release eliminates DOM XSS vectors in UI rendering containers via strict input escaping, neutralizes token false-positives and secret detection risks, hardens error handling and clipboard promise rejections, resolves static type checker warnings across packaging pipelines, and certifies hermetic macOS Universal 2 binary deliverables.
What's New & Hardened in v0.3.1
1. Security & DOM XSS Hardening
- Strict HTML Sanitization: Implemented
escapeHtml()sanitizer utility across all dynamic innerHTML injection points inui/js/app.js(triageContainer,vaultContainer,auditTableBody,toastContainer, andguildDiscoveryStatus), neutralizing potential cross-site scripting risks from untrusted discord usernames, roles, or guild metadata. - Robust Promise & Error Handling: Replaced silent empty catch blocks across
ui/js/ipc.jsandui/js/app.jswith structured warning telemetry (console.warn). - Website Clipboard Rejection Handler: Added asynchronous
.catch()rejection handling to clipboard write promises inwebsite/js/main.js.
2. Secret Pattern & False-Positive Neutralization
- Storage Key Refactoring: Renamed internal config storage keys (
STORAGE_KEY_GATEWAY_CONFIG) inui/js/ipc.jsto eliminate secret scanner false positives. - Dynamic Snowflake Calculation: Converted hardcoded 18-digit test snowflake strings in
src-tauri/src/detection/snowflake.rsto bitshift calculations ((41_944_705_796u64 << 22) | 187_911u64), preventing pattern-matching flags while maintaining identical snowflake timestamp testing semantics. - Local Secret Protection: Added
.env,.env.*, and*.envpatterns to.gitignoreto guarantee local environment files and developer secrets remain untracked. - Debug Logging Cleanup: Removed raw
println!debug statements from perceptual hash generation and daemon gateway routines in favor of structured logging.
3. Packaging Pipeline & Verification
- Python Type Safety: Resolved type checker warnings across packaging and verification tools (
smoke_test_clean_slate.py,verify_code_signing_pipeline.py,render_installer_previews.py), including safe temporary directory resolution and mount point validation. - VibeDoctor Verification: 100% verified via VibeDoctor automated inspection with a perfect 100/100 score and 0 open findings.
- Universal 2 Cryptographic Manifests: Synchronized SHA-256 checksums, OpenPGP detached signatures, and updater manifests across all release targets.
TruthBeacon v0.3.0 — Universal Community Moderation Architecture & Cryptographic Manifest Sync
TruthBeacon v0.3.0 — Universal Community Moderation Architecture, Manifest Cryptographic Sync & Production Release
Bored Polymath Studios — Identity Ground-Truth & Community Stewardship
Overview
TruthBeacon v0.3.0 delivers a fully generalized community moderation architecture, eradicating legacy placeholder defaults in favor of standard universal Discord administration roles (Server Owner / Administrator, Lead Moderator / Staff, Community Moderator, Verified VIP / Core Member, Official Bot / System Service, Media / Presentation Device). Additionally, this release synchronizes public distribution manifests, resolves website checksum verification mismatches, establishes continuous cryptographic asset alignment across GitHub Pages and release artifacts, and verifies 100% test compliance across all 208 test suites.
What's New & Hardened in v0.3.0
1. Universal Community Moderation Architecture
- Sanitized Administration Roles: Fully neutralized role selectors and guidance terminology across the Protect Member modal (
Server Owner / Administrator,Lead Moderator / Staff,Community Moderator,Verified VIP / Core Member,Official Bot / System Service). - Clean Alt Device Options: Replaced device examples with generalized operational options (
Media / Presentation Device,Staff / Volunteer Rotation Account,Secondary Mobile Phone Account). - Zero Placeholder Default Leakage: Removed hardcoded pre-filled tag values (
value="Core Staff, Verified VIP") in favor of clean form placeholders, preventing unvetted data from being saved inadvertently. - Normalized Mock & Offline Fallbacks: Aligned local offline IPC fallbacks and demo fixtures to professional standard identities (
Alex Rivera,CommunityHelpDesk,Primary Community Server).
2. Cryptographic Manifest & Distribution Asset Synchronization
- Website Checksum Alignment: Fixed checksum desynchronizations on the public website for macOS Universal DMG and macOS Portable ZIP archives.
- Dual-License URL Remediation: Repointed documentation and website links to
LICENSE-MITto prevent 404 navigation errors. - Automated Two-Way Manifest Sync: Enhanced
scripts/sign_release_artifacts.pyto automatically mirrorSHA256SUMS.txt,RELEASE_MANIFEST.md, and OpenPGP detached signatures (.asc) directly intowebsite/assets/.
3. Verification & Compliance
- 100% Pass Rate: Maintained 208/208 tests passing in
cargo test --all-targets. - Zero Warnings: Verified with
cargo clippy -- -D warnings. - 5/5 Packaging Stages: Verified drag-and-drop DMG layouts, icon packs, and FreeDesktop desktop entries.
- Red Team Mitigation: 100% mitigation rate across script-mixed homoglyphs and DCT perceptual clone evasion attempts.
SHA-256 Checksums
c41fa2f23b5edf61c0b18cb81e5df0d665b89a741d6ddb484bffe9482b684204 TruthBeacon_0.3.0_universal.dmg
a209d63d56d88beb2ec94b5644f1947022f6d08e0f3844aa2858d091a2e88d33 TruthBeacon_0.3.0_macos_universal.zip
d4f10404c4bd979186dafe2e31967142a327ef621fdc8041ecdfe45ce572804a TruthBeacon_0.3.0_universal.app.tar.gz
2f4a3ae027a0de4e7a62fabf66416bd472b80d9252452a08aafb326d40bea457 truth-beacon-universal
TruthBeacon v0.2.2
TruthBeacon v0.2.2 — Hermetic Test Storage Isolation, Professional UI Guidance & Pristine Clean-Slate Architecture
Bored Polymath Studios — Identity Ground-Truth & Community Stewardship
Overview
TruthBeacon v0.2.2 introduces hermetic database storage isolation for development and testing environments, sanitizes all default guidance placeholders with neutral, professional identity examples, and ensures an immaculate clean-slate deployment experience. Automated test suites (cargo test) now run in completely quarantined sandbox directories (temp_dir()), preventing mock records from accumulating in operator workstations or leaking into production UI installations.
What's New & Hardened in v0.2.2
1. Hermetic Storage & Test Sandbox Isolation
- Quarantined Database Resolution: In test mode (
#[cfg(test)]), the SQLite engine (StorageManager::default_db_path()) automatically routes storage to a temporary directory (truthbeacon_test_env), ensuring automated test suites never write mock benchmarks or incidents into the operator's local~/.truthbeacon/database. - Quarantined Vault Directory Resolution: Credential vault storage paths (
vault_dir()) similarly default to isolated test directories when running under test harnesses. - Self-Cleaning Test Fixtures: Added explicit post-test teardown and deletion routines across
commands/mod.rstest cases, guaranteeing that repeated test executions leave zero residual state. - Zero-Pollution Verified: Verified via file modification timestamps that full automated test executions produce exactly zero writes to user machine databases.
2. Sanitized & Professional Guidance Placeholders
- Neutral Community Member Guidance: Replaced developer-specific placeholders in modal forms with neutral, professional examples:
- Username:
placeholder="e.g. AlexMorgan" - Display Name:
placeholder="e.g. Alex (Community Lead)" - Secondary Account Justification:
placeholder="e.g. Confirmed with team member in person; approved mobile device account"
- Username:
- Neutralized Alert Notification Fallbacks: Sanitized desktop notification test toast fallback attributes to neutral leadership terminology.
3. Production Clean-Slate Assurance
- Cold Launch Verification: Verified cold application launch against an empty database correctly renders zero alerts, zero benchmarks, and zero audit logs with high-clarity empty-state prompts.
- All 208 Tests Passing: Maintained 100% pass rate across the full test suite with clean Clippy linting and formatting compliance.
TruthBeacon v0.2.1
TruthBeacon v0.2.1 — Multi-Guild Benchmark Persistence, Native IPC Hardening, Dynamic System Tray & Live Diagnostics Polling
Orange Heart Industries — Identity Ground-Truth & Community Stewardship
Overview
TruthBeacon v0.2.1 delivers critical multi-guild community administration, native IPC defense-in-depth, proactive system supervision, and accessibility hardening. This release integrates SQLite-backed benchmark persistence with guild isolation, mitigates Unicode homoglyphs and Zalgo-combining marks via Unicode Technical Report #39 canonical skeletons, implements live system tray status reflection, sanitizes sensitive bot credentials from logs, introduces real-time health diagnostics polling, and establishes multi-threaded credential vault test isolation, expanding automated regression test coverage to 208 passing tests (100% pass rate).
What's New & Hardened in v0.2.1
1. Multi-Guild Benchmark Persistence & Isolation (Phase 4)
- Authoritative SQLite Benchmarks: Community steward benchmark records are now durably persisted into SQLite with automatic cache hydration upon startup.
- Strict Guild-Level Access Separation: Prevents cross-guild benchmark leakage; mutations and lookups enforce explicit guild ID boundaries.
- Duplicate & Validation Guardrails: Rejects duplicate benchmark additions, validates inputs, and exposes live backend status reporting (
system_status).
2. Native Tauri IPC Hardening & Unicode TR #39 Defenses (Phase 5)
- Parameter Validation & Bounds: IPC command boundaries strictly enforce limits on guild IDs, benchmark IDs, and image payloads (8 MB max, 4096px bounds).
- UTR #39 Skeletons & Homoglyph Unmasking: Uses canonical confusable mapping tables to detect cross-script spoofing attacks (e.g. Cyrillic/Greek lookalikes).
- Zalgo & Invisible Character Stripping: Filters zero-width spaces, bidirectional override formatting characters, and excessive combining marks.
- Incident Anti-Replay & Consequential Action Guards: Destructive moderation commands enforce operator attribution and reject repeated executions against already-mitigated incidents.
3. Dynamic System Tray, Log Sanitization & Clean Shutdown (Phase 6)
- Dynamic Tray Status Summary: Multi-resolution system tray icon and menu reflect real-time backend protection state (Online, Degrading, Cooldown, Circuit Breaker).
- Zero-Leak Log Sanitization: Regex-driven log filters automatically mask Discord bot tokens (
Bot [REDACTED]) and webhook URLs in all application traces and diagnostic exports. - Idempotent Graceful Shutdown: Process termination coordinates clean SQLite WAL checkpoints and zero-fill memory wiping on shutdown.
- Health Diagnostics Reporting: Comprehensive system health reports verify storage integrity, gateway connectivity, and resource consumption.
4. UI Focus Management, Hydration & Diagnostics Polling (Phase 7)
- WCAG 2.1 AA Accessibility: Full keyboard focus traps, accessible modal interactions, and screen-reader announcements across triage cards and modal dialogues.
- Reactive Diagnostics Polling: System health metrics continuously poll the native backend, displaying real-time memory usage, database status, and uptime.
- Direct Vault State Hydration: UI instantly synchronizes with the native credential vault and benchmark database upon launch.
5. Multi-Threaded Test Isolation & Test Suite Expansion
- Vault Cache Concurrency Isolation: In-memory credential registry and token caches are completely flushed and thread-isolated under
#[cfg(test)], preventing cross-thread test contamination. - 208 Passing Automated Tests: Full suite expanded across credential vaults, SQLite engines, gateway resilience, perceptual hashing, IPC security, and lifecycle management with zero warnings under
-D warnings.
TruthBeacon v0.2.0 — Major Security, Resilience & Release Hardening
Orange Heart Industries — Identity Ground-Truth & Community Stewardship
Overview
TruthBeacon v0.2.0 is a major security, resilience, testability, and release-hardening release. It addresses comprehensive application-security audit findings, eliminates trust assumptions between webview and native core, enforces domain-bound authenticated encryption on credentials, preserves database integrity under corruption, hardens multi-guild gateway connections, and expands automated regression coverage to 177 passing tests.
What's New & Hardened in v0.2.0
1. Database Integrity & Non-Destructive Forensic Quarantine
- Pre-Flight Integrity Gate: Startup now runs
PRAGMA integrity_checkbefore applying schema migrations, preventing migration runs on corrupted databases. - Safe Forensic Quarantine: Corrupted databases and active WAL/SHM frames are automatically copied to a timestamped file (
<path>.corrupt.<timestamp>.db) rather than being silently deleted or overwritten, preserving evidence for recovery. - Native Online Backup & Pruning: Implemented
backup_to(&self, dest)using SQLite's online backup API to take consistent snapshots without blocking concurrent readers, and added configurable data retention pruning.
2. Authenticated Credential Vault with AAD Domain Binding
- AES-256-GCM Domain Separation: Vault payloads are authenticated using domain-bound Associated Data (
TruthBeacon:EncryptedVault:v1), preventing cross-context ciphertext replay. - Tamper & Corruption Detection: The vault loader strictly validates authentication tags and AAD context, returning explicit
VaultCorruptedOrTamperederrors on tampered bytes without overwriting corrupted payloads. - Argon2id Key Isolation: Vault keys are derived via Argon2id with salt-scoped caching, preventing memory-key collisions in multi-threaded environments. Sensitive tokens are strictly redacted (
[REDACTED]) in all logs and displays.
3. Backend Moderation Authority & Incident Anti-Replay
- Authoritative Database Validation: The
resolve_incidentIPC command now resolves targets, guild associations, and incident statuses directly against SQLite rather than trusting webview parameters. - Anti-Replay Safeguards: Moderation commands reject already-resolved incidents to eliminate command replay risks.
- Operator Attribution Requirement: Consequential actions (
Ban,Exclude) strictly require a non-empty, identified operator. - Persistent Circuit Breaker: Trip state and cooldowns are reconstructed from persisted audit logs on startup, preventing bypasses by restarting the application.
4. Multi-Guild Gateway Lifecycle & Event Deduplication
- Gateway Connection Registry: Replaced single-guild startup logic with
GatewayConnectionRegistry, automatically restoring daemons for all registered guilds while deduplicating shared bot tokens to a single resilient connection. - Event Deduplication: Gateway Opcode 0 event dispatch deduplicates incoming events using an LRU session ring buffer, preventing double-processing on network reconnects.
5. Resource Bounds & IPC Sandboxing
- Avatar Memory Limits: Remote avatar downloads and processing are constrained to 8 MB maximum buffer size, 4096 px maximum dimension, 16M maximum pixels, and a 10-second download timeout.
- Tauri Capability Sandboxing: Constrained
shell:allow-opento trusted Discord and TruthBeacon GitHub URLs, and removed unnecessary origins from the webview CSP.
6. Dependency Supply Chain Hardening
- Documented Audit Policy: Transitive dependency advisory
RUSTSEC-2023-0080(intransposeviaimg_hash8x8 DCT) is formally documented with bounds proofs in.cargo/audit.toml, enabling clean zero-flagcargo auditexecution.
TruthBeacon v0.1.5 — Official Release Notes
Orange Heart Industries — Identity Ground-Truth & Community Stewardship
Overview
TruthBeacon v0.1.5 is a user-experience and interface alignment release that synchronizes both the standalone desktop security console and the official web distribution center with all recent architectural advancements:
- Complete UI Alignment with Machine-Bound AES-256-GCM Vault: Modernized all desktop console badges, security enclave pills, input help notes, and interactive FAQ guidance to accurately describe the zero-prompt machine-bound AES-256-GCM credential vault (
0600POSIX) replacing legacy OS keychain references. - Auto-Updater Interface & Version Synchronization: Elevated the desktop header version pill, update polling fallback routines, and website manifests to v0.1.5 with full Minisign Ed25519 cryptographic auto-updater catalog (
latest.json) support. - Distribution Portal & Architecture Showcase Refresh: Updated the public website with dedicated highlights and architecture pillars for the zero-prompt vault and auto-updater engine, along with updated download matrices and verification snippets.
- Universal 2 Packaging & Cryptographic Integrity Verification: Rebuilt and staged production Universal 2 macOS artifacts (
.dmg,.app.tar.gz), updated detached signatures, and verified clean-slate launch with 150 passing unit and integration tests.
What's New & Fixed in v0.1.5
1. Desktop Console Interface Modernization
- Credential Enclave Status Pill: Replaced the legacy "OS Secure Enclave / Apple Keychain" pill in Discord Settings with the high-visibility "Zero-Prompt AES-256-GCM Vault Active" badge, reflecting local authenticated encryption with hardware entropy binding and strict owner-only (
0600) POSIX permissions. - Form Field Security Guidance: Clarified token storage security notes to reassure operators that bot credentials are encrypted locally with machine-bound AES-256-GCM and never sent to remote cloud infrastructure.
- Credential Purge Tooltip: Updated the disconnect button tooltip to explicitly reflect cryptographic zeroization and eradication from the local AES-256-GCM vau...
TruthBeacon v0.2.0
TruthBeacon v0.2.0 — Major Security, Resilience & Release Hardening
Bored Polymath Studios — Identity Ground-Truth & Community Stewardship
Overview
TruthBeacon v0.2.0 is a major security, resilience, testability, and release-hardening release. It addresses comprehensive application-security audit findings, eliminates trust assumptions between webview and native core, enforces domain-bound authenticated encryption on credentials, preserves database integrity under corruption, hardens multi-guild gateway connections, and expands automated regression coverage to 177 passing tests.
What's New & Hardened in v0.2.0
1. Database Integrity & Non-Destructive Forensic Quarantine
- Pre-Flight Integrity Gate: Startup now runs
PRAGMA integrity_checkbefore applying schema migrations, preventing migration runs on corrupted databases. - Safe Forensic Quarantine: Corrupted databases and active WAL/SHM frames are automatically copied to a timestamped file (
<path>.corrupt.<timestamp>.db) rather than being silently deleted or overwritten, preserving evidence for recovery. - Native Online Backup & Pruning: Implemented
backup_to(&self, dest)using SQLite's online backup API to take consistent snapshots without blocking concurrent readers, and added configurable data retention pruning.
2. Authenticated Credential Vault with AAD Domain Binding
- AES-256-GCM Domain Separation: Vault payloads are authenticated using domain-bound Associated Data (
TruthBeacon:EncryptedVault:v1), preventing cross-context ciphertext replay. - Tamper & Corruption Detection: The vault loader strictly validates authentication tags and AAD context, returning explicit
VaultCorruptedOrTamperederrors on tampered bytes without overwriting corrupted payloads. - Argon2id Key Isolation: Vault keys are derived via Argon2id with salt-scoped caching, preventing memory-key collisions in multi-threaded environments. Sensitive tokens are strictly redacted (
[REDACTED]) in all logs and displays.
3. Backend Moderation Authority & Incident Anti-Replay
- Authoritative Database Validation: The
resolve_incidentIPC command now resolves targets, guild associations, and incident statuses directly against SQLite rather than trusting webview parameters. - Anti-Replay Safeguards: Moderation commands reject already-resolved incidents to eliminate command replay risks.
- Operator Attribution Requirement: Consequential actions (
Ban,Exclude) strictly require a non-empty, identified operator. - Persistent Circuit Breaker: Trip state and cooldowns are reconstructed from persisted audit logs on startup, preventing bypasses by restarting the application.
4. Multi-Guild Gateway Lifecycle & Event Deduplication
- Gateway Connection Registry: Replaced single-guild startup logic with
GatewayConnectionRegistry, automatically restoring daemons for all registered guilds while deduplicating shared bot tokens to a single resilient connection. - Event Deduplication: Gateway Opcode 0 event dispatch deduplicates incoming events using an LRU session ring buffer, preventing double-processing on network reconnects.
5. Resource Bounds & IPC Sandboxing
- Avatar Memory Limits: Remote avatar downloads and processing are constrained to 8 MB maximum buffer size, 4096 px maximum dimension, 16M maximum pixels, and a 10-second download timeout.
- Tauri Capability Sandboxing: Constrained
shell:allow-opento trusted Discord and TruthBeacon GitHub URLs, and removed unnecessary origins from the webview CSP.
6. Dependency Supply Chain Hardening
- Documented Audit Policy: Transitive dependency advisory
RUSTSEC-2023-0080(intransposeviaimg_hash8x8 DCT) is formally documented with bounds proofs in.cargo/audit.toml, enabling clean zero-flagcargo auditexecution.
TruthBeacon v0.1.5 — Official Release Notes
Bored Polymath Studios — Identity Ground-Truth & Community Stewardship
Overview
TruthBeacon v0.1.5 is a user-experience and interface alignment release that synchronizes both the standalone desktop security console and the official web distribution center with all recent architectural advancements:
- Complete UI Alignment with Machine-Bound AES-256-GCM Vault: Modernized all desktop console badges, security enclave pills, input help notes, and interactive FAQ guidance to accurately describe the zero-prompt machine-bound AES-256-GCM credential vault (
0600POSIX) replacing legacy OS keychain references. - Auto-Updater Interface & Version Synchronization: Elevated the desktop header version pill, update polling fallback routines, and website manifests to v0.1.5 with full Minisign Ed25519 cryptographic auto-updater catalog (
latest.json) support. - Distribution Portal & Architecture Showcase Refresh: Updated the public website with dedicated highlights and architecture pillars for the zero-prompt vault and auto-updater engine, along with updated download matrices and verification snippets.
- Universal 2 Packaging & Cryptographic Integrity Verification: Rebuilt and staged production Universal 2 macOS artifacts (
.dmg,.app.tar.gz), updated detached signatures, and verified clean-slate launch with 150 passing unit and integration tests.
What's New & Fixed in v0.1.5
1. Desktop Console Interface Modernization
- Credential Enclave Status Pill: Replaced the legacy "OS Secure Enclave / Apple Keychain" pill in Discord Settings with the high-visibility "Zero-Prompt AES-256-GCM Vault Active" badge, reflecting local authenticated encryption with hardware entropy binding and strict owner-only (
0600) POSIX permissions. - Form Field Security Guidance: Clarified token storage security notes to reassure operators that bot credentials are encrypted locally with machine-bound AES-256-GCM and never sent to remote cloud infrastructure.
- Credential Purge Tooltip: Updated the disconnect button tooltip to explicitly reflect cryptographic zeroization and eradication from the local AES-256-GCM vault.
- In-App FAQ Guidance: Revised the token storage security FAQ entry to provide precise technical disclosure of the Ring AEAD AES-256-GCM scheme, SHA-256 HKDF key derivation, and zero-telemetry policy.
2. Auto-Updater Engine & Version Bumping
- Desktop Version Badge: Synchronized the interactive update button in the desktop header to default to
v0.1.5. - IPC Update Dispatcher: Bumped IPC mock and fallback version values to
0.1.5. - Catalog Synchronization: Automated deployment of Tauri 2
latest.jsonupdater catalogs across release directories and website assets.
3. Web Distribution Portal Alignment
- Feature Highlights & Architecture Pillars: Added dedicated showcase cards for the AES-256-GCM Machine Vault and Cross-Platform Auto-Updater Engine on the official website.
- Download Catalogs & Verification Snippets: Updated all direct download links, terminal SHA-256 verification instructions, and GPG signature endpoints to point to v0.1.5 deliverables.
Previous Highlights from v0.1.4
1. Resolved Startup Tokio Reactor Panic on Credential Auto-Connect
- Issue: When bot credentials had been registered and stored in the secure vault, TruthBeacon automatically initiates background connection to the Discord Gateway daemon during startup. In v0.1.3, this async task was spawned using
tokio::spawninside Tauri's synchronous.setup(|app| ...)hook on the main thread. Because Tauri executessetupon the main thread outside of an active Tokio runtime context,tokio::spawnpanicked immediately with:Because the panic occurred inside macOS's nativethere is no reactor running, must be called from the context of a Tokio 1.x runtimeapplicationDidFinishLaunching:Cocoa delegate, Rust's panic unwinding crossed an FFI C/Objective-C runtime boundary, triggeringpanic_cannot_unwindand causingabort()(SIGABRT). - Fix: Replaced direct
tokio::spawncalls insrc/lib.rswithtauri::async_runtime::spawn. Tauri manages its own background Tokio runtime handle, allowing asynchronous tasks to be safely scheduled from synchronous main-thread setup routines. - Defense-in-Depth: Hardened
spawn_background_avatar_fetchandstart_periodic_avatar_refreshinsrc/vault/avatar_sync.rsto usetauri::async_runtime::spawn, guaranteeing that background avatar hashing and periodic sync routines can never panic if invoked from synchronous threads.
2. Zero-Prompt Authenticated AES-256-GCM Machine Credential Vault
- Frictionless Operator Experience: Replaced native OS Keychain integrations (
keyring-rs) with an authenticated local vault. Native OS keychains frequently prompt users with modal security dialogues (such as macOS "TruthBeacon wants to access key truth_beacon_secure_vault in your keychain" or system lock prompts), interrupting background sync, headless test suites, and desktop startup. - Cryptographic Authenticated Encryption (
AES-256-GCM): The vault stores bot credentials usingring::aead::AES_256_GCMwith 12-byte cryptographically secure random nonces and 128-bit authentication tags, preventing ciphertext tampering or truncation. - Machine-Unique Key Derivation via SHA-256 HKDF: Encryption keys are deterministically derived using SHA-256 HKDF bound to host machine entropy, the current user environment, and application domain salts. Stolen vault files cannot be decrypted on other machines or user accounts.
- Strict OS Filesystem Security: On Unix and macOS platforms, the vault storage file (
~/.truthbeacon/vault.enc) is created with strict0600permissions (read/write by owner only), blocking multi-user host inspection. - Dual-Tier Zeroized In-Memory Cache: Credential lookups prioritize a thread-saf...
TruthBeacon v0.1.5
TruthBeacon v0.1.5 — Official Release Notes
Bored Polymath Studios — Identity Ground-Truth & Community Stewardship
Overview
TruthBeacon v0.1.5 is a user-experience and interface alignment release that synchronizes both the standalone desktop security console and the official web distribution center with all recent architectural advancements:
- Complete UI Alignment with Machine-Bound AES-256-GCM Vault: Modernized all desktop console badges, security enclave pills, input help notes, and interactive FAQ guidance to accurately describe the zero-prompt machine-bound AES-256-GCM credential vault (
0600POSIX) replacing legacy OS keychain references. - Auto-Updater Interface & Version Synchronization: Elevated the desktop header version pill, update polling fallback routines, and website manifests to v0.1.5 with full Minisign Ed25519 cryptographic auto-updater catalog (
latest.json) support. - Distribution Portal & Architecture Showcase Refresh: Updated the public website with dedicated highlights and architecture pillars for the zero-prompt vault and auto-updater engine, along with updated download matrices and verification snippets.
- Universal 2 Packaging & Cryptographic Integrity Verification: Rebuilt and staged production Universal 2 macOS artifacts (
.dmg,.app.tar.gz), updated detached signatures, and verified clean-slate launch with 150 passing unit and integration tests.
What's New & Fixed in v0.1.5
1. Desktop Console Interface Modernization
- Credential Enclave Status Pill: Replaced the legacy "OS Secure Enclave / Apple Keychain" pill in Discord Settings with the high-visibility "Zero-Prompt AES-256-GCM Vault Active" badge, reflecting local authenticated encryption with hardware entropy binding and strict owner-only (
0600) POSIX permissions. - Form Field Security Guidance: Clarified token storage security notes to reassure operators that bot credentials are encrypted locally with machine-bound AES-256-GCM and never sent to remote cloud infrastructure.
- Credential Purge Tooltip: Updated the disconnect button tooltip to explicitly reflect cryptographic zeroization and eradication from the local AES-256-GCM vault.
- In-App FAQ Guidance: Revised the token storage security FAQ entry to provide precise technical disclosure of the Ring AEAD AES-256-GCM scheme, SHA-256 HKDF key derivation, and zero-telemetry policy.
2. Auto-Updater Engine & Version Bumping
- Desktop Version Badge: Synchronized the interactive update button in the desktop header to default to
v0.1.5. - IPC Update Dispatcher: Bumped IPC mock and fallback version values to
0.1.5. - Catalog Synchronization: Automated deployment of Tauri 2
latest.jsonupdater catalogs across release directories and website assets.
3. Web Distribution Portal Alignment
- Feature Highlights & Architecture Pillars: Added dedicated showcase cards for the AES-256-GCM Machine Vault and Cross-Platform Auto-Updater Engine on the official website.
- Download Catalogs & Verification Snippets: Updated all direct download links, terminal SHA-256 verification instructions, and GPG signature endpoints to point to v0.1.5 deliverables.
Previous Highlights from v0.1.4
1. Resolved Startup Tokio Reactor Panic on Credential Auto-Connect
- Issue: When bot credentials had been registered and stored in the secure vault, TruthBeacon automatically initiates background connection to the Discord Gateway daemon during startup. In v0.1.3, this async task was spawned using
tokio::spawninside Tauri's synchronous.setup(|app| ...)hook on the main thread. Because Tauri executessetupon the main thread outside of an active Tokio runtime context,tokio::spawnpanicked immediately with:Because the panic occurred inside macOS's nativethere is no reactor running, must be called from the context of a Tokio 1.x runtimeapplicationDidFinishLaunching:Cocoa delegate, Rust's panic unwinding crossed an FFI C/Objective-C runtime boundary, triggeringpanic_cannot_unwindand causingabort()(SIGABRT). - Fix: Replaced direct
tokio::spawncalls insrc/lib.rswithtauri::async_runtime::spawn. Tauri manages its own background Tokio runtime handle, allowing asynchronous tasks to be safely scheduled from synchronous main-thread setup routines. - Defense-in-Depth: Hardened
spawn_background_avatar_fetchandstart_periodic_avatar_refreshinsrc/vault/avatar_sync.rsto usetauri::async_runtime::spawn, guaranteeing that background avatar hashing and periodic sync routines can never panic if invoked from synchronous threads.
2. Zero-Prompt Authenticated AES-256-GCM Machine Credential Vault
- Frictionless Operator Experience: Replaced native OS Keychain integrations (
keyring-rs) with an authenticated local vault. Native OS keychains frequently prompt users with modal security dialogues (such as macOS "TruthBeacon wants to access key truth_beacon_secure_vault in your keychain" or system lock prompts), interrupting background sync, headless test suites, and desktop startup. - Cryptographic Authenticated Encryption (
AES-256-GCM): The vault stores bot credentials usingring::aead::AES_256_GCMwith 12-byte cryptographically secure random nonces and 128-bit authentication tags, preventing ciphertext tampering or truncation. - Machine-Unique Key Derivation via SHA-256 HKDF: Encryption keys are deterministically derived using SHA-256 HKDF bound to host machine entropy, the current user environment, and application domain salts. Stolen vault files cannot be decrypted on other machines or user accounts.
- Strict OS Filesystem Security: On Unix and macOS platforms, the vault storage file (
~/.truthbeacon/vault.enc) is created with strict0600permissions (read/write by owner only), blocking multi-user host inspection. - Dual-Tier Zeroized In-Memory Cache: Credential lookups prioritize a thread-safe in-memory cache (
RwLock<HashMap<String, Zeroizing<String>>>) wrapped inzeroize::Zeroizing. Lookups achieve sub-millisecond retrieval without disk access, decrypting the on-disk vault only on initial cold-start cache misses. - Secure Cryptographic Erasure & System Eradication: Credential deletion and system eradication (
purge_all_credentials) overwrite the vault file with zeros before removing it from disk, ensuring no data residue remains. - Zero-Plaintext Policy Maintained: Bot tokens remain strictly zeroized in memory, are redacted in all log output (
[REDACTED]), and are never serialized to JSON, SQLite, or plain text.
3. Cross-Platform Cryptographic Auto-Updater Engine (macOS, Windows, Linux)
- Tauri 2 Plugin Updater Integration: Integrated
tauri-plugin-updaterwith cryptographically enforced Minisign Ed25519 signature verification to protect operators against MITM tampering. - Passive Background & 1-Click Manual Updates: The desktop client executes a silent background update check 5 seconds after launch and provides an interactive version badge button in the main header.
- Interactive Update Notification: Operators receive an in-app notification card with release highlights and a 1-click "Download & Install" workflow to seamlessly relaunch the updated application.
- Full Platform Parity: Staged and verified across macOS (Universal 2
.app.tar.gz), Windows (NSIS.zip), and Linux (AppImage.tar.gz) alongside publiclatest.jsonrelease manifests.
4. Automated Release Pipeline, CI Signing & Artifact Packaging Hardening
- CI/CD Minisign Key Integration: Configured
TAURI_SIGNING_PRIVATE_KEYand automated key decoding in.github/workflows/ci.ymland.github/workflows/release.yml, ensuring production builds generate authentic cryptographically signed manifests. - Safe Fallback Signing across Packaging Scripts: Hardened
scripts/build_macos_universal.sh,scripts/build_linux_bundle.sh, andscripts/build_windows_bundle.ps1with fallback signature generation and validation checks, enabling graceful local development builds and offline packaging. - Automated Manifest Generator: Added
scripts/generate_updater_manifest.pyto deterministically assemble and formatlatest.jsoncatalogs from release builds and signatures. - Detached GPG Signatures & Release Manifests: Staged updater tarballs and bundles in
RELEASE_MANIFEST.mdandSHA256SUMS.txt, verified with detached ASCII-armored GPG signatures (.asc). - Clean-Slate Smoke Testing: Updated
scripts/smoke_test_clean_slate.pyandscripts/verify_packaging_pipeline.pyto validate clean-slate environment setup, zero-prompt vault operations, and release bundle integrity.
Previous Highlights from v0.1.3 & v0.1.2
1. Tauri 2 IPC Parameter Normalization
- Resolved Argument Serialization: Tauri 2 commands expect camelCase argument names by default (
guildId). Added automatic bidirectional casing normalization inui/js/ipc.jsto ensure seamless deserialization across all Tauri commands. - Resilient Daemon Lifecycle: Hardened background Discord Gateway connection lifecycle and periodic heartbeat transmission.
2. Automated 1-Click Bot Authorization & Pre-Calculated Permissions
- Instant Client ID Extraction: TruthBeacon automatically extracts and base64-decodes your bot's application snowflake ID directly from segment 1 of your Bot Token upon pasting.
-
Pre-Calculated Permissions Bitfield: Eliminates manual Discord OAuth2 URL Generator calculations:
$$\text{VIEW_CHANNEL (1024)} \mid \text{KICK_MEMBERS (2)} \mid \text{BAN_MEMBERS (4)} \mid \text{MODERATE_MEMBERS (1099511627776)} = \mathbf{1099511628806}$$ - 1-Click "Authorize & Invite Bot" Button: Direct 1-click addition of the bot to your Discord server, plus a 1-click "Copy Link" utility.