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

orblivion

Latest version: v0.2.5

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: orblivion
10 Versions
589 Downloads

Scan summary

orblivion was last scanned on 26 Nov 2026 at version 0.2.5. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 2 were published within 5 days (22–26 Nov 2026).
  • Findings: No rules fired in version 0.2.5.
  • Downloads: 589 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.5 LATEST 26 Nov 2026 No rules fired
0.2.4 22 Nov 2026 No rules fired
0.2.2 18 Nov 2026 No rules fired
0.2.1 6 Nov 2026 Not shown
0.2.0 3 Nov 2026 Not shown

No rules fired in 0.2.5

Findings

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

README

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

orblivion

Trade on Robinhood Chain (chain 4663) and Solana through Orblivion, the agentic trading layer built on Orbio, from Python. Orblivion finds the route, builds the transaction and simulates it. Your agent's own key signs it, and Orblivion's relay sends it.

Nothing the server returns is signed until this SDK has decoded and checked it locally, and every mined transaction is checked again against what was signed. The decoder and the checks are this package's own: the same rules, rule names and error codes as the TypeScript SDK (@orblivion/sdk), proven against the same recorded answers.

Python 3.10 or later. Depends on eth-account and eth-abi only; HTTP uses the standard library.

Install

pip install orblivion

Quickstart

import os
from eth_account import Account
from orblivion import OrblivionClient

client = OrblivionClient(account=Account.from_key(os.environ["AGENT_KEY"]),
                         max_notional_usd=25)    # the client refuses anything bigger, whatever the server says

client.sign_in()                                  # optional: the first call signs in for you
quote = client.quote(sell="ETH", buy="USDG", amount_usd=10)
plan = client.plan(sell="ETH", buy="USDG", amount_usd=10)                 # every check, nothing signed
dry = client.trade(sell="ETH", buy="USDG", amount_usd=10, dry_run=True)
sent = client.trade(sell="ETH", buy="USDG", amount_usd=10)                # checked, signed, sent, checked again
print(sent.tx_hash, sent.amount_out, sent.min_out, sent.fee)

The client talks to https://api.orblivion.com unless told otherwise: pass another server first, or leave it out (OrblivionClient(account=...)) and set ORBLIVION_API_URL. Plain http is accepted only for 127.0.0.1, localhost and ::1; anything else must be https.

headers={...} adds headers to every request to the Orblivion API (never to the RPC or the sequencer); their values are never shown in an error or a repr.

Signing in

sign_in() asks the server for an EIP-4361 (Sign-In with Ethereum) message, checks it names this server's host, chain 4663, this wallet and a short expiry, signs it, and receives an API key bound to that wallet, kept in memory only. Pass api_key= to reuse one; the client checks it is bound to its wallet first.

Quote, plan, trade

Call What it does
quote(sell=, buy=, amount_usd= \| amount_in=, slippage_bps=None) The server's best route and what it discloses. Read-only; the server's word.
plan(sell=, buy=, amount_usd= \| amount_in=, ...) The trade's plan, checked exactly as trade checks it, with nothing signed. A sale of an ERC-20 token whose swap is built only around a Permit2 signature stops after the permit's checks (complete=False).
trade(sell=, buy=, amount_usd= \| amount_in=, slippage_bps=None, approval="budget", dry_run=False, accept_risks=None) Prepare, check, sign, send through the relay, wait for the receipt, check what was mined. With dry_run=True it stops after signing and sends nothing.
search_tokens(q, tier=None, kind=None, limit=20) Search the token registry. Symbols are copied by impersonators: pick a token by its address.
inspect_token(token) One token as a trade would see it, checked against the SDK's own reads of the chain, refusing nothing.
wallet.balances(tokens=None, who=None) ETH and token balances, read from the chain.
approvals.status(), approvals.revoke() The wallet's Permit2 approvals; take them back.

Core tokens are named by symbol (ETH, WETH, USDG, cbBTC, ORBIO, NVDA, SPY); every other token by its contract address. Amounts are int in the token's smallest unit (parse_token("1.5", "USDG")), or amount_usd.

Fast mode

For an agent that holds its own key and trades a major pair, fast() cuts the path from decision to relay to one call:

