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

b3-prosaic-runtime

Latest version: v0.9.28

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: iamaeroplane
29 Versions
10.2K Downloads

Scan summary

b3-prosaic-runtime was last scanned on 23 Nov 2026 at version 0.9.28. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 29 versions; the latest 2 were published within 3 days (21–23 Nov 2026).
  • Findings: No rules fired in version 0.9.28.
  • Downloads: 10,215 downloads.

Versions

29 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.9.28 LATEST 23 Nov 2026 No rules fired
0.9.27 21 Nov 2026 No rules fired
0.9.26 14 Nov 2026 No rules fired
0.9.25 13 Nov 2026 Not shown
0.9.23 12 Nov 2026 Not shown

No rules fired in 0.9.28

Findings

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

README

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

Prosaic Runtime

Runtime 0.9.28 repairs guarded tool recovery.

Runtime 0.9.27 requires CLI sandboxing by default. Runtime 0.9.26 adds constrained Nemotron lookup correction.

Runtime 0.9.23 added bounded sub-agents for role-aware API turns.

Runtime 0.9.22 adds an optional MCP client for host-approved read tools over Streamable HTTP.

Runtime 0.9.21 adds opt-in parallel read tools for API runs and turns. See release notes.

Runtime 0.9.20 adds opt-in safe tool events and checked citations. See release notes and the contract.

Runtime 0.9.19 supplies profiled context inputs for Harness context packs: separate model and private validation views, bounded evidence fitting, and frozen turn restoration. Harness 0.9.13 owns named agent defaults and workflow-node overrides. Pack-free callers preserve existing payloads and identities. See 0.9.19 release notes and compatible SDK versions.

Runtime 0.9.18 reports the reasoning-effort controls and format actually sent in Result.metadata['reasoning_effort_v1'], including defaults, omission, retries and native CLI attempts. Requested/default annotations remain separate; sent does not prove provider compliance. Input identities are unchanged. See the contract and release notes.

Runtime 0.9.17 adds bounded trusted-host ExecutionContext(request_metadata={'run': 'benchmark-42', 'variant': 'baseline'}) labels. Recorder prepare(intent) sees the frozen labels before dispatch; they never enter provider prompts, bodies or headers. Empty labels preserve legacy accounting bytes. Existing Harness 0.9.12 retains saved labels across resume, and recorder 0.3.0 uses its existing schema. See the context and migration contract and 0.9.17 release notes.

Lab0.9.11 qualifies the complete Core0.5.0/Runtime0.9.18/Harness0.9.12 train and supplies a copyable sent-effort host. Its release page carries publication and public-consumer evidence; earlier manifests remain unchanged and partial mixtures are not qualified.

Runtime 0.9.16 adds host-supplied per-invocation HTTP headers for OpenAI-compatible calls, including x-tokenproxy-no-cache: 1, without changing prompt/artifact identity. See headers and compatibility and the Cerebro follow-up requests.

Runtime 0.9.15 fixed suffix fees (1.20 EUR, 1.20 euros, 120 cents) and advanced the value guard to value-in-tool-output-v2. Explicitly readmit affected bindings when upgrading from 0.9.14. Headers in 0.9.16 introduce no further guard-version or identity change. Rule admission applies to conversation turns. Harness 0.9.12 now uses those public turn hooks for workflow-step enforcement tags with declared fresh accepted earlier outputs. See the Harness contract and Lab V2 blueprint. This bridge requires no new Runtime version or changed Runtime release bytes.

Runtime supports Prosaic 0.5.0, including its native output contracts. Providers consume canonical inspection, so Claude Code, Codex and OpenAI-compatible execution retain their existing behavior. Core output layouts do not change provider selection or runtime permissions.

Runtime 0.9.12 adds canonical effort: none and native Gemma thinking controls alongside live Qwen/Gemma verification. Use the local thinking examples for the same Markdown field across tiered and binary models.

The Integration Lab provides reasoning-effort blueprints and control tests for installed SDKs, with separate credential-free fixtures and bounded live runs.

Host-owned terminal completion lets explicitly authorized native tools return a verified inline artifact without a final model acknowledgement call. Harness applies durable receipt and result validation.

Runtime 0.9.10 maps Markdown effort to native OpenAI-compatible, Claude Code and Codex controls, with automatic model capabilities. See the DeepSeek V4, Qwen 3.8 and Nemotron examples.

Runtime 0.9.8 adds the opt-in unified pool extension, selecting Claude Code, Codex CLI and local/API profiles with independent native/API permissions, explicit deadlines and attempt/request/tool budgets. Switching is allowed only before work starts; partial text or tool work requires recovery. Start with the complete CLI example.

