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

scietex-adc-service

Latest version: v0.2.0

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
PyPI package Publisher: bond_anton
0 Stars
0 Forks
3 Versions
268 Downloads
Python Repo language

Scan summary

scietex-adc-service was last scanned on 1 Dec 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest was published on 1 Dec 2026.
  • Findings: No rules fired in version 0.2.0.
  • Downloads: 268 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 1 Dec 2026 No rules fired
0.1.1 9 Nov 2026 No rules fired
0.1.0 7 Nov 2026 No rules fired

No rules fired in 0.2.0

Findings

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

README

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

scietex.adc_service

scietex.adc_service is a scietex.service worker connected to Valkey that owns one or more SPI ADC devices (MCP3204, MCP3208) through scietex.hal.adc. It opens the configured converters at startup, exposes single-ended and differential reads as adc:* tasks, and publishes a telemetry snapshot of the live devices. A device that fails to open does not stop the worker: it is recorded, reported as unavailable, and the remaining devices keep working. Configuration can also be pushed at runtime through the framework's remote-config channel.

Python ≥ 3.10 · License: MIT

Documentation

  • Overview — what the service does and how it fits together
  • Configuration — the adc.yml schema and precedence
  • Deployment — container, SPI device access, Quadlet
  • Remote configuration — the declarative adc section

Installation

pip install "scietex.adc_service[spi]"      # spidev backend for /dev/spidev*
pip install "scietex.adc_service[gpiozero]" # plain-GPIO backend

The core package pulls in scietex.hal.adc, scietex.service[valkey], and msgspec. The backend extras are optional: a core install can still build a device from a caller-supplied transport, but an operator normally installs the extra that matches the board's wiring.

Quick start

1. Write a configuration file

The service reads adc/adc.yml under its config directory. Create it by hand, or let the service generate a default on first run. The file is the bootstrap layer of a four-layer merge: constructor defaults < adc.yml < the framework's config.yml snapshot < the remote adc section.

2. Run the service
start-adc-service --conf-dir /etc/scietex

The config directory resolves automatically when --conf-dir is omitted. The service runs in the foreground until SIGINT or SIGTERM.

3. Read a channel

Submit an adc:read task to the worker with payload {"device_id": "adc0", "channel": 0}. The result carries the raw 12-bit code and the scaled voltage. Add "samples": 4 to average four conversions of the input into that one result.

Configuration at a glance

Devices are keyed by a string id, which names the device in task payloads and telemetry:

devices:
  adc0:
    type: MCP3208
    port: 0
    device: 0
    v_ref: 3.3
    channels:
      - channel: 0
        poll_interval_ms: 1000
  adc1:
    type: MCP3204
    device: 1
    v_ref: 5.0
    poll: false
poll_enabled: true

Per-device fields: type (required, MCP3204 or MCP3208), port and device for the SPI wiring, clock_pin/mosi_pin/miso_pin/select_pin for the gpiozero backend, v_ref, label, log_level, poll (default true), and channels (per-input polling rows; an empty list means the device is not polled). port is the SPI bus number and device is the chip-select; both are integers. Top-level fields: devices and poll_enabled (default true). Unknown fields are rejected.

Each channels row carries channel, poll_interval_ms (default 1000), enabled (default true), and label. There is no device-level period: a device stays silent until its rows are defined.

Tasks

Task Lane Request Result
adc:list control optional device_id per-device device_id, available, error, v_ref, channels, differential, poll; plus poll_enabled
adc:read data device_id, channel, differential, samples device_id, channel, differential, code, voltage
adc:read_all data device_id device_id, codes, voltages

Differential reads use adc:read with differential: true; channel then names a differential pair instead of a single-ended input. An id that is configured but failed to open is a successful adc:list entry with available: false, not a task error.

Telemetry

The worker publishes to scietex:{service}:{instance_id}:telemetry every 2 s with a 6 s TTL. The snapshot lists every configured device with its open state, v_ref, channel_count, and poll flag, plus the service-wide poll_enabled switch. channel_count is absent for a device that failed to open. Polling is opt-out both per device (poll: false) and globally (poll_enabled: false), and a device stays silent until it has explicit channels rows.

Container and quadlet

podman build --build-arg VERSION=0.1.0 -t scietex-adc-service .
podman run --rm --device /dev/spidev0.0 -v ./config:/config scietex-adc-service

The container only dials Valkey, so it publishes no port and needs no capabilities. /dev/spidevX.Y must be passed with --device; without it the worker still starts and reports the device unavailable.

For a persistent deployment, install deploy/adc-service.container as ~/.config/containers/systemd/adc-service.container and the SPI drop-in as ~/.config/containers/systemd/adc-service.container.d/50-spi-devices.conf, then systemctl --user daemon-reload && systemctl --user start adc-service. The Quadlet bind-mounts ~/.config/scietex, so adc/adc.yml stays hand-editable on the host.

Development

Dependencies are managed with uv; checks and tests run through tox:

uv sync --all-extras
uv run tox                    # format, lint, type, py314
uv run tox -e py314           # tests only

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 scietex-adc-service

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

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