fast = client.fast().start()          # keeps its Chainlink marks, nonce, base fee, allowances and fee tier warm
r = fast.trade("ETH", "USDG", amount_usd=10)                 # or client.fast_trade(...)
print(r.path, r.tx_hash, r.timings["decision_to_accepted_ms"])

The SDK builds the transaction itself on a pinned route (FAST_ROUTES: ETH, WETH, USDG, NVDA and SPY; never cbBTC, which takes the normal path before anything is signed), with min_out from its own quote of that route (kept warm; the tolerance at most the server's pair default), your fee tier in ETH, WETH or USDG by the fee currency rule, and the output to your wallet; checks it with verify_fast (the server's own rules), signs it and sends it to POST /api/v1/live/fast, which rebuilds the calldata and relays only an exact match.

  • Anything stale, an ineligible pair (ORBIO, launchpad and long-tail tokens, a stock token after hours), a token you haven't approved to Permit2 yet, a pool further under the Chainlink marks than its fee and the pair's band (75 bps against USDG, 125 for a cross pair), or marks from your RPC more than 3% from the server's falls back to trade() before anything is signed (r.path == "fallback", r.fallback_reason); fallback=False raises instead.
  • One trade() never lets two transactions land. After a refusal the server answers before relaying, the SDK asks your own RPC about the signed transaction first: on chain, it is the result (r.note); its nonce taken by another transaction, the next one takes a fresh nonce; otherwise the retry or the fallback signs at the same nonce. A refusal that may follow a relay (NONCE without that proof, IN_FLIGHT, SUBMIT_REJECTED, SEQUENCER_UNREACHABLE, no answer) raises with the hash. trade(nonce=n) signs the normal path's first transaction at n (and refuses when the wallet's pending nonce isn't n).
  • tolerance_bps tightens the minimum (it can't exceed the server's cap); min_out sets your own when it is higher. The slippage table is pinned in the SDK (FAST_TOLERANCES); the server's published one can only tighten it.
  • simulate=False skips the server's simulation of the exact signed transaction (one round trip to the node); a transaction that would revert then costs its gas. dry_run=True has the server check and simulate it, and relay nothing.
  • Run the agent in US East, near the chain's sequencer: from far away its round trip dominates every trade.

Risks

