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

cmdop

Latest version: v3.6.1

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
PyPI package Publisher: markolofsen
45 Stars
8 Forks
9 Versions
1.2K Downloads
Python Repo language

Scan summary

cmdop was last scanned on 28 Nov 2026 at version 3.6.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 9 versions; the latest 5 were published within 5 days (24–28 Nov 2026).
  • Findings: No rules fired in version 3.6.1.
  • Downloads: 1,191 downloads.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
3.6.1 LATEST 28 Nov 2026 No rules fired
3.6.0 25 Nov 2026 No rules fired
3.5.0 25 Nov 2026 No rules fired
3.4.0 25 Nov 2026 Not shown
3.3.0 24 Nov 2026 Not shown

No rules fired in 3.6.1

Findings

Findings for v3.6.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 3.6.1; other versions have their own rules, not their own score.

README

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

cmdop

Your computers' tools from Python, sync and async. Use the same tools AI agents call through MCP, with typed results, your agent's grant and a record of each call.

pip install cmdop

Requires Python 3.10+. Install CMDOP on a computer, bring it online on your page and create an agent token in the Agents tab. Set CMDOP_URL to your page's address (https://<address>.cmdop.dev) and CMDOP_TOKEN through your environment. The SDK does not install the machine program. Start with the read risk class.

import cmdop

with cmdop.connect() as client:
    online = next((machine for machine in client.machines() if machine["online"]), None)
    if online is None:
        raise RuntimeError("Bring a machine online on your CMDOP page.")
    info = client.machine(online["id"]).sys.info()
    print(info.os, info.arch, info.cpus)

The program prints the selected computer's OS, architecture and CPU count.

Async

import asyncio
import cmdop

async def main():
    async with cmdop.connect_async() as client:
        for machine in await client.machines():
            if machine["online"]:
                info = await client.machine(machine["id"]).sys.info()
                print(info.os, info.arch, info.cpus)

asyncio.run(main())

Commands and streaming

Inside the connected client's with block, with exec allowed for the agent and machine:

box = client.machine("<machine>")
print(box.run("uptime").stdout)
run = box.stream("printf 'hello\\n'")
for piece in run:
    print(piece.data, end="")
print(run.result.exit_code)

box.fs.read(path=...) and box.fs_read(path=...) call the same typed tool. box.screenshot() decodes the image. client.tasks_list() and client.docs_read() need no machine. Installed agents use box.agent.* and the agent risk class.

Deadlines and errors

box.run("uptime", deadline=5) limits the call to five seconds. Branch on cmdop.CmdopError.code; cmdop.CarrierError means the connection broke before an answer arrived. Do not blindly repeat writes after a connection failure. Call run.cancel() explicitly when leaving a synchronous stream early. Async streams use async for, await run.result() and await run.cancel().

Quickstart · Python API · MCP client setup · Source and issues

License: MIT.

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 cmdop

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

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229