Skip to content

Restrict uos_fetch to university URLs - #13

Merged
lkiesow merged 1 commit into
mainfrom
limit-to-uos
Jul 15, 2026
Merged

lkiesow merged 1 commit into
mainfrom
limit-to-uos

Conversation

@lkiesow

@lkiesow lkiesow commented Jul 15, 2026

Copy link
Copy Markdown
Member

The fetch tool accepted any absolute URL, so an MCP client could use the server (and its authenticated session) as a generic proxy. Validate the host in _fetch_page_content against the base_url domain and its subdomains before making any request, and say so in the tool description.

The fetch tool accepted any absolute URL, so an MCP client could use
the server (and its authenticated session) as a generic proxy. Validate
the host in _fetch_page_content against the base_url domain and its
subdomains before making any request, and say so in the tool
description.
@lkiesow
lkiesow merged commit 50c0e38 into main Jul 15, 2026
2 checks passed
@lkiesow
lkiesow deleted the limit-to-uos branch July 15, 2026 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant