Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Qemu Mcp

Let your AI agent boot an operating system and drive it.

Compatibility: Not stated.

Grade B

Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST

Why this grade

  • PERMISSION_DELETE_FILES Low

    Contains a call that can delete files.

    src/qemu_mcp/server.py, line 208 os.remove(ppm)

  • NETWORK_NO_FIXED_HOST Low

    Makes a network call whose host is not written as a fixed address.

    src/qemu_mcp/qmp.py, line 32 self.sock = socket.create_connection(("127.0.0.1", port), timeout=5)

Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.

Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.

What was checked

Plain notes from the hygiene checks.

  • Permissions

    Concern

    can delete files.

    PERMISSION_DELETE_FILES

    src/qemu_mcp/server.py, line 208

    os.remove(ppm)

    src/qemu_mcp/server.py, line 494

    os.remove(ppm)

    src/qemu_mcp/vm.py, line 104

    result = subprocess.run(

    Show more

    src/qemu_mcp/vm.py, line 237

    proc: subprocess.Popen[bytes]

    src/qemu_mcp/vm.py, line 401

    shutil.rmtree(stale.workdir, ignore_errors=True)

    src/qemu_mcp/vm.py, line 515

    proc = subprocess.Popen(args, stdout=log, stderr=subprocess.STDOUT, stdin=subprocess.DEVNULL)

    src/qemu_mcp/vm.py, line 516

    # subprocess.Popen dup2's the fd into the child before returning, so the

    src/qemu_mcp/vm.py, line 527

    shutil.rmtree(workdir, ignore_errors=True)

    src/qemu_mcp/vm.py, line 542

    shutil.rmtree(workdir, ignore_errors=True)

    src/qemu_mcp/vm.py, line 620

    shutil.rmtree(vm.workdir, ignore_errors=True)

    BACKLOG.md, line 85

    - [x] `qemu_list`'s per-VM uptime is computed from `VM.started_at` - checked this against current code and it's already correct, not a real bug: `started_at: float = field(default_

    BACKLOG.md, line 100

    - [x] `vm.boot()` opened `qemu_log` for writing and passed it as `Popen`'s `stdout`, but on the success path (the common case - QMP actually connects) that parent-side file object

    BACKLOG.md, line 107

    - [x] Add a `qemu_version` MCP tool (or fold it into `qemu_boot`'s confirmation message) that runs `qemu-system-<arch> --version` via `find_qemu(arch)` and returns QEMU's own versi

    BACKLOG.md, line 135

    - [x] No lock protects the global `_vms: dict[str, VM]` registry in `vm.py` from concurrent access - `boot()`'s check-then-act sequence (`reap_dead()` -> check `_vms.get(name)` ->

  • Install and update

    Pass

    No install-time script found, and dependencies are pinned or absent.

  • Network

    Concern

    can reach a host that is not written as a fixed address.

    NETWORK_NO_FIXED_HOST

    src/qemu_mcp/qmp.py, line 32

    self.sock = socket.create_connection(("127.0.0.1", port), timeout=5)

    src/qemu_mcp/serial.py, line 51

    return socket.create_connection(("127.0.0.1", self.port), timeout=5)

  • Secrets

    Pass

    No read of a credential file or secret environment variable found.

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Pass

    No encoded or minified payload found.

  • Licence

    Pass

    A licence file is present (LICENSE).

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 2f14241e522d. can delete files. can reach a host that is not written as a fixed address.

Date and source

Date checked:

View source

github.com

Commit graded: 2f14241e522d461cf2961bd5d4afbece7bbcfe33

This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.

Read how this letter is chosen