diff --git a/crates/uv-configuration/src/build_options.rs b/crates/uv-configuration/src/build_options.rs index 5aa9a8cda..e51a107ca 100644 --- a/crates/uv-configuration/src/build_options.rs +++ b/crates/uv-configuration/src/build_options.rs @@ -327,7 +327,7 @@ pub enum IndexStrategy { /// but ignore any authentication failures. /// /// This is more secure than pip's behavior but is still vulnerable to dependency confusion - /// if we encounter an authentication failure at an earlier index. + /// if we encounter an authentication failure at a higher-priority index. #[cfg_attr(feature = "clap", clap(alias = "unsafe-first-index"))] UnsafeFirstIndex, /// Search for every package name across all indexes, exhausting the versions from the first diff --git a/uv.schema.json b/uv.schema.json index 1f2eacaca..13f3f1b3c 100644 --- a/uv.schema.json +++ b/uv.schema.json @@ -949,7 +949,7 @@ ] }, { - "description": "Only use results from the first index that returns a match for a given package name, but ignore any authentication failures.\n\nThis is more secure than pip's behavior but is still vulnerable to dependency confusion if we encounter an authentication failure at an earlier index.", + "description": "Only use results from the first index that returns a match for a given package name, but ignore any authentication failures.\n\nThis is more secure than pip's behavior but is still vulnerable to dependency confusion if we encounter an authentication failure at a higher-priority index.", "type": "string", "enum": [ "unsafe-first-index"