Hugging Face Hub adds outbound network controls for sandboxes
TL;DR Hugging Face Hub 2.5.0 adds per-sandbox outbound network policy. Supported hosts enforce it, and creation fails if the host cannot apply the requested policy.
What changed
Hugging Face Hub 2.5.0 gives sandbox operators an option to block outbound internet access or allow a defined set of destinations. The release notes say the sandbox server enforces the policy across processes launched by the sandbox. A pool can apply different policies to different sandboxes. Creation fails if the host cannot apply the policy, including when a pool host runs an older client version. Hugging Face’s November 26 release notes
Our take
An agent that summarizes mounted files and an agent that looks up model metadata have different network needs. The summarizer can run offline once its dependencies are in place. The lookup agent can use a policy specific to the services it needs. A separate configuration for each makes it easier to explain and test the access a workflow is supposed to have.
Older pool hosts deserve their own upgrade check because client and host versions can drift. A launch error is visible, but it can still stop a scheduled job. Verify host compatibility before enabling the policy for a broad set of workloads.
Test from the same execution path the agent uses. In a test pool, the offline sandbox should complete its local work while an outbound test request fails. In an allowlisted sandbox, an authorized service should be reachable and a second, unlisted test destination should be denied. Leave those checks in the deployment process so a later image or pool update has to meet the same contract.
Source
Hugging Face · 2026-11-26 · Hugging Face Hub 2.5.0 release notes