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

onlyworlds

Latest version: v0.142.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: onlyworlds
0 Stars
0 Forks
225 Versions
25.7K Downloads
Python Repo language

Scan summary

onlyworlds was last scanned on 23 Nov 2026 at version 0.142.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 225 versions; the latest 5 were published within 3 days (21–23 Nov 2026).
  • Findings: No rules fired in version 0.142.0.
  • Downloads: 25,685 downloads.

Versions

225 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.142.0 LATEST 23 Nov 2026 No rules fired
0.141.0 23 Nov 2026 No rules fired
0.140.0 22 Nov 2026 No rules fired
0.139.3 21 Nov 2026 Not shown
0.139.2 21 Nov 2026 Not shown

No rules fired in 0.142.0

Findings

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

README

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

onlyworlds (Python)

OnlyWorlds is an open standard for worldbuilding data: 22 element types (characters, locations, events, laws and the rest) that any tool can read and write. This is a Python client for its API, and a reader and writer for OnlyWorlds world folders (a world as a folder of JSON files). Python 3.12+, no runtime dependencies (the optional OKF export needs PyYAML).

Install

pip install onlyworlds

The newest unreleased code: pip install git+https://github.com/OnlyWorlds/python-sdk.

First run

Moppetopia is a public demo world. Its read-only key, 0000000001, needs no account:

from onlyworlds import Client

client = Client("0000000001")
print(client.get_world()["name"])
for c in client.list_page("character", filter={"name__icontains": "fluffington"})["data"]:
    print(" ", c["name"])
Moppetopia
  Admiral Fluffington

Your own world

Create a world at onlyworlds.com; its keys are on its world page. A new key is shown once, so copy it then.

  • An ow_r_ key reads, with no PIN: Client("ow_r_…").
  • An ow_w_ key reads and writes. Writes also send a PIN: Client("ow_w_…", "…").
  • For code that writes, give it its own AI seat, a key for one tool or script. The seat's key and its ow_s_ secret (passed as the PIN) work in one world, and you can remove them without touching your account PIN.

Elements are plain dicts:

writer = Client("ow_w_…", "ow_s_…")
peak = writer.create("location", {"name": "Dragon Peak"})
writer.patch("location", peak["id"], {"supertype": "Mountain"})

for character in client.iter_elements("character", expand=["species"]):
    print(character["name"])

client.search("APP-142", limit=200) finds the elements whose name or text holds every word you give, as whole words. A word is a run of letters, digits or underscores, so APP-142 is two words, and each result carries only a snippet of one field: read an element before relying on a key it must hold whole. There are no pages: truncated means more matched than limit (at most 200) let through.

An element can be created hidden from its first moment: writer.create("narrative", {"name": "The plot", "hidden": True}), and the same on upsert (a PUT whose id is new) and each bulk item. Only the owner's keys and a co-builder's may; any other key gets ApiError 403 hidden_not_allowed (err.is_hidden_not_allowed), and nothing is created. On an update the mark is never sent: patch leaves it out, a PUT that replaces ignores it, and an existing element is hidden or shown through its own route on the site.

World folders

A world folder is one JSON file per element, in the world folder format. Atlas, the OnlyWorlds editor, reads and writes the same format.

from onlyworlds import export_world, read_folder

export_world("moppetopia", api_key="0000000001")
folder = read_folder("moppetopia")
assert folder.world is not None  # None when world.json is missing or unreadable; folder.skipped says why
print(folder.world["name"], len(folder.elements), "elements")

