Refactor project branding from HexaHost to Axiom across all configurations, documentation, and code files. Update environment variables, Docker setup, and README to reflect the new brand name. Ensure consistency in naming conventions and improve clarity in setup instructions.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
| **Publication Date** | 2026-07-21 |
|
||||
| **Status** | Patches applied — operator action required |
|
||||
| **Classification** | Internal — Distribution Restricted |
|
||||
| **Affected Product** | HexaHost CV2 AIO Discord Bot with Dashboard |
|
||||
| **Affected Product** | Axiom CV2 AIO Discord Bot with Dashboard |
|
||||
|
||||
---
|
||||
|
||||
@@ -46,7 +46,7 @@ This document tracks remediation of findings identified during static security a
|
||||
| File | Change |
|
||||
|------|--------|
|
||||
| `bot/utils/config.py` | `_parse_ids()` returns empty list on missing env var |
|
||||
| `bot/HexaHost.py` | Startup warning when `OWNER_IDS` is empty |
|
||||
| `bot/Axiom.py` | Startup warning when `OWNER_IDS` is empty |
|
||||
| `bot/.env.example` | Placeholder `YOUR_DISCORD_USER_ID_HERE`; foreign IDs removed |
|
||||
| `dashboard/.env.example` | `ADMIN_IDS` placeholder replaces foreign ID |
|
||||
|
||||
@@ -67,7 +67,7 @@ OWNER_IDS=<your_discord_snowflake>
|
||||
| File | Change |
|
||||
|------|--------|
|
||||
| `bot/utils/config.py` | `JISHAKU_ENABLED` flag (default: `false`) |
|
||||
| `bot/HexaHost.py` | Conditional extension load |
|
||||
| `bot/Axiom.py` | Conditional extension load |
|
||||
| `bot/.env.example` | Documented opt-in flag |
|
||||
|
||||
**Post-patch behavior:** Jishaku inactive unless `JISHAKU_ENABLED=true`. Recommended for local debugging only.
|
||||
@@ -82,7 +82,7 @@ OWNER_IDS=<your_discord_snowflake>
|
||||
| File | Change |
|
||||
|------|--------|
|
||||
| `bot/utils/config.py` | `_valid_webhook_url()` rejects empty/placeholder values |
|
||||
| `bot/HexaHost.py` | `on_command_completion` early-return when URL invalid |
|
||||
| `bot/Axiom.py` | `on_command_completion` early-return when URL invalid |
|
||||
|
||||
**Post-patch behavior:** No outbound command telemetry without fully qualified, operator-configured webhook URL.
|
||||
|
||||
@@ -96,7 +96,7 @@ OWNER_IDS=<your_discord_snowflake>
|
||||
| File | Change |
|
||||
|------|--------|
|
||||
| `bot/utils/config.py` | `LOG_CHANNEL_ID`, `SERVER_COUNT_CHANNEL_ID`, `USER_COUNT_CHANNEL_ID` |
|
||||
| `bot/HexaHost.py` | Config-driven channel references; stats task gated on config |
|
||||
| `bot/Axiom.py` | Config-driven channel references; stats task gated on config |
|
||||
| `bot/cogs/events/on_guild.py` | Join/leave logging conditional on `LOG_CHANNEL_ID` |
|
||||
| `bot/cogs/commands/np.py` | Audit logs use `LOG_CHANNEL_ID` |
|
||||
| `bot/.env.example` | Optional IDs documented (commented) |
|
||||
@@ -120,7 +120,7 @@ USER_COUNT_CHANNEL_ID=<channel_snowflake>
|
||||
| File | Change |
|
||||
|------|--------|
|
||||
| `bot/utils/config.py` | `API_ENABLED=false`, `API_HOST=127.0.0.1`, `TUNNEL_ENABLED=false` |
|
||||
| `bot/HexaHost.py` | Bind to `API_HOST`; warn on `0.0.0.0` |
|
||||
| `bot/Axiom.py` | Bind to `API_HOST`; warn on `0.0.0.0` |
|
||||
| `bot/.env.example` | Secure defaults documented |
|
||||
|
||||
**Post-patch behavior:** API and tunnel disabled until explicitly enabled. Localhost binding by default.
|
||||
@@ -200,7 +200,7 @@ Remove `NEXT_PUBLIC_DASHBOARD_API_KEY` from any existing `.env`.
|
||||
| File | Change |
|
||||
|------|--------|
|
||||
| `bot/cogs/commands/general.py` | Removed `hack`, `token`, `wizz`; dead code cleanup |
|
||||
| `bot/cogs/hexahost/general.py` | Help index updated |
|
||||
| `bot/cogs/axiom/general.py` | Help index updated |
|
||||
|
||||
**Post-patch behavior:** Commands no longer registered. No regression in remaining general commands.
|
||||
|
||||
@@ -234,8 +234,8 @@ Secondary pass on remediation code identified gaps in the initial proxy implemen
|
||||
| API proxy accessible without session | Critical | Session gate + guild/admin validation in proxy route |
|
||||
| Guild dashboard pages lacking authZ check | High | `guild/[guildId]/layout.tsx` enforces Discord permissions |
|
||||
| `GET /guilds` returned all bot guilds | High | Proxy filters to user-manageable intersection |
|
||||
| `on_command_completion` NullPointer on `command is None` | Medium | Guard clause in `HexaHost.py` |
|
||||
| Orphaned `jishaku` import in `bot/core/hexahost.py` | Low | Import removed |
|
||||
| `on_command_completion` NullPointer on `command is None` | Medium | Guard clause in `Axiom.py` |
|
||||
| Orphaned `jishaku` import in `bot/core/axiom.py` | Low | Import removed |
|
||||
| Admin check relied solely on `NEXT_PUBLIC_ADMIN_IDS` | Medium | Server-side `ADMIN_IDS` supported |
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user