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

physionlabs

Latest version: v0.1.0rc12

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
PyPI package Publisher: ljhnick-physion
0 Stars
0 Forks
6 Versions
441 Downloads
Python Repo language

Scan summary

physionlabs was last scanned on 1 Dec 2026 at version 0.1.0rc12. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest was published on 1 Dec 2026.
  • Findings: No rules fired in version 0.1.0rc12.
  • Downloads: 441 downloads.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0rc12 LATEST 1 Dec 2026 No rules fired
0.1.0rc11 24 Nov 2026 No rules fired
0.1.0rc10 23 Nov 2026 No rules fired
0.1.0rc9 23 Nov 2026 Not shown
0.1.0rc8 4 Nov 2026 Not shown

No rules fired in 0.1.0rc12

Findings

Findings for v0.1.0rc12. 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 0.1.0rc12; other versions have their own rules, not their own score.

README

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

physionlabs

Official Python client for the Galileo video evaluation API.

Release candidate. pip install physionlabs resolves it. The API below is not final until 0.1.0, and this notice is what will change when it is.

Setup

pip install --pre physionlabs
export GALILEO_API_KEY="your-api-key"

The new Client API requires rc.6 or newer. Put an H.264 MP4 named video.mp4 in the working directory (at most 15 seconds and 50 MiB), and replace the prompt below with what your video was meant to show.

What Galileo does

Submit a generated video and a prompt; get back the places where the video does not do what the prompt asked. The API model is galileo2-pm (prompt alignment), and it is what create and submit use when you do not pass model. A prompt is required.

from physionlabs import Client

client = Client()  # reads GALILEO_API_KEY

evaluation = client.evaluations.create(
    model="galileo2-pm",
    input={
        "video": {"path": "./video.mp4"},
        "prompt": "A red ball rolls off a table and bounces twice.",
    },
)

# `result` is None on a failed run, so it is worth branching rather than
# reaching straight in — a failed evaluation is an outcome, not an exception.
if evaluation.status.value == "failed":
    print("failed:", evaluation.error.message if evaluation.error else "no reason given")
else:
    for finding in (evaluation.result.glitches if evaluation.result else []):
        print(finding.type.value, finding.description)

partial is also terminal and DOES carry a result: one detector finished and another did not, and detectors says which of them to trust. A caller waiting for completed alone waits forever.

Uploading separately to reuse a video across evaluations:

video = client.videos.upload("./clip.mp4")
if video.status.value != "ready":
    raise ValueError("Video failed validation.")
evaluation = client.evaluations.create(
    model="galileo2-pm",
    input={
        "video": {"upload_id": video.id},
        "prompt": "A red ball rolls off a table and bounces twice.",
    },
)

Walking a large account, and retrying what failed:

for ev in client.evaluations.iterate(status=["failed"]):
    nxt = client.evaluations.retry(ev.id)   # idempotent, unlike create
    print(ev.id, "->", nxt.id)

retry() is the only idempotent submission in this API: press it in a burst and every caller is handed the same successor. create() is not, which is why this client never retries it — see the note in resources/evaluations.py.

The contract

This client is not hand-written against a running server. openapi/galileo-v1.yaml is a copy of the API's OpenAPI description, and the models in physionlabs/models.py are generated from it — so a field cannot be wrong here without being wrong in the contract.

openapi/SOURCE records which upstream revision the copy is. python scripts/check_contract.py fails if the copy has been edited locally, or if the generated models are not what the contract produces.

The Node client, @physionlabs/galileo, is built from the same copy of the same file.

Development

uv sync
uv run python scripts/generate_models.py   # regenerate models from the contract
uv run python scripts/check_contract.py    # verify the copy and the models are in step
uv run pytest
uv run mypy

License

Apache-2.0. Chosen over MIT for the explicit patent grant: MIT is silent on patents, which is one more thing for a reviewer to think about, and Apache-2.0's retaliation clause protects everyone using it.

Submit without waiting

Client.evaluations.create() handles upload, validation, submission and waiting for the result. Client.evaluations.submit() accepts the same model and input but returns the job ID after submission. A local file still has to finish uploading and validating first. Use retrieve(id) to read the result later. For a hosted video, use input.video.url instead of input.video.path.

Migrating from rc.5

Import Client, move video and prompt into input, and select galileo2-pm (or omit model). Replace create-and-wait with create, and submit-only create with submit. The original Galileo entry point retains its old behavior.

Migrating to rc12

The API model is now named galileo2-pm, and it is the default when you omit model. galileo-pm, its earlier name, is still accepted and runs the same model, so existing code keeps working. Responses always name it galileo2-pm: Evaluation.model, GET /v1/models ids and per-model pricing keys.

Upgrade now: rc11 and earlier raise a pydantic ValidationError on every evaluation and /v1/models response from the live API, because their EvaluationModelId has no member for galileo2-pm. In rc12 it is EvaluationModelId.galileo2_pm, and ModelId has both galileo2_pm and galileo_pm. Code that compares evaluation.model.value to "galileo-pm" should compare to "galileo2-pm".

Migrating to rc.10

The API now offers API keys only galileo-pm. galileo-1.0 and galileo are refused with 400 model_not_available (raised as InvalidRequestError), and ModelId has no members for them. Pass model="galileo-pm" or omit model, and always send a prompt. Evaluations created earlier still read back with model set to galileo (EvaluationModelId.galileo).

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).

  • pypi-releases physionlabs

References

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

Powered by Read the latest findings

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

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229