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 on channel startup and pricing calls

Steven Enamakelbced5e8e722e
diff --git a/crates/openhuman-core/src/channels/runtime/startup/turn_parts.rs b/crates/openhuman-core/src/channels/runtime/startup/turn_parts.rs
index a5f0d4fc21..3e04b5207c 100644
--- a/crates/openhuman-core/src/channels/runtime/startup/turn_parts.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup/turn_parts.rs
@@ -171,7 +171,7 @@ pub(crate) fn build_channel_turn_parts(
} else {
None
};
- // Filter out Workflow-category tools (e.g. Composio, Apify) from the
+ // Filter out Workflow-category tools (e.g. Composio) from the
// main agent prompt — integration actions are reached through tool search.
let non_skill_specs: Vec<tinytools::ToolSpec> = tools_registry
.iter()
diff --git a/crates/openhuman-core/src/integrations/client/pricing.rs b/crates/openhuman-core/src/integrations/client/pricing.rs
index fcca147461..d538a080b4 100644
--- a/crates/openhuman-core/src/integrations/client/pricing.rs
+++ b/crates/openhuman-core/src/integrations/client/pricing.rs
@@ -86,8 +86,8 @@ pub async fn pricing_for_config(
/// both resolve to an error, so no client is built for them.
///
/// There are no per-feature toggles for the shared client itself —
-/// callers that need a kill switch (e.g. twilio, google_places,
-/// parallel) gate tool registration at their own level.
+/// callers that need a kill switch (e.g. google_places, parallel,
+/// stock_prices) gate tool registration at their own level.
///
/// [`resolve_backend_credential`]: crate::security::credentials::session_support::resolve_backend_credential
pub fn build_client(config: &crate::config::Config) -> Option<Arc<IntegrationClient>> {
diff --git a/crates/openhuman-core/src/security/egress/enforce.rs b/crates/openhuman-core/src/security/egress/enforce.rs
index 39c0960f09..accd424fc4 100644
--- a/crates/openhuman-core/src/security/egress/enforce.rs
+++ b/crates/openhuman-core/src/security/egress/enforce.rs
@@ -72,8 +72,8 @@ pub fn local_only_blocks(mode: PrivacyMode, desc: &EgressDescriptor) -> bool {
///
/// 1. **Any path outside the user-data tool namespace** — i.e. it is *not* under
/// `/agent-integrations/`. Today every user-data integration call (composio
-/// execute, parallel / tinyfish / financial-apis / google-places / twilio /
-/// apify research + actions, file-storage uploads) routes through
+/// execute, parallel / tinyfish / financial-apis / google-places 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 `backend::client` and never build an egress descriptor at all. Any
diff --git a/crates/openhuman-core/src/security/egress/enforce_tests.rs b/crates/openhuman-core/src/security/egress/enforce_tests.rs
index 106288478c..5d4a39d52f 100644
--- a/crates/openhuman-core/src/security/egress/enforce_tests.rs
+++ b/crates/openhuman-core/src/security/egress/enforce_tests.rs
@@ -143,7 +143,6 @@ fn control_plane_does_not_exempt_user_data_paths() {
"/agent-integrations/composio/some-future-write",
"/agent-integrations/parallel/research",
"/agent-integrations/tinyfish/fetch",
- "/agent-integrations/twilio/call",
"/agent-integrations/file-storage/files",
"/agent-integrations/google-places/search",
] {