Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

host-and-share-remote-tool

Latest version: vgit:de47c586660486abbd366c5d6dc75c30425c36a9

Overview

Last scanned
17 Nov 2026
Agent skill Publisher: mims-harvard
1,793 Stars
276 Forks
1 Versions
Python Repo language

Scan summary

host-and-share-remote-tool was last scanned on 17 Nov 2026 at commit de47c586. Risk score 10 of 100 (low). No malicious behavior was detected.

  • Releases: Single version.
  • Findings: No rules are listed for commit de47c586.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
de47c586 No rules fired

No rules fired in de47c586

Findings

Findings for commit de47c586. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes de47c586; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Host and share a remote tool

Use this workflow for user-owned code and infrastructure. Keep the workload on the user's computer or lab server; ToolUniverse Platform receives only the MCP tool manifest and relayed calls.

Choose the shortest path

  • Python function, model, database query, or workflow: wrap only the callable with @remote_tool, then use tu serve ... --share.
  • Existing Streamable HTTP MCP server: keep it running on loopback and use tuplatform-relay --forward ....
  • One of ToolUniverse's 30 reviewed scientific implementations: use its implementation-specific setup-<name>-remote-tool skill and tu remote share <name> instead.

Do not treat an arbitrary REST endpoint as MCP. Wrap it in a typed Python function first, or put a reviewed MCP adapter in front of it.

1. Install the reviewed clients

Open ToolUniverse Connect, go to Computers → Connect a computer (https://connect.aiscientist.tools/remote-servers), choose the Python or existing-MCP path, and copy the immutable install command shown there. Run it in a new Python 3.12 virtual environment. The command pins both the ToolUniverse and relay sources; do not replace the pins with a moving branch.

Confirm the expected commands exist:

tu --help
tuplatform-relay --help

Stop if installation or source access fails. A locally working model does not prove that sharing works.

2A. Wrap a Python model or function

Create my_tool.py. Load fixed model artifacts from provider-owned configuration; do not accept arbitrary caller-controlled filesystem paths or model identifiers.

from tooluniverse import remote_tool

@remote_tool
def predict(sequence: str, threshold: float = 0.5) -> dict:
    """Score one sequence with the locally hosted model."""
    if not isinstance(sequence, str) or not 1 <= len(sequence) <= 10_000:
        raise ValueError("sequence must contain 1 to 10,000 characters")
    score = min(len(sequence) / 100.0, 1.0)  # replace with the real model call
    return {"score": score, "passes": score >= threshold}

Use bounded, JSON-serializable inputs and outputs. Return stable field names and sanitized errors; never return secrets, local paths, stack traces, raw model objects, or unbounded tensors/files.

For a GPU model, verify the actual provider environment before launch:

python -c 'import torch; assert torch.cuda.is_available(); x=torch.arange(8, device="cuda"); print(torch.cuda.get_device_name(0), x.sum().item())'

This proves only CUDA tensor execution. Run a small, real inference below before claiming the model works.

2B. Use an existing MCP endpoint

Start the Streamable HTTP MCP server on loopback, for example http://127.0.0.1:8080/mcp. Confirm it implements MCP initialization, tools/list, and tools/call; a health endpoint alone is insufficient.

Do not forward a public endpoint containing embedded credentials. Keep provider API keys in the provider process and use the relay only for MCP traffic.

3. Validate locally before sharing

For Python mode, start without --share:

tu serve my_tool.py --host 127.0.0.1 --port 8080

From a second terminal, perform exact discovery and one semantic call:

python - <<'PY'
import asyncio
from fastmcp import Client

async def main():
    async with Client("http://127.0.0.1:8080/mcp") as client:
        tools = await client.list_tools()
        print([tool.name for tool in tools])
        result = await client.call_tool("predict", {"sequence": "ACGT", "threshold": 0.01})
        print(result)

asyncio.run(main())
PY

Check the exact tool name and schema, meaningful finite output, invalid-input behavior, latency, and the absence of secrets or local paths. For a real ML model, record evidence that the model loaded and executed on the intended CPU/GPU; discovery alone is not model validation.

4. Share privately with browser authorization

Stop the local-only command, then use one foreground command.

Python path:

tu serve my_tool.py --share --name "My Model" --service https://tooluniverse-backend.onrender.com

Existing MCP path:

tuplatform-relay --forward http://127.0.0.1:8080 --name "My Server" --service https://tooluniverse-backend.onrender.com

When no valid key is stored, the CLI opens a browser authorization link. Approve the matching computer name and code. No copy/paste is required; the computer-only key is verified and stored in a local 0600 file without being displayed. On a headless server add --no-browser and open the printed link elsewhere. If the first request expires, the CLI creates one replacement link automatically.

An explicit invalid TOOLUNIVERSE_SERVICE_KEY and all non-interactive jobs fail fast. Fix or unset the environment value; do not silently replace production secrets. Use protected secret injection only for unattended service accounts.

5. Verify through TU Platform

Wait until Computers shows the server online. As its owner, import or open the remote tool and make one small semantic call through TU Platform. Confirm the platform result matches the local result. Record local discovery, local call, online status, platform discovery, platform call, model/device evidence, and timestamps separately.

Keep the connection private by default. Public marketplace publication, another user's authorization/isolation, load behavior, and long-running supervision are separate validations; do not claim them from an owner-only smoke test.

6. Stabilize and operate

  • Start with one relay worker for GPU or stateful workloads. Increase only after measuring cold start, warm latency, RAM/VRAM, queueing, timeouts, cancellation, and recovery at parallel levels 1, 2, 4, and 8.
  • Load the model once per provider process and bound input size, response size, download size, runtime, and concurrency.
  • Bind locally to loopback. The relay is outbound; no public IP or firewall change is needed.
  • Keep model weights, data, caches, and credentials outside Git. Pin dependencies and document licenses.
  • Stop foreground sharing with Ctrl-C. For persistent operation, use the tuplatform-service install command shown by the website, then verify its user service and logs.

Remove only the local login with tu remote logout. Revoke the computer-only platform connection and then remove the local copy with:

tu remote logout --revoke

For an SDK-only existing-MCP setup, use tuplatform-auth logout --revoke. Revocation intentionally leaves the server record offline for owner inspection; delete that record separately in Computers if desired.

Failure reporting

Classify outcomes precisely: installation blocked, provider dependency blocked, GPU unavailable, credential rejected, local discovery passed, real inference passed, relay passed, or platform semantic call passed. Never convert a blocked or discovery-only result into "working."

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • GitHub mims-harvard/ToolUniverse/host-and-share-remote-tool

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229