Liohtml
Liohtml
## Summary `app/src/App.tsx` starts five service singletons at module evaluation time (`startWebviewAccountService()`, etc.). These attach Tauri `listen()` event handlers internally. During Vite HMR, module re-evaluation is guarded by `started` flags...
## Summary `app/src/hooks/useDaemonLifecycle.ts` — the `scheduleRetry` setTimeout callback calls `setIsRecovering`, `incrementConnectionAttempts`, and `resetConnectionAttempts` without checking `isMountedRef.current` first. These mutate external Zustand-like store state on an unmounted component. ## Location `app/src/hooks/useDaemonLifecycle.ts`...
## Summary `app/src/providers/CoreStateProvider.tsx` — the polling `useEffect` calls `commitState` after `doRefresh()` resolves, even if the component unmounted during the await. The `cancelled` flag is checked only for rescheduling, not before...
## Summary `src/openhuman/webhooks/router.rs` — the `persist()` method calls `std::fs::write` synchronously, which blocks the tokio worker thread if called from an async context. This happens on every `register` / `unregister` call....
## Summary `app/src/services/socketService.ts` — the `once()` method registers listeners in `pendingListeners` when the socket isn't connected yet. When the socket later connects, pending listeners are flushed using `socket.on(event, callback)` instead...
## Summary `src/openhuman/providers/reliable.rs` — `stream_chat_with_system()` only tries the first provider+model that supports streaming. If that single attempt fails, the error propagates immediately. In contrast, non-streaming methods (`chat_with_system`, `chat`, `chat_with_tools`) implement...
## Summary `docker-compose.yml` does not set any security hardening options: - No `read_only: true` for the root filesystem - No `security_opt: [no-new-privileges:true]` - No `cap_drop: [ALL]` (no capability dropping) -...
## Summary `app/src/services/webviewAccountService.ts` deserializes data arriving via Tauri IPC events (`webview:event`) using unchecked `as` casts (e.g., `evt.payload as IngestPayload`). No schema validation is performed. If a compromised or malformed event...
## Summary `src/openhuman/providers/reliable.rs` — `rotate_key()` logs the last 4 characters of the API key in a `tracing::info!` call. With multiple key rotations, an attacker with log access can reconstruct significant...
## Summary `src/openhuman/security/policy.rs` — `is_path_allowed()` validates the path string but does not resolve symlinks before checking against `forbidden_paths`. A symlink created inside the workspace pointing to a forbidden path (e.g.,...