Skip to content

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

fix(security): enforce egress policy for all outbound connections

Steven Enamakel7695649c8865
diff --git a/crates/openhuman-core/src/security/egress/enforce.rs b/crates/openhuman-core/src/security/egress/enforce.rs
index 2d7c86942d..39c0960f09 100644
--- a/crates/openhuman-core/src/security/egress/enforce.rs
+++ b/crates/openhuman-core/src/security/egress/enforce.rs
@@ -76,7 +76,7 @@ pub fn local_only_blocks(mode: PrivacyMode, desc: &EgressDescriptor) -> bool {
/// apify research + actions, file-storage uploads) routes through
/// `IntegrationClient` under `/agent-integrations/…`, while session / team /
/// billing / auth round-trips (`/teams/me/usage`, `/payments/…`, `/auth/…`)
-/// go through `api::rest` and never build an egress descriptor at all. Any
+/// go through `backend::client` and never build an egress descriptor at all. Any
/// such path only reaches here if a future caller re-homes a control-plane
/// call onto this descriptor — exempt it defensively so a re-home can never
/// brick login (per the epic's "do not block control-plane" directive).