Skip to content

Arbitrary URI Handling in benchmark-local.py #166

@fasrm

Description

@fasrm

The --ollama-url argument is passed directly to urllib.request.urlopen() without scheme or host validation.

Experimental testing confirmed:

HTTP requests;

  • FTP connections;
  • Local file access via file://;
  • Attempts to reach cloud metadata endpoints.

No practical path to remote code execution or data exfiltration was demonstrated.

Impact is low in normal developer workflows, but the issue may become more relevant when benchmark execution is automated or exposed through CI/CD systems

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions