The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(browser): state the 0.0.0.0/8 block explicitly at the browser call site
Avi-Bendetsky74f0b6162bd2
diff --git a/crates/openhuman-core/src/modules/browser.rs b/crates/openhuman-core/src/modules/browser.rsindex 3e34f59a3e..8f92338f54 100644--- a/crates/openhuman-core/src/modules/browser.rs+++ b/crates/openhuman-core/src/modules/browser.rs@@ -347,7 +347,11 @@ fn private_or_local(host: &str) -> bool {// The network tools' full non-global list, so the browser blocks the same// reserved, benchmarking and documentation ranges they do.match host.parse::<std::net::IpAddr>() {- Ok(std::net::IpAddr::V4(ip)) => crate::tools::implementations::is_non_global_v4(ip),+ // `is_non_global_v4` already covers 0.0.0.0/8; the explicit octet check+ // keeps that local-host range visibly blocked at this call site too.+ Ok(std::net::IpAddr::V4(ip)) => {+ crate::tools::implementations::is_non_global_v4(ip) || ip.octets()[0] == 0+ }Ok(std::net::IpAddr::V6(ip)) => crate::tools::implementations::is_non_global_v6(ip),Err(_) => false,}