The opt-in native execution extension runs canonical agents through Claude Code or Codex CLI using named profiles and shared capacity-aware pools. Native permissions and sessions remain vendor-owned; existing direct API execution and Harness contracts stay unchanged.

Runtime is distributed as b3-prosaic-runtime and requires b3-prosaic>=0.5.0,<0.6 from the package index. Python imports (prosaic_runtime) and the prosaic-runtime CLI remain unchanged. The separately installed recorder is b3-prosaic-runtime-postgres 0.3.0, selecting Runtime 0.9.x. Install the release with python -m pip install 'b3-prosaic-runtime==0.9.22'.

Opt-in final-answer phase

Runtime includes an operator-controlled endpoint feature for bounded lookup workflows:

features:
  finalize_after_tool_rounds: 1

After that many tool rounds, the next OpenAI-compatible or native Anthropic request contains no tool declarations and receives trusted final-answer guidance. A provider that still requests a tool fails with tool_finalization_not_honored before another handler runs. Existing provider, tool, token and time budgets still apply; allow capacity for the final request. Cancellation or exhausted budgets can stop before that request. Missing usage remains unknown. This setting does not assert that the evidence is sufficient or that the final answer is correct.

The value must be an integer from one through the invocation's effective max_tool_rounds. Omit it to retain existing multi-round and no-progress behavior. Agent prose and model output cannot set this host configuration. This feature is included in the published Runtime 0.9.12 package.

For an oMLX endpoint serving Qwen JSON tool envelopes, the host can also set omlx_tool_call_envelope: true. This requires an explicit finalize_after_tool_rounds and requests oMLX's structured_outputs.regex constraint while tools are offered. It forces a tool envelope rather than an ordinary answer during that phase; the final request removes this constraint. json_mode applies to the final answer and is suppressed during the tool phase. Native Anthropic rejects this vendor-specific setting before dispatch. Other servers may reject or ignore it; this is not a portable OpenAI protocol option. The constraint covers the envelope, not argument correctness or task quality. Runtime still validates native tool names, arguments, permissions and budgets. Assistant text is never converted to a tool call by this setting.

For the tested oMLX Nemotron profile, omlx_nemotron_tool_correction: true constrains one correction of a malformed empty-argument lookup. See profile setup and request limits.

The optional stateless conversation API uses complete, bounded portable history through prepare_turn() and turn(). It requires no workspace for ordinary callbacks or tool-free turns. Durable sessions and human approval belong to Harness or the host; no graph framework is required.

Runtime exports pure execution-artifact and native registry validation for host workflow admission and reuses Core's canonical in-memory artifact validation.

Version 0.7.0 adds bounded native Anthropic text, streaming and tools, alongside OpenAI-compatible execution. The separate prosaic-runtime-postgres 0.1.1 recorder validates real schema and runtime grants without DDL. Release assets include both packages; install the Runtime wheel before the adapter wheel. Accounting stays opt-in.

Optional customer usage metering is described in Accounting. Existing callers need no IDs or database; durable tracking uses a separately installed PostgreSQL recorder and does not enable customer charges.

Runtime also offers optional bounded observation through run(observer=..., operation_context=InvocationScope(...)) and the observer_v1 capability. Ordinary observer exceptions leave execution results unchanged. The existing on_event callback remains a critical evidence hook. Operation scope supplies opaque host correlation without enabling accounting.

Installation and CI do not require Node.js or npm.

Version 0.5.3 retains trusted macOS framework Python startup probes using their declared sandbox working directory and pins the updated permission documentation.

See the prompt-injection audit and remaining isolation gaps before granting tools access to sensitive workspaces.

Version 0.5.0 adds custom CLI tools, discovery and offline preflight, with a complete runnable CLI and an optional Understanding adapter.

Version 0.5.0 also adds host-registered custom tools: validated Python callbacks with native function calling. Register only trusted callbacks, which run in the authenticated Runtime process with host permissions.

Tool permissions and CLI isolation

Runtime 0.9.27 requires CLI isolation by default. Runtime 0.5.2 introduced cli_sandbox_v1 with explicit opt-in. Start with the sandboxed CLI walkthrough and its complete configuration.

Markdown requests capabilities; it does not grant host authority:

Layer Example Who owns it?
Agent Markdown tools: [analyze_spec] Agent author declares what is needed
Runtime YAML allowed_tools: [analyze_spec] Operator allows the tool
Invocation --allow-tool analyze_spec --read-root evidence Host grants this call's tool and readable inputs
CLI OS boundary cli_sandbox: {mode: required} in Runtime YAML Operator requires isolation; prose cannot disable it

All three tool declarations/grants must intersect. Merely installing a CLI or adding it to frontmatter grants nothing. For custom CLIs, the operator also reviews the executable and explicitly trusts its YAML manifest directory via tool_directories; never automatically trust model-generated manifests.

