You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG][Medium]- Artifact model URL can direct host LM traffic #95
A .dsrs artifact can supply a model base_url. When the embedding host has not prebound that model name, load constructs a client from the artifact config and a model backed run sends its prompt and input to the chosen endpoint. Loading a lower trust artifact can therefore disclose prompt content to an endpoint it selects or send requests to a private service reachable by the host. A host prebinding for that model overrides the URL.
Require a host controlled allowlist or explicit approval for artifact supplied model endpoints before constructing the client.
Keep endpoint selection in host policy when loading lower trust artifacts.
Acceptance criteria
An unapproved artifact URL cannot receive model requests.
Host approved custom model endpoints continue to work.
Related issues
#38 asks for slash bearing model names with a custom base_url; #69 covers LM selection and configuration. This ticket concerns whether an artifact supplied destination is authorized, regardless of model naming or config precedence.
Activity
fix: require host approval for artifact model URLs (krypticmouse#95)