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

glowcap

Latest version: v0.1.9

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: org:glowcap
3 Stars
0 Forks
7 Versions
656 Downloads
Zig Repo language

Scan summary

glowcap was last scanned on 27 Nov 2026 at version 0.1.9. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest was published on 27 Nov 2026.
  • Findings: No rules fired in version 0.1.9.
  • Downloads: 656 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.9 LATEST 27 Nov 2026 No rules fired
0.1.8 20 Nov 2026 No rules fired
0.1.6 10 Nov 2026 No rules fired
0.1.5 8 Nov 2026 Not shown
0.1.4 6 Nov 2026 Not shown

No rules fired in 0.1.9

Findings

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

README

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

glowcap for Python

Use the glowcap package to call OCapN objects, host your own, and pass references between peers. It runs on 64-bit Unix with CPython, using ctypes, asyncio, and the standard library. glowcap's C libraries handle the protocol. Its package metadata declares the minimum Python version. The Python guide walks through the round trip, listening, and actors. Terms such as locator, vat, and sturdyref are defined in the glossary.

Install

python -m pip install glowcap

On first import, the package downloads matching C libraries from its GitHub release and verifies them against its checksum file. Set GLOWCAP_LIB_DIR to an extracted C SDK's lib/ directory to use a local copy. In a source checkout, run zig build and make its package importable:

export PYTHONPATH="$PWD/bindings/python${PYTHONPATH:+:$PYTHONPATH}"

A first session

Start the greeter server below. This client connects over encrypted Noise TCP to 127.0.0.1:9099. Replace peer_key with the server's public key, save this as client.py, and run python client.py.

import asyncio

from glowcap import Runtime, tcp, VowBroken


async def main():
    peer_key = "<64 lowercase hex characters from the server>"
    async with Runtime.open(providers=[tcp.provider()]) as runtime:
        async with await runtime.connect(tcp.noise.locator(peer_key, "127.0.0.1", 9099)) as session:
            greeter = await session.fetch("greeter")
            try:
                print(await session.send(greeter, "greet", ["world"]))
            except VowBroken as reason:
                print(f"the greeter refused: {reason}")


asyncio.run(main())
  • fetch and send start the inbound loop when first used, so a client that only makes calls does not need session.serve().
  • await session.closed() waits for the session to end without closing it or starting that loop. Cancelling the waiter leaves the session running.
  • Host.publish_durable(behavior, entropy=None) publishes behavior under a durable swiss number, the secret name a peer uses to fetch it later. Pass the same entropy to a Host reconstructed from the same seed to restore that name.
Run the greeter server

Save this as server.py and run python server.py in another terminal. It prints an ocapn:// URI. Copy its 64-character key into peer_key in the client above. The server creates a fresh key each time it starts.

import asyncio

from glowcap import Argument, tcp


def greet(verb: str | None, args: list[Argument]) -> str:
    if verb != "greet" or len(args) != 1 or not isinstance(args[0], str):
        raise ValueError("expected greet with one string")
    return f"Hello, {args[0]}"


async def main():
    async with await tcp.noise.listen("127.0.0.1", 9099) as server:
        server.host.publish("greeter", greet)
        print(server.uri, flush=True)
        async for accepted in server:
            async with accepted as session:
                await session.serve()


asyncio.run(main())

Sessions and actors

Python values map directly to glowcap values: integers, floats, booleans, bytes, strings, and lists, plus Symbol, Keyword, Set, Tagged, Struct, the fulfilled-data ErrorValue, and the capability type Ref. Returning an ErrorValue fulfills the caller's RemotePromise with that error as data. Raising an exception or returning a broken vow rejects it. Async behaviors may return values containing capabilities, just as synchronous behaviors may.

runtime.host, session.host, and server.host return the Host behind them. A Host runs actors with no session. host.spawn(behavior) returns an owned reference, host.send(ref, verb, args) returns an asyncio.Future for the answer, and host.tell(ref, verb, args) queues a notification. Inside a behavior these calls join its turn. A told async behavior runs to completion, and its failure reaches host.take_failures().

host.retain(ref) returns an independent reference occurrence. Releasing the source wrapper leaves it usable. await session.resolve(ref) returns an owned reference for a live object without wire traffic, or waits for a promise's settled value. Retained and resolved references receive finalizer cleanup even when Session GC is off. Use host.release(ref) or session.release(ref) when release must happen now.

await tcp.listen(host, port) returns a tcp.Server whose iterator yields a Session for each partner. publish and spawn host ordinary Python callables. send returns a RemotePromise, implemented as an asyncio.Future, and that promise can be the target of another send.

