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

infercrane

Latest version: v2.3.1

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
PyPI package Publisher: yasintoy-infercrane
35 Stars
0 Forks
6 Versions
249 Downloads
Go Repo language

Scan summary

infercrane was last scanned on 30 Nov 2026 at version 2.3.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest 4 were published within 4 days (27–30 Nov 2026).
  • Findings: No rules fired in version 2.3.1.
  • Downloads: 249 downloads.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.3.1 LATEST 30 Nov 2026 No rules fired
2.3.0 30 Nov 2026 No rules fired
2.2.0 29 Nov 2026 No rules fired
2.1.0 27 Nov 2026 Not shown
2.0.2 23 Nov 2026 Not shown

No rules fired in 2.3.1

Findings

Findings for v2.3.1. 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 2.3.1; other versions have their own rules, not their own score.

README

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

InferCrane Python SDK

Typed Python client for the InferCrane control API and OpenAI-compatible inference gateway. The package has no runtime dependencies and supports Python 3.10 or newer.

Install

python3 -m venv .venv
.venv/bin/python -m pip install 'infercrane==2.3.1'

Run your code with .venv/bin/python, or source .venv/bin/activate first. A stock Mac has no python command, and Homebrew's python3 refuses pip install outside a virtual environment.

Use the SDK version from the same InferCrane release as the control plane.

Configure

Name the control plane and the key in the environment. For the hosted service, create a key in the dashboard under Settings → Keys, or with infercrane principal create:

export INFERCRANE_URL=https://api.infercrane.com
export INFERCRANE_API_KEY=YOUR_CONTROL_API_KEY
from infercrane import InferCrane

infercrane = InferCrane()

For a self-hosted or local control plane, set INFERCRANE_URL to its address instead.

The control URL comes from the first of: the base_url argument, INFERCRANE_CONTROL_URL, and INFERCRANE_URL (the CLI reads the same two variables in the same order). An empty variable counts as unset. With none of them, a key passed as api_key goes to the hosted service; a key from INFERCRANE_API_KEY is refused with an error instead, because a server's environment often holds its own operator key there. The gateway URL is gateway_url when given, otherwise the control URL's host.

Pass base_url, gateway_url, or api_key to the constructor when environment configuration is not appropriate. Use ca_file, cert_file, and key_file for a private CA or mutual TLS. Keep control-plane credentials in trusted server processes.

Deploy and wait

operation = infercrane.deploy(
    model="Qwen/Qwen3-8B",
    name="support-production",
    endpoint_name="support-production",
    cloud="runpod",
    gpu="L40S",
    min_replicas=1,
    max_replicas=2,
)

completed = infercrane.wait(operation.id, timeout=900)
print(completed.status)
print(completed.result.get("endpoint_name"))

name identifies the deployment operation. endpoint_name is the stable model alias used by the application and defaults to name.

wait observes durable server-side work. A timeout or process exit does not cancel the operation. Call cancel(operation.id) only when cancellation is intentional.

Stream inference

for event in infercrane.stream_chat(
    "support-production",
    [{"role": "user", "content": "Summarize the incident."}],
):
    print(event, flush=True)

AsyncInferCrane provides the same common workflows for async applications.

Set an objective and request evidence

infercrane.set_slo_policy(
    "support-production",
    max_ttft_p95_ms=250,
    max_error_rate=0.01,
)

recommendation = infercrane.recommend("support-production")

Recommendations preserve unavailable evidence instead of inventing a metric or price.

Errors and full API access

from infercrane import APIError, OperationFailed, OperationTimeout

try:
    infercrane.wait(operation.id, timeout=30)
except OperationTimeout:
    print("The operation is still running.")
except OperationFailed as error:
    print(error.operation)
except APIError as error:
    print(error.code, error.remediation)

The ergonomic methods cover common deployment and inference workflows. infercrane.api exposes the complete generated control API with the same authentication and error contract.

See the Python SDK guide, control API, and security guidance.

License

Apache-2.0

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 infercrane

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

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