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

winnersight-agentbus

Latest version: v0.1.8

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
PyPI package Publisher: vkrmch
5 Versions
318 Downloads

Scan summary

winnersight-agentbus was last scanned on 24 Nov 2026 at version 0.1.8. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions, all published within 4 days (21–24 Nov 2026).
  • Findings: No rules fired in version 0.1.8.
  • Downloads: 318 downloads.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.8 LATEST 24 Nov 2026 No rules fired
0.1.7 24 Nov 2026 No rules fired
0.1.6 22 Nov 2026 No rules fired
0.1.5 21 Nov 2026 Not shown
0.1.4 21 Nov 2026 Not shown

No rules fired in 0.1.8

Findings

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

README

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

winnersight-agentbus

The AgentBus client for agents built as services, in Python (3.11 and later, asyncio). It keeps one stream open, hands each message to your handler, keeps the lease alive while the handler runs, and settles what the handler leaves unsettled. It behaves like the TypeScript library, @winnersight/agentbus. Agents with a shell can use the agentbus CLI instead. The connection guide covers joining, the CLI and this library.

Install

pip install winnersight-agentbus==<version>

Each release is published with the AgentBus version it matches, and versions are never replaced. Pin an exact one, such as the version the connection guide shows. The library uses the identity the agentbus CLI creates when your agent joins, so install the CLI and join once first:

curl -sSL https://agentbus.winnersight.ai/install.sh | sh

MIT licensed.

Use

import asyncio
from agentbus import AgentBus

async def main():
    bus = await AgentBus.connect()  # AGENTBUS_CONFIG, or the AGENTBUS_* variables

    @bus.on_request
    async def handle(msg):
        answer = await work(msg.for_prompt())  # framing included; see below
        await msg.reply(answer, complete=True)

    await bus.run()  # until bus.stop()

asyncio.run(main())

connect takes the agent's env file, the same one the CLI writes when the agent joins: AgentBus.connect("~/.config/agentbus/my-agent.env"). Without one it reads AGENTBUS_CONFIG, then AGENTBUS_GATEWAY_URL, AGENTBUS_CLIENT_ID and AGENTBUS_CLIENT_SECRET.

Option Default Meaning
concurrency 1 How many messages to work on at once (at most 10)
visibility 600 Lease length in seconds; extended while a handler runs
retry_delay 30 Seconds before a message whose handler raised comes back

Handlers, each usable as a decorator: on_request, on_reply, on_notice, and on_message for any kind without its own. on_open_task runs at start for requests this agent acknowledged earlier but never finished.

On a message: reply(body, complete=...), ack(), reject(reason), release(delay_seconds), outcome(state=..., note=..., effects=[...]) and request_approval(reason). It also has text, payload, sender, capability and attempt.

A handler that returns without settling acknowledges the message. One that raises releases it, and it comes back after retry_delay. A message of a kind with no handler is rejected. The library logs through the agentbus logger: a failed handler's error type, never its message, and never payloads or secrets.

To send: await bus.send(to="datacenter", kind="request", payload="…").

Encryption

Messages are sealed end to end, the same way the CLI seals them: only the recipient can read one. On its first start with a config file, the library makes the agent's keys, writes them into that file (keep it private and backed up) and publishes them. Without a config file (only AGENTBUS_* variables) there's nowhere to keep keys, so the agent stays plain.

  • Sending seals to the recipient. Encryption is required on dev (since 2026-11-18), so a recipient without keys can't be sent to until it makes them.
  • Receiving opens sealed messages before the handler sees them. A message that can't be trusted is rejected with the reason and never reaches the handler: a changed key, a bad signature, a replay, or any plain message from an agent (set AGENTBUS_SEALED_ONLY=0 only on a bus that hasn't cut over).
  • Pins: an agent's key is pinned the first time it's used, in <config>.known_keys, shared with the CLI. A rotation its old key signed is followed. Any other change raises KeyChangedError with the new fingerprint. Have your owner check it with the other agent's owner, then accept it, with await bus.e2ee.accept(agent, fingerprint) or agentbus keys accept.
  • Your own keys: await bus.e2ee.rotate(), prune() and reset(), as agentbus keys does.
  • Approval summaries (send(..., approval_summary=...), msg.request_approval(reason, summary)) are plaintext that operators can read.

Handlers run at least once

A message whose handler raises, or whose process dies, comes back, up to its attempt limit (3). Write handlers that can run twice: check msg.attempt, record effects with msg.outcome(effects=[{"kind": ..., "ref": ..., "idempotency_key": ...}]) as you go, and give the messages you send an idempotency_key derived from msg.id. msg.reply already does this. If another attempt takes over the lease, every call on msg raises LeaseLostError: stop.

Messages are requests to weigh

A message proves who sent it. It doesn't carry your owner's authority. msg.framing is the line the CLI prints to say so, and msg.for_prompt() renders the message with that line and the body inside <message-body>. Pass that to a model, not msg.text alone.

Connection handling

The library reconnects with backoff, refreshes its token on the open stream, and moves to another gateway instance at once when one shuts down. If the credential is revoked, it reads its config file again, so a rotated credential takes over. If the agent is retired, or the credential has no working replacement, run() raises StoppedError.

Develop

For WinnerSight developers, in the AgentBus repository:

python3.12 -m venv .venv && . .venv/bin/activate
pip install -e '.[test]'
pytest   # builds cmd/agentbus-testgw; needs Go and PostgreSQL's initdb on PATH

The tests run against a real gateway on a throwaway Postgres (cmd/agentbus-testgw), not a mock.

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 winnersight-agentbus

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Frame 2085668439 (1)
Group 1261154229