Scan your whole stack
Are you using mprov-jobserver?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.7.5
mprov-jobserver was last scanned on 17 Nov 2026 at version 0.7.5. Risk score 40 of 100 (medium). High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 0.7.5 LATEST | 17 Nov 2026 | 1 rule fired |
| 0.7.4 | 16 Nov 2026 | 1 rule fired |
| 0.7.3 | 12 Nov 2026 | 1 rule fired |
| 0.7.2 | 11 Nov 2026 | Not shown |
| 0.7.1 | 9 Nov 2026 | Not shown |
Findings for v0.7.5. 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 code starts a detached background process set to run on its own (output discarded or the process unreferenced), either from a program the package keeps in a hidden dot-directory or with a base64-encoded value that decodes to a network address. Both hide from a reader what runs and where it connects.
HIGHThe score describes 0.7.5; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The mProv Job server is the work horse behind the scenes of the mPCC. The job server connects to the mPCC and will run jobs that are queued on the mPCC. The job server is also responsible for serving images created through the mPCC, as well as running scripts on the images and hosts when they come up.
/export.The job server runs as a container. The image is published to GitHub's container registry:
ghcr.io/mprov-ng/mprov-jobserver:latest # the current release
ghcr.io/mprov-ng/mprov-jobserver:v0.6.0 # a specific release, to pin
ghcr.io/mprov-ng/mprov-jobserver:dev # built from main, for testing
The supported way to run it is with mprov-compose, which brings up the mPCC, its database and a job server together on one host:
git clone https://github.com/mprov-ng/mprov-compose.git
cd mprov-compose
cp stack.env.dist .env
$EDITOR .env
docker compose --env-file .env up -d
See that repository for the full instructions, including the database
passwords it refuses to start without and how to find the mPCC's generated
admin password.
To run a job server on its own — against an mPCC somewhere else — run the
image with the same environment described below. The compose file in
mprov-compose is the reference for what the container needs: host
networking, /etc/mprov on a volume so the configuration and API key
persist, /export for images and repo mirrors, /etc/genders, and cgroup
access.
Installing on bare metal is not supported. The package is still on PyPI and
pip install mprov_jobserverworks, but nothing here documents or tests running the job server as a system service.From 0.7.0 the package needs Python 3.11 or newer: the container image has it, and a host installing with pip needs it too. Node images don't need any particular Python for the job server, which goes into them with its own (see below), so any EL8 or EL9 image works.
Every system image built by image-update gets a copy of the job server,
for script-runner and the MProvScript class that the node scripts in
mprov_scripts are built on.
Since 0.7.0 it goes in as a bundle: a self-contained Python 3.11 with
the job server and its dependencies installed in it, unpacked at
/usr/libexec/mprov in the image, with /usr/local/bin/mprov_jobserver a link
to it. The image's own Python isn't used or changed, an image build needs
no PyPI access, and the image always gets exactly the version of the job
server that built it.
The container image carries the bundle for its own version, in
/usr/share/mprov/. A job server installed with pip has none built in:
download mprov-jobserver-<version>-x86_64.tar.gz for its version from the
release and point
image-update at it, or image builds fail with a message saying so:
- image-update:
pythonBundle: '/srv/mprov/mprov-jobserver-0.7.0-x86_64.tar.gz'
Images built before 0.7.0 have the job server pip-installed onto their own Python. Rebuilding one with 0.7.0 removes that copy and puts the bundle in its place.
Files uploaded to the mPCC with a "Destination in the Image" are placed into every image they're attached to, through its OS distro, system groups or the image itself (#96, mprov_control_center#519). This happens after the base OS is installed and before the image-gen scripts (and Ansible) run, so those can use them.
/proc, /sys, /dev, /run
or /tmp/mprov, or through a symlink;allowSetuidFiles is on.What was placed is recorded in /var/lib/mprov/placed-files.json in the
image. At the next build, a file that's no longer attached is removed. If the
path belonged to a package before it was placed, the package is reinstalled
to bring its own file back instead (a warning, and the placed copy stays, if
that fails). A changed file reaches an image only when it's rebuilt; the mPCC
shows which images need it.
An OS distro on the mPCC can name a base image (base_image_url, with
its base_image_checksum). New images for that distro start from it
instead of being bootstrapped with dnf --installroot. The base can be:
Container-Base)
or a root filesystem tarball;GenericCloud) or
raw, either one optionally xz compressed or the only file in a tarball
(as Debian ships them).The job server works out the format from the file itself, so the URL can end in anything.
Disk images are read with libguestfs, which the container image includes.
It copies the files out from inside a small VM of its own, so the host
never mounts the image's filesystems. The first build from a disk image
also builds that VM's appliance and caches it in /var/lib/mprov/guestfs.
libguestfs uses /dev/kvm when the job server can open it. Without it,
the copy runs under emulation and takes several minutes longer.
A job server installed with pip needs guestfs-tools installed on its
host to use a disk image.
Give the container its settings in the environment — not by editing a
configuration file. On start-up the container renders
/etc/mprov/jobserver.yaml from these:
| variable | what it sets |
|---|---|
MPROV_URL |
the mPCC's URL, e.g. https://10.0.0.1. Use an address or an internal name, not localhost. From 0.7.0 it must be https://, with a host name or address the mPCC's certificate is for: the job server authenticates with a certificate of its own (see Enrolling with the mPCC) |
MPROV_ENROLL_TOKEN |
a one-time enrollment token from the mPCC, if there isn't one in /etc/mprov/enroll_token. In a full mprov-compose stack the mPCC writes one there for you |
MPROV_CA_FINGERPRINT |
the SHA-256 fingerprint of the mPCC's CA, shown with the token, to check the mPCC by before the token is sent. Not needed with MPROV_CA_BUNDLE, or with the mPCC's ca.crt in /etc/mprov (mprov-compose) |
MPROV_TLS_DIR |
where the job server keeps its key and certificate, default /var/lib/mprov/tls. Keep it on storage that survives the container being recreated |
MPROV_APIKEY |
deprecated: the shared mPCC API key, used only by a job server with no certificate and no token. An mPCC with MPROV_SHARED_KEY_MODE=off refuses it, and 0.8.0 drops it |
MPROV_ADDRESS |
this job server's address, as the nodes reach it |
MPROV_MODS |
the job modules to run, space separated — see Available job modules |
MPROV_ARGS |
arguments for the job server itself (default -c /etc/mprov/jobserver.yaml) |
MPROV_CA_BUNDLE |
optional: caBundle, the CA certificate file for an https mPCC whose certificate is from a site or self-signed CA, e.g. /etc/mprov/mpcc-ca.pem |
MPROV_LOG_LEVEL |
optional: logLevel, one of error, warning, info (the default) or debug |
TZ |
the container's time zone |
With mprov-compose these live in .env, copied from stack.env.dist.
From 0.7.0 each job server has an identity of its own instead of the API key every agent used to share (mprov-ng/mprov_control_center#381): a key it makes itself, which never leaves the host, and a certificate the mPCC's CA signs for it, good for 90 days.
MPROV_ENROLL_TOKEN,
else the one the mPCC in the same compose stack writes to
/etc/mprov/enroll_token. For a job server elsewhere, make a token in the
mPCC (manage.py mprov_enroll_token, which prints the CA fingerprint to
set as MPROV_CA_FINGERPRINT too). The token is a secret, so it is only
sent to an mPCC whose certificate checks out: against MPROV_CA_BUNDLE,
the CA with that fingerprint, or the mPCC's ca.crt in /etc/mprov.MPROV_TLS_DIR
(/var/lib/mprov/tls): jobserver.pem (0600) and the mPCC's ca.crt.
Lose them and the job server needs a new token.MPROV_APIKEY, with a warning, and keeps trying to enroll. That fallback
goes in 0.8.0./tmp/mprov/tls and is removed before the image is packed. The
build fails if the credential can't be had, or can't be removed.MProvScript) use the node's own certificate. The mPCC's boot scripts
enroll the node for it as it boots, in /etc/mprov/tls (nodeTlsDir).
They talk to the mPCC over HTTPS on the same host. An image built before
0.7.0, which has no node certificate, still uses its key.apikey in entity.json with a
certificate. Instead, tls gives the cert, key and ca files to use,
e.g. with curl --cert, and mprovURL is the https:// URL. An image-gen
script must not copy those files into the image: they're the build's, and
the booted node has its own.Don't edit /etc/mprov/jobserver.yaml in a container. It is written
from a template on every start, so your changes are gone at the next
restart.
Per-module settings go in the plugin files in /etc/mprov/plugins/,
which are on the volume and are pulled in by the !include at the end of
the generated file.
From 0.7.0 the container brings the config it ships up to date on every
start (#334). It installs any shipped file that's missing and replaces
one an earlier release shipped, as long as you haven't edited it. A
plugin file you have edited is kept, and the new default is written
beside it as <name>.yaml.new (not included) for you to merge. Once your
file matches the default again, the .new is removed. An edited
jobserver.yaml.j2 is replaced, and yours is kept as
jobserver.yaml.j2.bak; use the environment or plugins/local.yaml
instead. The plugin code (*.py) earlier images copied into
/etc/mprov/plugins/ is removed. Nothing else in /etc/mprov is
touched.
Global settings with no environment variable of their own —
hostId, logTimestamps, addresses, a heartbeatInterval other than
10 — go in a plugin file of their own, say
/etc/mprov/plugins/local.yaml, with just the settings you want:
- global:
hostId: 'rack4-js01'
logTimestamps: True
The global: settings from every file are merged, so this adds to the
generated section rather than replacing it: mprovURL and the rest
still come from the environment. Where a setting is in both, the
plugin file wins, and between plugin files the one whose name sorts last
wins. (Before 0.7.0 a second global: replaced the whole section, so the
only way was a complete config of your own passed with MPROV_ARGS=-c;
that still works, but is no longer needed.)
Here is the whole global: section with everything it takes. The container
generates mprovURL, heartbeatInterval, myaddress and jobmodules, plus
apikey, caBundle and logLevel when MPROV_APIKEY, MPROV_CA_BUNDLE
and MPROV_LOG_LEVEL are set; tlsDir, enrollToken and caFingerprint
default to MPROV_TLS_DIR, MPROV_ENROLL_TOKEN and MPROV_CA_FINGERPRINT;
the other commented-out ones below go in a plugin file, as above:
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.