session.break_far_promises(message) breaks every promise still waiting on the partner and keeps the session open for later sends. Driver-owned sessions refuse this operation. session.partner_abort() returns the PartnerAbort the partner sent before ending the session, or None, and stays readable after close.

Under Runtime and listen, an iroh, noise-tcp, keyed-tcp, or tcp connection runs on glowcap's driver loop, one event loop in the C library that owns the sockets, moves frames, and releases finished sessions. Python loads the separate Host and driver libraries and steps the loop, while asyncio waits on a file descriptor that signals when the loop has work.

Pass iroh.provider(config), tcp.provider(config), or another transport package to choose a transport. tcp.provider registers noise-tcp alone. Plain tcp and keyed-tcp send cleartext with no peer proof, so each is an explicit opt-in: tcp.Config(profiles=(tcp.plain, tcp.keyed)).

A runtime without a locator's profile raises GlowcapError with code ERR_INVALID_ARGUMENT and the transport-unavailable cause, so branch on the cause. An empty profiles tuple is refused when the provider installs.

The driver starts with no transports and installs the providers you pass. A routed keyed-relay or noise-relay locator likewise loads the relay library and installs its provider.

Runtime.open(providers=[...]) or Runtime.open(connectors=[...]) names the transports. Host options such as seed, profile, codec, captp_version, features, context, frame_cap, and local_turn_budget configure the Host it creates. Runtime.open(adopt_host=host, ...) transfers an existing Host into the Runtime and takes no Host options. await runtime.close() then shuts that Host down for good.

close(*, pending=PendingWork.CANCEL, grace_ms=...) has the same shape on Session, Runtime, and Host. PendingWork.FINISH requires grace_ms, an integer number of milliseconds, or None to wait without a bound.

tcp.listen, tcp.keyed.listen, and tcp.noise.listen return the same tcp.Server. Its locator and uri are ready to hand to Runtime.connect.

  • Pass a 32-byte seed to keep the same identity (the designator in the locator) across restarts.
  • The driver loop accepts incoming connections and limits concurrent handshakes.
  • A wildcard bind_host requires advertised_host, the name or address partners dial. glowcap puts it in the locator because it cannot infer reachability from the bind.

relay.keyed.listen and relay.noise.listen return the same DriverServer shape over a registered relay route. Their locator and uri carry the durable key and the rendezvous relay that partners dial.

In a handoff, one peer gives you a reference to another peer's object. A Host shared across sessions handles it automatically. Use send_redeeming when you also need via, the session to the peer hosting the object. References belong to their Host and can be used through any session on that Host.

Transports

Module Purpose
glowcap Async sessions, hosts, values, locators, and actors.
glowcap.tcp Typed TCP-profile locators, the provider package, and blocking frame handles.
glowcap.inproc Blocking in-process connections.
glowcap.onion Configured listen through a Tor daemon you run, plus raw Netlayer handles for a program that owns its own loop.
glowcap.iroh Optional encrypted QUIC and listen.
glowcap.webrtc Optional WebRTC dial and listen. See below.
glowcap.relay keyed-relay/noise-relay provider composition and managed listeners.

Choosing a transport compares them, and the pages for iroh, WebRTC, Tor, and relays go deeper.

WebRTC needs a SignalingAuthority that you write to carry each exchange's offer, answer, and candidates. webrtc.provider(signaling) installs the dial. await webrtc.listen(signaling) returns a Server you iterate for sessions. Hand each inbound offer to server.provide_offer(designator, sdp).

The application imports only the transport modules it composes. A TCP-only program never loads the iroh or WebRTC library.

A keyed-relay locator names a peer that opens no socket of its own. Instead, a relay holds inbound connections for it under its key.

  • When the locator carries a rendezvous-relay hint, Runtime.connect routes through the relay provider.
  • For a bare locator, use relay.connector(config). The route comes from the locator's hint or from the connector's configuration, as in every binding. Connections go through the connector only when your code creates one.
  • The connector's client is the one optional dependency: install glowcap[rendezvous].

The lower-level transports are also available directly:

from glowcap.tcp import TcpNetlayer

with TcpNetlayer() as netlayer:
    listener = netlayer.listen("127.0.0.1", 0)
    connection = netlayer.connect("127.0.0.1", listener.port())

Learn more

glowcap is built with AI coding assistants. The maintainer directs the work and is answerable for what lands, as How glowcap is built explains.

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 glowcap

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

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229