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

ya-agent-stream-protocol

Latest version: v2.13.2

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: Wh1isper
19 Stars
3 Forks
6 Versions
Python Repo language

Scan summary

ya-agent-stream-protocol was last scanned on 27 Nov 2026 at version 2.13.2. Risk score 0 of 100. No malicious behavior was detected.

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

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.13.2 LATEST 27 Nov 2026 No rules fired
2.13.1 27 Oct 2026 No rules fired
2.13.0 27 Oct 2026 No rules fired
2.12.0 20 Oct 2026 Not shown
2.11.3 14 Oct 2026 Not shown

No rules fired in 2.13.2

Findings

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

README

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

ya-agent-stream-protocol

Shared stream protocol adapters between ya-agent-sdk and applications.

The Python import package is ya_agent_stream_protocol.

Compact AGUI replay drops redundant text/reasoning and tool-end scaffolding, but retains TOOL_CALL_START as an observed execution fact. A run interrupted before its first tool argument chunk must still be able to reconstruct the visible invocation.

The package owns the shared protocol boundary between ya-agent-sdk and applications:

  • AGUI event adaptation
  • compact replay buffers
  • message artifact validation
  • SSE framing helpers

YAACLI, YA Claw, and future applications configure their own event namespaces through AguiAdapterConfig instead of embedding application-specific names in this package.

SDK lifecycle projections use canonical snake-case names such as ya_agent.subagent_start, ya_agent.subagent_complete, and ya_agent.model_request_complete. The adapter is also a fail-closed public-data boundary: only explicitly allowlisted lifecycle DTOs are emitted, and unknown or future SDK events are dropped rather than generically serialized. Subagent projections omit parent logical-run IDs, native enqueue projections expose only a message count, model-request projections omit internal event/run IDs, file changes omit replacement content, and execution start/resume events omit prompt and deferred-result content. Full injected messages, durable input/enqueue identities, idempotency keys, raw lifecycle event IDs/timestamps, resumable state, and other host-owned data must remain outside AGUI replay and SSE.

Tool display identity

Provider toolCallId values remain unchanged. Adapted tool start/chunk/end/result events carry a separate toolCallKey, scoped to the display run and invocation. The adapter retains that key across deferred-result segments and allocates a new key when another invocation starts, even if an agent reuses a provider ID. Result messageId derives from this display key. Replay, rendering, and argument budgets use toolCallKey; older stored events without it retain their original ID-based behavior.

Native ToolReturnPart outcomes (success, failed, denied, interrupted, and retried) are carried as an outcome extension on TOOL_CALL_RESULT, including compact replay. A result event closes a call; it does not by itself imply success. Tool-less RetryFeedbackPart remains native model-history feedback, not a fabricated tool event.

Replay delta fragments are geometrically coalesced rather than retaining one string per incoming token. snapshot() shares immutable joined text with the buffer; later appends preserve earlier snapshots. Complete payloads and event ordering remain intact.

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 ya-agent-stream-protocol

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

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?

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229