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

cyberwave-edge-core

Latest version: v0.1.41

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: erlapso
1 Stars
1 Forks
3 Versions
Python Repo language

Scan summary

cyberwave-edge-core was last scanned on 27 Nov 2026 at version 0.1.41. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest was published on 27 Nov 2026.
  • Findings: No rules fired in version 0.1.41.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.41 LATEST 27 Nov 2026 No rules fired
0.1.39 12 Nov 2026 No rules fired
0.1.30 26 Oct 2026 No rules fired

No rules fired in 0.1.41

Findings

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

README

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

Cyberwave Edge Core

This module is part of Cyberwave: Making the physical world programmable.

Cyberwave Edge Core acts as the orchestrator of Cyberwave edge drivers.

License Documentation PyPI version PyPI Python versions Release to PyPI

Quickstart

SSH to the edge device where you want to install Edge Core, then install the Cyberwave CLI and run the installer:

# Install the Cyberwave CLI (one-time setup)
curl -fsSL https://cyberwave.com/install.sh | bash

# Run the edge installer (interactive)
sudo cyberwave edge install

The installer will prompt you to log in with your Cyberwave account, select a workspace and environment, and persist configuration under ~/.cyberwave/. You can override the config directory via the CYBERWAVE_EDGE_CONFIG_DIR environment variable. Legacy installs that used /etc/cyberwave are automatically migrated.

Permissions on the config directory:

  • credentials.json is written with mode 0600 (owner-only) because it holds your API token.
  • fingerprint.json is written with mode 0644 (world-readable) because the device fingerprint is a hardware identifier, not a secret. This lets user shells read it even when Edge Core runs as root via systemd.
  • On systemd deployments where Edge Core runs as root, the service re-chowns files under ~/.cyberwave/ on startup so they stay owned by the user whose home directory holds them.

Don't have a Cyberwave account? Get one at cyberwave.com

Config files created

The installer and Edge Core create these files in the config directory:

File Description
credentials.json API token and workspace information
fingerprint.json Device fingerprint (generated by Edge Core)
environment.json Selected environment and twin UUIDs
edge.json Cached edge device record from the backend (written on registration, refreshed periodically)
{twin-uuid}.json Cached twin + asset record (one per twin)
cameras.json Deprecated. Legacy camera device config; superseded by edge.json metadata.cameras

Edge Core requires credentials.json to operate. fingerprint.json is produced by Edge Core; environment.json is written by the CLI during setup. edge.json is written on registration and stores the full edge device record, including metadata.cameras (the device list and the twin-to-device mapping). Every ~5 minutes reconcile_edge_json_file_sync fetches the record again, but it rewrites the file only when metadata.cameras changed, because a rewrite is what the camera drift check reacts to (see Camera pins: drift and missing devices).

How Edge Core works

