ml-explore/mlx

mlx.launch should properly quote the hostname

Closed

#3,776 opened on Jun 28, 2026

 (1 comment) (1 reaction) (0 assignees)C++ (1,794 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (26,216 stars)
PR merge metrics
 (Avg merge 6d 17h) (75 merged PRs in 30d)

Description

Not really a problem since apparently it is user's responsibility to pass a trusted hostname here but some AI scanners just keep reporting it as security issue.

https://github.com/ml-explore/mlx/blob/c9ccaba99743bc5ea33ef9f74e7f1969dffc9d92/python/mlx/_distributed_utils/launch.py#L47-L66

Contributor guide