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

universal-paper

Latest version: v0.1.3

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: Uppercentile
1 Stars
0 Forks
4 Versions
366 Downloads
Python Repo language

Scan summary

universal-paper was last scanned on 27 Nov 2026 at version 0.1.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published within 4 days (24–27 Nov 2026).
  • Findings: No rules fired in version 0.1.3.
  • Downloads: 366 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.3 LATEST 27 Nov 2026 No rules fired
0.1.2 24 Nov 2026 No rules fired
0.1.1 24 Nov 2026 No rules fired
0.1.0 24 Nov 2026 Not shown

No rules fired in 0.1.3

Findings

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

README

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

Universal Paper

A first-order language for agreements between group purchasing organizations, suppliers, and members.

Universal Paper is a vocabulary, a grammar, and a set of validity rules. It is not an application. Anyone can verify an agreement written in it, offline, from the specification alone. The code here is a reference implementation of the language, never the language itself.

Website: universalpaper.org · Playground · FAQ

Status: UP/0.1-draft. Working draft, not yet reviewed by counsel. Until 1.0, changes to the spec may change what is valid and the hashes of Term definitions. Open questions are listed in DESIGN_NOTES.md. The pre-release audit is in AUDIT.md.

Path What it is
spec/ The language specification (start here)
DESIGN_NOTES.md What was cut, merged, or added, and why
schema/ JSON Schemas for every primitive and for trace files
src/universal_paper/ Reference interpreter (library and CLI)
examples/ Worked examples as full chains of signed events, plus traces
explorer/index.html Universal Paper Playground: an ecosystem view, the Playground (write, compare, history), and conformance (built from explorer/src/)
explorer/src/ The JavaScript second engine (up-crypto.js, up-engine.js), the random-run lab (up-lab.js), the history player (up-play.js), and the page
site/ The universalpaper.org website build (python3 site/build_site.py), deployed to GitHub Pages
tests/ Tests for every axiom, transition rule, clause form, and Term, plus cross-engine differential and fuzz tests
AUDIT.md Pre-release audit: findings, fixes, and what remains open

Quick start

Requires Python 3.11+ and Git. From an empty terminal on macOS or Linux:

git clone https://github.com/Uppercentile/universal-paper.git
cd universal-paper
python3 -m venv .venv && source .venv/bin/activate
pip install -e '.[test]'

up validate examples/conventional/bundle.json

On Windows (PowerShell), activate the environment with .venv\Scripts\Activate.ps1 instead of source .venv/bin/activate. The virtual environment keeps the install out of your system Python, which recent macOS and Linux releases refuse to modify (PEP 668).

Then try the other commands, from the same folder with the environment active:

up derive examples/conventional/bundle.json --at 2027-04-30T00:00:00Z   # status, tiers, prices and what is owed on a date
up render examples/conventional/bundle.json --chain 0                   # the agreement as contract text
up render examples/confidential/bundle.json --chain 0 --hashes-only     # the same with every private value sealed
up trace  examples/conventional/bundle.json -o conventional.trace.json  # every event, every check, every state hash
up hash   spec/06-terms/UP-Admin-Fee.json                               # the content address of a Term definition
python -m pytest                                                        # the full test suite (Node.js 20+ for the JavaScript parts)

up simulate BUNDLE EVENTS.json runs your own hypothetical events forward against a bundle.

Command Does
validate Checks every agreement and every event in a bundle against the axioms. Exit code 2 if any event is rejected.
apply Applies one event to its chain's current state and prints the new state, or the rule that rejected it.
derive Reports each agreement's status, tiers, contract prices, and obligations at a time.
simulate Runs hypothetical events forward. Signatures are not required, but Mandate limits still apply.
render Prints the human-readable agreement text, fixed by the agreement's hash.
trace Writes a trace file: every event, every check, and each evaluator's state hash.

MCP server for agents

Add to Cursor Install in VS Code

The buttons open Cursor or VS Code if it is installed; your browser may ask first. If nothing happens, add the server by hand. VS Code: code --add-mcp '{"name":"universal-paper","type":"http","url":"https://mcp.universalpaper.org/mcp"}'. Cursor and other clients: see llms-install.md.

The official Universal Paper Model Context Protocol server is a read-only layer over the reference interpreter. It lets an agent check an agreement the same way every other party does, and test whether an action is within its Mandate before anyone signs. It holds no keys, signs nothing, and writes nothing.

Use it How
Hosted, nothing to install https://mcp.universalpaper.org/mcp (Streamable HTTP, no sign-in)
Local, from PyPI uvx universal-paper-mcp
Local, from this repo pip install -e '.[mcp]' then up-mcp

Claude Code: claude mcp add --transport http universal-paper https://mcp.universalpaper.org/mcp, or locally claude mcp add universal-paper -- uvx universal-paper-mcp. Other clients: {"mcpServers": {"universal-paper": {"command": "uvx", "args": ["universal-paper-mcp"]}}}, or the hosted URL wherever a client takes a remote server. Agents setting it up for you can follow llms-install.md. It is listed in the MCP Registry as io.github.Uppercentile/universal-paper.