Any token with a route trades; the server discloses what it found in risks ([{code, severity, detail}]).

  • Severe risks trade only when you accept them by name in accept_risks: HONEYPOT, TRANSFER_TAX, LOOKALIKE, AMOUNT_HOOK, HIGH_PRICE_IMPACT, UNSCREENED. The SDK never accepts a risk for you, and accepting one loosens none of its price or minimum-output checks.
  • Your limits past the defaults (a trade over $10,000, an approval budget over $10,000, slippage over the pair's cap or 3%, a session or hosted agent over $1,000 a trade, Solana fast mode outside the six majors): accept BEYOND_DEFAULTS too (constants.CHOICE_RISKS), after the account's one-time risk acknowledgement, which client.sign_risk_ack() checks and signs with the owner key. Slippage over 3% also needs max_price_deviation_bps raised: the SDK's own price check stays.
  • ORBIO's following mark (0.2.1): a session that trades ORBIO, which has no Chainlink feed, may also accept MARK_FOLLOWS_30_50 beside BEYOND_DEFAULTS. Orblivion's co-signer then values ORBIO at a mark that starts at the price signed with the session and follows ORBIO's pool by at most 30% a day, never more than 50% from the signed price. While the mark catches up, a hosted agent holds only the trades it doesn't cover yet (SESSION_ANCHOR) and keeps trading the rest; a held trade goes through once the mark has caught up. Once the mark is at that clamp, the next trade it doesn't cover pauses the agent for a new session (SESSION_MARK). Without it the mark stays where it was signed.
  • The Shield option was removed. A request or grant with shield=True or a policy on raises a TypeError, and an answer that says shield: true is refused (SHIELD).
r = client.trade(sell="ETH", buy="0x…", amount_usd=5, accept_risks=["TRANSFER_TAX"])
r.fee_bps, r.fee_class, r.fee_tier   # 50, "other", 50

Fees

Orblivion's fee depends on the two tokens a trade swaps (fee schedule 2, pinned in constants):

  • Major trades: both tokens are majors (ETH, WETH, USDG, cbBTC, ORBIO, or a Robinhood stock token). They pay the wallet's volume tier: 25 bps, or 15 or 10 after enough 30-day volume.
  • Every other trade pays exactly 50 bps.

The SDK works out the class itself, from its own pinned majors and, for a token named by address, its own read of the chain (the stock tokens' beacon). It never takes the server's word for the class. A plan whose fee_class differs is refused (FEE_CLASS). The plan's fee_bps must be one the class allows, fee_tier must equal it, and the calldata must pay exactly fee_bps (FEE_BPS). The SDK can't know the wallet's volume, so it accepts any tier up to the posted 25 for a major trade. max_fee_bps= on the client sets a hard cap on top (None, the default, leaves the schedule to bound the fee). Every quote, plan and trade result carries fee_bps, fee_class and fee_tier.

The default slippage covers the trade's posted fee (40 bps plus the fee, within the pair's tolerance plus the fee).

Sessions and hosted agents

owner = OrblivionClient(url, wallet_account)
executor = OrblivionClient(url, hot_account)
grant = owner.sessions.grant(executor=executor.address, max_trade_usd=20, max_day_usd=60, max_trades=10, hours=12,
                             allow_7702=True)
owner.sessions.setup(grant)   # the USDG setup, and on a plain wallet its code (one transaction from it to itself)
executor.sessions.trade(grant.session_id, sell="ETH", buy="USDG", amount_usd=5, session=grant)
owner.sessions.top_up(grant)  # later: the budget back to one day's cap, when the agent pauses for SESSION_BUDGET
record = grant.revocation_record()   # keep it (JSON, no secret): it pins top-ups, and is the off switch
owner.sessions.revoke(grant.session_id, record=record)

Each session trade spends the router's allowance of its input, and nothing refills it. sessions.top_up(grant) sets each short token's allowances back to its cap: a reset, never an addition. A bot that restarts without its Grant passes the session's revocation record instead, which it keeps next to its key (the starter bot writes it into session.json):

import json
from orblivion import load_revocation_record

saved = json.load(open("session.json"))
rec = load_revocation_record(saved["revocation_record"], wallet=owner.address)
owner.sessions.top_up(rec.session_id, record=rec)   # or record= the dict or its JSON text, or root_hash=

A top-up that sends needs one of these pins (TOPUP_PIN). The session id isn't signed by the wallet, so without a pin a server could answer with another of the wallet's live sessions (a bigger cap, a later end) under this session's id. A dry_run=True needs no pin; its pinned says whether it had one. The SDK decodes every step itself and holds it to what the wallet signed, not to the server's numbers:

  • The root must be the pinned one and carry the wallet's signature, and its salt must hash the binding shown, which must be the Grant's or the record's (TOPUP_ROOT, TOPUP_BINDING, TOPUP_SESSION).
  • The root is read on every RPC the client has (DelegationManager.disabledDelegations). A session any RPC reads as revoked, or one no RPC can read, isn't topped up (TOPUP_REVOKED).
  • Each step must be the token's approve(Permit2, amount) or Permit2.approve(token, router, amount, expiration) for a token the session trades through the router. Tokens it trades on their own Pons curve are left out, and so is every token when fewer than two go through the router. Each amount may be at most one day's cap (topup_day_caps: the per-trade cap x max_day_usd / max_tradeusd), and the expiry no later than the session's end (`TOPUP*rules). With theGrant`, nothing may exceed what its setup approved.

A wallet running the DeleGator sends the steps as one transaction, a batch the SDK builds itself and compares byte for byte with the server's (TOPUP_BATCH). After a send, after and confirmed show what the chain reads.

Top-ups are paced. A second top-up of a session within 24 hours of the last one this client sent is refused before anything is asked or signed (TOPUP_AGAIN), unless you pass again=True. Each top-up restores at most one day's cap, so the bound is one day's cap per confirmed top-up. Orblivion paces them too, from the top-ups it relayed or reads on chain: its refusal is an OrblivionApiError with code TOPUP_AGAIN and the last top-up in extra["last_top_up"].

The router's allowance is per wallet and token, not per session: one Permit2 allowance per wallet, token and router serves every live session of that wallet, and holds the last cap a top-up set. When other live sessions share it, Orblivion refuses with SESSION_BUDGET_SHARED (extra["shared"] lists them). Pass confirm_shared=e.extra["confirm_shared"] to top up anyway.

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 orblivion

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

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?

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

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