On startup (service or direct run), Edge Core performs the following steps:

  1. Validate credentials from credentials.json.
  2. Connect to the backend MQTT broker and verify connectivity.
  3. Start a bootstrap health publisher that sends periodic edge health messages while drivers are starting up.
  4. Register the edge device and record a unique edge_fingerprint.
  5. Download the selected environment and resolve twins linked to the fingerprint.
  6. Start drivers for linked twins. Special handling for attached camera child twins (a twin with an RGB sensor and an attach_to_twin_uuid whose parent is linked to this edge):
    • Docking is a scene relationship; it does not by itself hand the camera to the parent's driver. Edge Core decides from the parent's selected driver image (local override first, then the drivers profile, children's registry IDs included).
    • If that image is cyberwaveos/so101-driver or cyberwaveos/openarm-driver (any tag or digest, optionally docker.io/-prefixed), the parent manages the camera: Edge Core writes the camera's twin JSON, starts no separate driver for it, and passes its UUID to the parent via CYBERWAVE_CHILD_TWIN_UUIDS and the parent's scoped driver token.
    • Otherwise the camera runs its own configured driver image under its own twin UUID, like an independent twin, and the parent gets neither its UUID nor access to it. A camera whose parent is not linked to this edge always runs independently.
  7. Stop the bootstrap health publisher once drivers are running (drivers publish their own health messages; keeping both would produce duplicate signals in the UI).
  8. Pull workflow workers (wf_*.py) for the twins listed in environment.json and start the worker container (if any worker files exist in {config_dir}/workers/).
Scope of workflow worker sync

Workflow worker sync is scoped strictly to the twin UUIDs the operator selected at install time and persisted to environment.json under twin_uuids. This is intentionally narrower than the fingerprint-based discovery used for drivers and the bootstrap health publisher: an environment can carry stale metadata.edge_fingerprint entries from previous installs, and we don't want those to pull unrelated wf_*.py files onto this edge. For backward compatibility, installs that predate the twin_uuids field still fall back to fingerprint-based discovery.

During driver startup, Docker image pull progress is mirrored into the edge-core service logs and forwarded through the same MQTT-backed driver log stream used for runtime container logs, so users can follow image download progress remotely.

Remote restart (Edge REST API)

Request a remote restart of Edge Core via the REST API:

POST /api/v1/edges/{uuid}/restart-core

The API will publish an MQTT message to the edge's command topic:

Topic: edges/{edge_uuid}/command

Example payload:

{ "command": "restart_edge_core" }

When Edge Core receives this command it performs a graceful restart consisting of:

  1. Stopping the worker container (if running).
  2. Removing cached twin JSON files from the edge config directory.
  3. Stopping and removing any edge-managed driver containers, then pruning stopped containers.
  4. Resolving any active driver_starting alerts on the affected twins so leftovers from the previous run do not stay visible after the restart.
  5. Re-downloading the selected environment and restarting drivers.
  6. Restarting the worker container (if worker files exist).

The restart deletes the cached twin JSON files without a final push, so an edit a driver made to its twin file after the last runtime tick (see Twin JSON file) is lost; everything else is downloaded again from the backend.

Each driver startup attempt creates a driver_starting twin alert that tracks the in-flight startup (image pull, container launch, post-launch health probe). The alert is automatically resolved once the driver container is observed running; if the attempt fails, it's annotated with the failure phase (e.g. pull_failed / pull_timeout / pull_oserror), escalated to critical severity, and resolved. The same lifecycle applies to the ML worker via the worker_starting alert, which is raised before the image pull and held until the worker container is observed running — so a worker whose image is already on disk still reports that it is starting, rather than coming up silently. The alert is therefore guaranteed to clear when the driver has restarted; longer-lived failure conditions are surfaced through separate driver_start_failure alerts created by the orchestrator.

While docker pull is running, edge-core writes pull progress directly onto the alert's metadata (progress_percent, downloaded_bytes / total_bytes, downloaded_human / total_human, phase) so the workbench renders e.g. Downloading driver image (cyberwaveos/ugv-driver:dev) — 43% instead of a stale "Still pulling" spinner. The byte counts join the message once every layer has declared its size (745 MB of 1.55 GB); until then the image size is not yet known and only the percentage is shown. The same summary feeds the systemd watchdog (systemctl status cyberwave-edge-core) and extends TimeoutStartSec while bytes are still arriving. The parser, fan-out worker, and tests live in cyberwave_edge_core/driver_logs.py and tests/test_docker_pull_progress.py.

Startup is reported as three distinct stages. overall_progress_percent — the number a progress bar should read — spans all three as a single 0–100 that only moves forward (download 0–45, install 45–80, container 80–100), because the card renders one bar and a stage restarting its own count reads as the bar rewinding. stage_progress_percent carries the same startup as a per-stage 0–100, for a stage-aware bar to use; the alert's text names the stage on screen, so a stage that reads 100 % is one you can check against what you are being told. The bands are sized by how long each stage takes rather than by how many steps it has, so install — the stage that outlasts the download — gets a comparable share of the bar.

Downloading is driven by layers fetched rather than by bytes: docker only declares a layer's size when it starts fetching it, so a byte ratio has an unknown denominator for most of the pull and reads 100 % every time the in-flight batch drains. The layer currently downloading counts as its byte fraction, so the number still moves between layers. 100 % is reserved for a pull docker has confirmed finished. Installing — verifying and decompressing, which on a multi-GB image outlasts the download — tracks layer completion (layers_complete / layers_total). Starting covers container create → run → probe.

Local driver builds are never pulled

A driver image whose tag is local, starts with local- or ends with -local is treated as a developer build. When such an image already exists on the host, Edge Core uses it as it is: _use_local_build takes it out of the parallel pull, the startup alert records phase: "pull_skipped", and the log says Using the local build of <image>; local-only tags are not pulled. Before this rule a restart pulled the tag like any other, and because Docker Hub can carry an image with the same tag, the pull quietly replaced the build you were testing. A local-only tag that is not on the host is still pulled, and digests (@sha256:…) never count as local. The worker has its own, broader rule; see Worker image refresh policy.

Which image a twin's driver runs

The docker_image in the twin's metadata.drivers is what runs, whatever tag it carries (humble-dev-sha-<sha>, humble-0.1.3-rc.7, humble-pr-4549-sha-<sha>, a @sha256: digest, a release such as jetson-humble-0.1.23). After docker ps on the edge, the driver's own services show that reference, not a moving channel tag.

A driver image can declare a stack of sibling images in its io.cyberwave.driver.compose.* label (the Go2 declares go2-ros2-driver, ros2-slam and ros2-nav2). Edge Core resolves that graph as follows:

  1. Own services. A service of the same repository as the twin's image (plant and bridges for the Go2) runs the twin's reference exactly. The label names it <repo>:${CW_CHANNEL_TAG}, which used to resolve to the channel the image was built in, so a twin on humble-dev-sha-<sha> ran humble-dev. See _run_the_twin_image_in_its_own_services in cyberwave_edge_core/startup.py.
  2. Siblings of a pinned graph. CI pins every sibling to an immutable -sha- tag and marks it x-cyberwave.pinned_from (pin-driver-compose-images, .github/scripts/pin_driver_compose.py). Edge Core runs those tags as written. That is what keeps driver and siblings on one release.
  3. Siblings of an unpinned graph. If the twin's image is a release tag (<distro>-X.Y.Z, optionally jetson- led), the ${CW_CHANNEL_TAG} siblings are requested at that same tag; otherwise they follow the image's io.cyberwave.image.channel-tag label. See _resolve_channel_tag in cyberwave_edge_core/driver_selection.py. PR re-tags (humble-pr-…), dev prereleases (humble-0.1.3-dev.5) and moving tags are not release tags and keep following the label. Siblings keep their own version counters, so ros2-slam:jetson-humble-0.1.23 is generally not a published image: step 4 refuses this case rather than letting those services fail to pull. The simulator reads the same graph through get_image_declared_services but has no step 4, so a release-tagged twin there fails to pull those siblings instead of being refused.
  4. No proof of one release, no start. A sibling that is still declared by placeholder after step 2 is whatever its channel resolves to, so the stack may mix releases, or name an image that does not exist. Moving tags (humble-dev) and version-shaped tags that came from step 3 both count: the check looks at how the graph named the sibling, not at the shape of the tag. Edge Core refuses to start that twin: the log has Twin '<name>' refused: driver image … does not pin its sibling services to a release … : slam=<image>, and a driver_start_failure alert titled Driver stack is not pinned to one release names the services. Only drivers with sibling images are affected, and only a twin that names one build (a release, a -sha- tag, a digest): a twin on a moving tag such as humble asks for a channel, its siblings follow the same channel, and it starts as before.

Ways to run such a twin: use a driver release whose images are pinned; pin each named service in the twin's service_image_overrides (a tag or a @sha256: digest; a service pinned there counts as pinned); or set CYBERWAVE_DRIVER_CHANNEL_TAG on the edge to pin the whole graph, driver services included, to one train (an operator override; it disables steps 1 and 4).

service_image_overrides is applied last and always wins. An image without a registry namespace (a bare local build name) is never refused, because there is nothing to tell its siblings from third-party images such as redis.

Tests: tests/test_image_declared_topology.py and tests/test_resolve_twin_driver_specs.py.

When docker create times out

docker create runs with a timeout (CYBERWAVE_DRIVER_CREATE_TIMEOUT_SECONDS, 30 s by default), but the timeout only kills the CLI. A busy Docker daemon usually goes on to finish the create, which used to leave a container in Created that Edge Core had never registered and therefore never retried. Edge Core now waits up to 10 more seconds for the container to appear (_wait_for_container in docker_launch.py). If it does, the launch carries on as normal, with a warning in the log; only if it does not is the attempt failed with docker_create_timeout.

Model Manager (ML model cache)

Edge Core includes a ModelManager that resolves ML model weights into a local cache before starting the worker container. It is designed for both online deployments and air-gapped sites: it prefers fresh weights from Cyberwave when the network is available, falls back to upstream public mirrors, and finally to whatever is already on disk.

Cache location:

Platform Default path
All ~/.cyberwave/models/

Override with CYBERWAVE_EDGE_CONFIG_DIR.

Cache layout:

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 cyberwave-edge-core

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

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229