The hosted endpoint (up-mcp --hosted, built from the Dockerfile) is stateless: no sessions, storage, access logs or telemetry, and it never reads file paths, so a bundle is passed as an object or JSON text. It counts calls per tool name in memory and shows the totals at /stats; that is its only usage signal. How it is deployed and released: deploy/README.md.

Tool Does
validate_bundle Checks every agreement and event against the axioms and says which rule rejected what.
derive_state Status, tiers, contract prices and obligations at a time.
check_event Dry-runs one signed event against its chain's current state.
simulate_events Runs hypothetical, unsigned events forward. Mandate limits still apply.
simulate_amendment Tries one parameter change as an agent's amendment under its Mandate, and says which bound it breaks. Try simulate_amendment("example:mandate-cap", "price", "factor", "1.05").
simulate_price_conformity Checks prices given for items against a member's contract prices in its tier (or a tier it might move to): conforms or not, and by how much. Try simulate_price_conformity("example:what-if", 1, [{"item": "00000000000017", "price": "9.40"}]).
simulate_termination If a party gave notice now: allowed or not (including cure periods), the effective date, duties and fees (such as admin fees) still owed, and participations that stop with it.
simulate_eligibility Whether a member is an active participant at a time, so the agreement's terms and contract prices apply to it, with the reason.
render_text The human-readable agreement text, fixed by its hash (optionally as an outsider sees it).
hash_object The content hash of any JSON value.
list_terms, explain_term The Term library: parameters, claims, rendering template, provenance and hash.
get_example One of the worked example bundles, including mandate-cap (an agent capped at ±2% on price) and what-if (for the price conformity, termination and eligibility tools).

Bundles can be passed as JSON objects, JSON text, "example:<name>", or (local server only) file paths.

Examples

All parties, identifiers, prices, rates, quantities, and dates in the examples are hypothetical.

  • Conventional: an aggregator–supplier agreement with three tiers and an admin fee, two members joining through participation and tier attestation, three months of sales reports, fee payments, one tier change, and a fee disclosure.
  • Generative: an aggregator with no staff, run entirely by an agent under a Mandate, alongside a conventional aggregator. One hospital, acting through its own agent, participates in both at once without conflict. Two out-of-bounds agent actions are rejected under A9.
  • Overlay: a 2024 contract described in Universal Paper in 2027, identified by its document hash, without renegotiation.
  • Confidential: the conventional story with every price, rate, quantity, and amount sealed. An evaluator with no disclosures reaches the same verdicts and state hashes.

python3 examples/build_examples.py rebuilds every bundle and trace. Output is byte-identical across runs. Example keys and salts are derived from fixed seeds so the examples are reproducible; real keys and salts must be random.

Playground page

Open explorer/index.html in a browser. It is one self-contained file; apart from web fonts it makes no network requests. Its look follows the shared design tokens in explorer/src/tokens.css, also used by the developer explainer. It has four parts:

  • How it works: a scroll explainer that follows one fee clause from words to a fingerprint, signatures, and a caught edit, computed live. On a phone the visual pins at the top and the steps scroll under it.
  • Vision: an illustration of where Universal Paper could sit, under apps for contracting, procurement, pricing, and settlement, with agents acting for parties under Mandates. The apps are hypothetical. The events are not: each scenario is generated, signed, and checked by the engine in the page, including an agent action outside its Mandate that every party rejects.
  • Playground (collapsed by default; open it with its button or a link to #playground): start from an example and change the few things people try first (the fee, the length, the supplier, whether the rate is sealed) while the cover sheet, the contract, and the fingerprint update. Every clause stays editable under “Edit every clause”. Compare shows what changed between two versions, clause by clause and word by word, and whether existing signatures still cover it. History signs the agreement and plays it forward: enter monthly sales and payments and see the reports, fees, and the status of every duty on any date.
  • Conformance (the headline figures show; the rest opens with its button or a link to #conformance): the test suite by file, the audit findings, and a button that runs random agreements and attacks in the browser against eight invariants.

On universalpaper.org the Playground has its own page, /playground/, which shows this file's Playground section in the site's look; the rest of the site is built by site/build_site.py (see site/README.md).

Everything live runs on a second, independent engine in JavaScript (explorer/src/). tests/test_js_conformance.py requires it to reproduce every Python trace, rendering, and simulation byte for byte, and to pass every invariant on 60 fixed seeds. Rebuild the page after editing explorer/src/ with python3 tools/build_explorer.py; add --run-tests to run the suite first and record the result shown on the page (explorer/conformance-results.json). The plain build is deterministic so CI can check the committed page.

How it is tested

python -m pytest runs more than 200 tests in a few minutes. Node.js 20 or later is needed for the JavaScript parts, which are skipped without it. CI runs everything on Python 3.11 to 3.13.

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 universal-paper

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

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Vulnerability Insights

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

Copy of Template Design OX Blog (1)
Research

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

Frame 2085668439 (1)
Group 1261154229