Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(security): validate session token before credential refresh

Steven Enamakel8952209ab590
diff --git a/crates/openhuman-core/src/security/credentials/session_support.rs b/crates/openhuman-core/src/security/credentials/session_support.rs
index f2078e2577..123dd113af 100644
--- a/crates/openhuman-core/src/security/credentials/session_support.rs
+++ b/crates/openhuman-core/src/security/credentials/session_support.rs
@@ -398,7 +398,7 @@ pub fn resolve_backend_credential(config: &Config) -> Result<BackendCredential,
/// relay, …), or `None` when the call should be skipped:
///
/// - no backend transport is installed — the core runs without a TinyHumans
-/// connection (`api::transport::is_installed`), or
+/// connection (`backend::transport::is_installed`), or
/// - no usable credential resolves — signed out, the offline local session,
/// or a locally-expired token ([`resolve_backend_credential`]).
///