An exported folder's world.json says where it came from and which part of the world it holds: source names the server, the world's id and when it was exported, and exported_as says whether the key read the whole world as its owner, as a member (with its role), or as one Character (a guest's slice). When the server can't say which (GET /me refused or missing), exported_as is left out rather than guessed. producer says which tool made the folder and from what: {"tool": "onlyworlds", "version": "<this package's version>", "input": "server"}. A folder written from another folder (a branch, a copy) keeps its maker's producer as it found it, and one with none gets none.

write_folder(root, world, elements) writes a folder from a world dict and a dict of element lists by type, keeping every key the world dict has. Reading never changes a file, and a file without an id is skipped and left alone.

A whole world also travels as one file, an .owworld (a zip by another name, the folder format's §4.7):

from onlyworlds import read_world_file, write_world_file

write_world_file("moppetopia", "moppetopia.owworld")
world = read_world_file("moppetopia.owworld")
world.to_folder("moppetopia-copy")

write_world_file carries world.json byte for byte (its producer, source and format_version included) and the folder's parts, elements/, spatial/, media/ and records/, and nothing else: never an api block, never a tool's own folder unless you hand it in (private_dir=".atlas", which makes the file a private copy rather than one to send around), and never a producer's records its records/RECORDS.json entry marks "private": true unless you ask (include_private_records=True); the manifest itself always travels as it is. A hidden element (hidden: true in its file) travels byte for byte, since the file is a copy; for a file you hand to someone else, include_hidden=False leaves every hidden element's file out whole, and a list passed as hidden_left_out= receives their paths. Nothing else changes, so a link from a visible element to a hidden one keeps an id the file no longer holds. An element's author fields (created_by, changed_by, changed_via, changed_client and doors) record which member and which tool wrote it, which means nothing to someone the world is handed to, so every element file leaves them out by default (created_at and updated_at stay): a file holding any of them is rewritten without them in the folder's own form, and a file holding none travels byte for byte. To archive your own world as it is on disk, pass include_author_fields=True. The same folder gives the same bytes on one Python. read_world_file checks the whole archive before it unpacks anything and refuses a file it cannot open safely with a WorldFileError, whose reason names one of the spec's twelve causes (unsafe_path, collision, too_big, ...). It gives the same verdict as the TypeScript and Unity SDKs on every case of the format's conformance set.

To send a folder's edits back, keep a copy exported before you edited, then push the difference:

from onlyworlds import push

result = push("moppetopia-before", "moppetopia", api_key="ow_w_…", pin="ow_s_…", log_path="push.jsonl")

push sends only the fields that changed, retries what the server asks it to retry, checks that what came back is what it sent, and logs every write, so running it again skips what already landed. dry_run=True shows the plan without sending it. push patches elements that are in both folders; it creates and deletes nothing. It never sends the hidden mark: an element you marked hidden: true in the folder but not in the copy from before is already on the server, visible, so push sends nothing for it (result.hidden) until you hide it there; a new element goes through create, upsert or bulk, which carry the mark.

The world's origin is a world's birth line, written once: a push sets it only on a first fill from a folder made elsewhere, never from a folder exported from the same world, and never over a first import. When get_world() serves origin null in both keys and the folder's source.world is not that world (or the folder has no source line, as a converter's first output), push sends the folder's source and producer from world.json in one PATCH /world and reports it in result.origin. patch_world sends the two only when you name them (source=, producer=; None clears one); a folder world.json handed to it keeps its own pair home, since that pair names the folder's maker.

A world kept in Notion becomes a folder without retyping it. Export the workspace or page from Notion as "Markdown & CSV", then:

python -m onlyworlds.notion Export.zip my-world --plan   # what would become what; writes nothing
python -m onlyworlds.notion Export.zip my-world
from onlyworlds.notion import import_notion

report = import_notion("Export.zip", "my-world")
print(report.render())

A database whose title is one of the 22 types (Characters, Locations, any case, singular or plural), or that has a Type column naming one per row, becomes elements of that type. A column becomes a field when its name matches the field's (Birth Date is birth_date), and a relation column becomes a link when it matches a link field and its pages are in the export. Every other page becomes a Narrative, and so does each row of a database whose type the door cannot tell (supertype Article, the database's name as subtype). Nothing is dropped: a column that doesn't fit is kept as x_notion_<column>, and attachments a page links to are copied into media/notion/. Ids come from Notion's page ids, so importing the same export twice gives the same folder. The run ends with a report naming every column it could not place and every link it could not resolve, so you can see what to rename in Notion before the next export. No AI, no account. It has read two real exports of one small workspace, one with folders for sub-pages and one flat (the door's test fixtures); a third layout, folders named by title and id, is built from Notion's documented shape and not yet seen in a real export.

A world kept in LegendKeeper becomes a folder from LegendKeeper's own export file (Project Settings, Export; the .lk file or the JSON one), with no key and no account:

python -m onlyworlds.legendkeeper --file my-world.lk my-world --plan   # what would become what; writes nothing
python -m onlyworlds.legendkeeper --file my-world.lk --map faction=Institution my-world
python -m onlyworlds.legendkeeper --file my-world.lk --import-map my-world   # also type LegendKeeper's common tags (city, organization, ...)

or through LegendKeeper's own API, read-only, with your project's API key (Project Settings, Developers, API Keys) and the project's id:

export LEGENDKEEPER_API_KEY=lk_...                                          # or --key-file PATH
python -m onlyworlds.legendkeeper --project ID my-world --plan
python -m onlyworlds.legendkeeper --project ID --map faction=Institution my-world
from onlyworlds.legendkeeper import ApiSource, import_legendkeeper

report = import_legendkeeper("my-world.lk", out_dir="my-world")  # the export file
report = import_legendkeeper(ApiSource(key), "ID", "my-world", type_map={"faction": "institution"})
print(report.render())

A project written by an OnlyWorlds push (each element's id in an onlyworlds-id row, its supertype and subtype as ow-supertype: and ow-subtype: tags) comes back as the same elements: the id is the one the row names, the tags fill the two fields, and extension keys return under their own names. Both roads give the same elements. The export file names no project, so its ids are keyed on the project's first top-level page; pass --project ID with --file to key them on the project's own id, the same ids the API road gives. LegendKeeper's Markdown export is not read: it loses the tags, the properties and the hidden marks.

LegendKeeper has no element types, so a page's type comes from its tags: a tag that is one of the 22 type names (character, Location) types it, --map TAG=TYPE adds your own tags, and every other page becomes a Narrative (supertype Article). The report also offers the shared import map, LegendKeeper's common tags to the 22 types (city a Location, organization an Institution), with how many pages each would type; it is applied only with --import-map, or when you answer yes to the question a run at a terminal asks, your own --map winning for any tag it names, and the page keeps its own tags. The page text becomes the description as Markdown. A sidebar or infobox row becomes a field when its key matches one (Height is height), and a titled link list (Allies) becomes a link field when it matches one and its targets fit; otherwise each link becomes a Relation element named by the list's title. A timeline becomes a Narrative with supertype Timeline that holds its Events, with a child Narrative for each lane; the events keep LegendKeeper's raw minutes and formatted dates beside them. The calendar a timeline uses becomes a Construct (supertype calendar) holding LegendKeeper's calendar whole; when the calendar profile can say it exactly (of the presets: Gregorian, Harptos, Eberron, Exandria and Greyhawk) it also carries atlas_calendar, the events get start_date and end_date in days and the world's time unit is day; otherwise (Scrolls, whose later eras restart their years) the dates are left unset and the report says why. What LegendKeeper hides stays hidden: a hidden page is imported with hidden: true (and every page under it), a hidden tab on a visible page becomes its own hidden Narrative, and so does each Secret block, the page keeping only its visible text, so nothing is dropped and nothing secret turns public. Templates are imported marked x_legendkeeper_template, and the tutorial pages a new project starts with are imported like the rest, since nothing marks them. Whatever has no field is kept as x_legendkeeper_<key>, and the report names every key, link, document and hidden thing. Ids come from LegendKeeper's ids, so a second import of the same project gives the same elements. The key is sent to LegendKeeper only, never written or printed. No AI. From the export file or the API, a map becomes a Map (its width and height from the map's bounds; image_url the image's address as LegendKeeper gives it, so the picture loads only as long as it stays on LegendKeeper's host) and each pin on it a Pin placed on the element it links, its position in image pixels counted from the map's bottom left as OnlyWorlds counts it (LegendKeeper stores it at zoom 0, so it is scaled by 2^max_zoom, and the report names each map's scale; a map with no max_zoom gives its pins no position rather than a guess), LegendKeeper's own position, icon and label kept beside it. A board becomes a Map with supertype Board (no image; its width and height the canvas's extent, positions counted from its bottom left as on a map, each shape placed through the frames and groups it sits in), its records kept whole in the folder's records/legendkeeper/boards/<document id>.json (the Map names the file in x_legendkeeper_board_record; records/RECORDS.json marks them private when a board is hidden or shows a hidden page) so the canvas can be restored: each page card a Pin on the card's page (a card showing another board a Pin on that board's Map, which takes this one as its parent_map), each frame a Zone with a Marker at each corner, each arrow bound at both ends to page cards or frames a Relation with supertype Board link between them (one that links a thing to itself is counted instead), and each sticky note and text a Narrative (supertype Note) with a Pin; the rest (shapes, drawings, images, bookmarks, the other arrows) is counted in the report, and what the source hides stays hidden on a board too. A map feature that is not a pin is named and not read. Read on two real export files of one tutorial project (six pages typed by hand, then a map of its own with two pins, the placement measured on both); the API road has been walked on two test projects, and on its tutorial map the API puts the same 16 pins on the same pixels as the export file.

A campaign kept in Kanka becomes a folder from Kanka's own JSON export (Campaign, Settings, Data, Export, JSON):

python -m onlyworlds.kanka export.zip my-world --plan   # what would become what; writes nothing
python -m onlyworlds.kanka export.zip my-world
from onlyworlds.kanka import import_kanka

report = import_kanka("export.zip", "my-world")
print(report.render())

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 onlyworlds

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (2)
Research

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

Vulnerability Insights

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

Frame 2085668439 (1)
Group 1261154229