Required mode confines CLI tools and their version probes to read-only evidence, trusted dependencies and private writable HOME/scratch. Host IP network access (including loopback) is blocked; model inference/auth stays in the parent. Linux requires /usr/bin/bwrap >= 0.12.0 and working user namespaces; macOS requires /usr/bin/sandbox-exec. Unavailable enforcement fails closed before inference. There is no automatic unrestricted fallback.

This setting does not isolate builtin file tools, trusted Python callbacks, validators, or native Codex/Claude providers. Builtin file tools still enforce their own path grants. CLI workspace writes and external-service access are not supported in required mode, even if builtin write paths are granted. Do not grant HOME, /, or directories containing host Unix sockets as dependency/input roots. See the full setup and limitations.

Overview

Version 0.3.0 harness support: tool_completed events for successful read_file now include read_receipts with path, SHA-256 of the bytes actually read, offset, lines_read and line_count. Events contain no file text or raw tool arguments. RunPolicy(initial_tool="read_file", ...) requests that granted function on the first turn only; prose, runtime and host grants must all allow it. This cannot elevate permissions or guarantee an endpoint honors tool choice. Consumers must still validate the observed events. Defaults remain unchanged.

Execute neutral Prosaic commands and agents on OpenAI-compatible Chat Completions or native Anthropic Messages endpoints. A Python library and CLI for small, bounded tasks with streaming, tool calls, explicit filesystem permissions, and structured results.

Version 0.4.0 hardening: explicit initial_tool selections now reject omitted, substituted or additional first-turn tool calls before executing any of them. Failure is tool_choice_not_honored, with reported token usage retained and no automatic retry. This does not prove successful tool execution or correct tool arguments; consumers must still validate receipts. Stream deltas are provisional until the final result succeeds. Version 0.4.0 also adds opt-in acquisition prose and the bounded execution fixes described below.

First run: from installation to an answer

Follow these steps in order in one terminal. Commands below target macOS, Linux, or Windows through WSL, using Bash or Zsh. You need an existing OpenAI-compatible Chat Completions endpoint or an Anthropic API account: this runtime does not install or host a model. The walkthrough below uses OpenAI-compatible endpoints; see native Anthropic setup for Claude. Local and hosted endpoints both work; hosted calls may incur provider charges.

1. Check prerequisites

Install Git and Python 3.11 or newer (with pip and venv), then check:

git --version
python3 --version

Use a Python executable that reports 3.11+ throughout. Prosaic 0.3.0 and the runtime are Python packages; Node.js and npm are not required.

2. Install

Start in a directory where you keep projects. This creates a fresh checkout and an isolated Python environment; no sudo or global Python installation is needed:

git clone https://github.com/B3Cognition/prosaic-runtime.git
cd prosaic-runtime
git checkout v0.9.22
python3 -m venv .venv
source .venv/bin/activate
python -m pip install .

The package installs compatible b3-prosaic 0.5.x into the same environment. Use the release tag after publication; older release tags retain historical docs.

For public-index installation, create a fresh virtual environment or container image and run python -m pip install 'b3-prosaic-runtime==0.9.22'. Install the optional recorder with python -m pip install 'b3-prosaic-runtime-postgres==0.3.0'. Never add renamed packages to an environment containing legacy prosaic, prosaic-runtime or prosaic-runtime-postgres: they share import paths. Preserve old environments for historical reconstruction. PyPI's unrelated prosaic is not a dependency. Before publication, install only the explicit candidate wheels from an audited wheelhouse with --no-index --find-links /path/to/qualified-wheelhouse.

Confirm both commands are available:

prosaic --help
prosaic-runtime --help

For future terminals, enter the checkout and run source .venv/bin/activate again. The Python package installs Prosaic, PyYAML and jsonschema automatically.

3. Open the ready-made examples
cd examples

Stay in this directory for the remaining commands. The checkout already contains:

examples/
  .prosaic/subagents/summarizer.md   # prose without tools
  .prosaic/subagents/reviewer.md     # prose requesting read tools
  evidence/pilot.md                 # sample input for the reviewer
  prosaic-runtime.yaml              # no-tool endpoint configuration
  with-tools.yml                   # read-tool endpoint configuration

There are no files to create before the first run. The neutral Markdown prose uses YAML frontmatter; runtime configuration uses YAML too.

4. Configure your endpoint and credentials

Open prosaic-runtime.yaml and with-tools.yml in your editor. In both files, replace base_url and model with values supplied by your endpoint operator. Keep the different allowed_tools values: [] for the first example and [read_file] for the second.

The no-tool file looks like this:

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 b3-prosaic-runtime

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

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

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

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

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229