openclaw/src
Claude 83bdbed9be
feat(security): add fail-safe behavior for hardening initialization
When MOLTBOT_HARDENING_ENABLED=1 is set but security modules fail to
initialize, the system now throws HardeningInitError and refuses to
start. This ensures the gateway never runs in an insecure state when
security is explicitly requested.

- Add HardeningInitError class with failedModules property
- Throw on any module initialization failure when hardening is enabled
- Log failed modules before throwing for debugging
- Add 6 tests for fail-safe behavior

https://claude.ai/code/session_01L2vY1VwmwN9x8WTT7cZdi4
2026-01-28 12:31:11 +00:00
..
acp refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agents fix: restore discord username lookup and align minimax test (#3131) (thanks @bonald) 2026-01-28 11:04:07 +05:30
auto-reply feat: Add support for Telegram quote (partial message replies) (#2900) 2026-01-27 15:59:24 -05:00
browser refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
canvas-host chore: stop tracking a2ui bundle hash 2026-01-27 16:07:33 -05:00
channels fix(discord): add missing type exports and fix unused imports 2026-01-28 11:04:07 +05:30
cli Modify CLI banner ASCII art 2026-01-27 22:29:09 -05:00
commands fix: wire per-account dm scope guidance (#3095) (thanks @jarvis-sam) 2026-01-28 11:42:33 +05:30
compat fix: add MACOS_APP_SOURCES_DIR constant and update test to use new path 2026-01-27 14:17:20 -06:00
config fix: wire per-account dm scope guidance (#3095) (thanks @jarvis-sam) 2026-01-28 11:42:33 +05:30
cron test: handle legacy cron swift path 2026-01-28 00:31:58 +00:00
daemon Branding: update bot.molt bundle IDs + launchd labels 2026-01-27 14:46:50 -06:00
discord Discord: fix resolveDiscordTarget parse options 2026-01-28 00:37:21 -06:00
docs bugfix:The Mintlify navbar (logo + search bar with ⌘K) scrolls away w… (#2445) 2026-01-26 17:39:10 -08:00
gateway feat(security): add hardening modules for single-user auth, network whitelist, and fs monitoring 2026-01-28 08:20:11 +00:00
hooks refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
imessage refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
infra feat(routing): add per-account-channel-peer session scope 2026-01-28 11:42:33 +05:30
line refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
link-understanding refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
logging refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
macos refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
markdown refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
media fix: avoid global image size regression 2026-01-27 16:02:19 -06:00
media-understanding refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
memory refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
node-host refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
pairing refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
plugin-sdk refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
plugins refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
process fix: harden exec spawn fallback 2026-01-25 06:37:39 +00:00
providers refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
routing feat(routing): add per-account-channel-peer session scope 2026-01-28 11:42:33 +05:30
scripts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
security feat(security): add fail-safe behavior for hardening initialization 2026-01-28 12:31:11 +00:00
sessions refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
shared/text fix: unify reasoning tags + agent ids (#1613) (thanks @kyleok) (#1629) 2026-01-24 19:56:02 +00:00
signal refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
slack refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
telegram fix(discord): add missing type exports and fix unused imports 2026-01-28 11:04:07 +05:30
terminal chore: update molt.bot domains 2026-01-27 12:21:01 +00:00
test-helpers refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
test-utils feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
tts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
tui refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
types TTS: gate auto audio on inbound voice notes (#1667) 2026-01-25 04:35:20 +00:00
utils refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
web feat(security): add hardening modules for single-user auth, network whitelist, and fs monitoring 2026-01-28 08:20:11 +00:00
whatsapp refactor: prune legacy group prefixes 2026-01-17 08:47:25 +00:00
wizard refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
channel-web.barrel.test.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
channel-web.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
docker-setup.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
entry.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
git-hooks.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
globals.test.ts
globals.ts CLI: streamline startup paths and env parsing 2026-01-18 23:10:39 +00:00
index.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
index.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
logger.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
logger.ts refactor(logging): split config + subsystem imports 2026-01-19 00:15:44 +00:00
logging.ts fix: unblock bundled plugin load 2026-01-18 19:34:21 +00:00
polls.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
polls.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
postinstall-patcher.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
runtime.ts perf: speed up memory batch polling 2026-01-18 03:55:14 +00:00
utils.test.ts fix: migrate legacy state/config paths 2026-01-28 00:16:00 +00:00
utils.ts fix: migrate legacy state/config paths 2026-01-28 00:16:00 +00:00
version.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00