Repository navigation
Papyrus 1.5.3
A hotfix for a fresh-install failure in 1.5.2, plus the security and update work finished
since that release.
Fixed
A fresh install starts again. 1.5.2 took a pre-migration snapshot even when there was no
database yet. VACUUM INTO refused the missing source, so the launcher stopped before the first
migration and the browser showed ERR_CONNECTION_REFUSED. The launcher now skips the snapshot
only when the database file is missing or empty, and still takes and records one for an existing
library. 8c6b572
An upgrade can be rolled back. The launcher records the pre-migration snapshot path, digest,
version and commit, and papyrus rollback restores it after saving the current database. The
installer refuses a downgrade unless it is run with /FORCEDOWNGRADE, and it aborts if Papyrus is
still running after stop. e0c1426 2a2454b
The installer can wait for an older Papyrus to close. It reads the stop output as well as the
exit code, so a 1.5.2 launcher that prints "did not stop" but exits zero is caught. An interactive
run offers Retry/Cancel after the reader closes Papyrus; a silent run fails with a clear message.
2a2454b
Security
Auth POSTs are throttled and reset requests do not enumerate accounts. Login keeps its five a
minute limit; registration, forgot-password, reset and password confirmation share a twenty a
minute per-address ceiling. A failed reset request answers the same as a successful one. 19b1b04
Password reset links use the configured host, and only trusted hosts are accepted. A forged
Host header can no longer point a reset token at another origin. a0b2a20
Shared extension management is owner-only. Install and uninstall check manage-install, the
pending arrays are locked, and every install path re-checks the gate and the package names. 008ff7b
The CBZ export is throttled and showcase covers only show ids on the wall. The export allows
six a minute per reader; a cover id outside the cached wall gets the same 404 as an unknown id. a0b2a20
The first-account claim is held until the account is written, and the last account cannot be
deleted. A second sign-up cannot claim an install between the count and the insert, and deleting
the only account no longer reopens first-run registration. 008ff7b
Hardened
The launcher refuses to adopt a listener it cannot name. Anything already on the Suwayomi
port is checked for this install's Java runtime, jar and data directory. An unexpected listener
is refused rather than handed the credentials to answer library, search and cover requests with.
f00d20a
Process matching by substring is gone. Every stop lookup anchors on the image name and exact
executable path, with command line tokens for the install. A text editor that happens to name the
Caddyfile is no longer a stop target. f00d20a
The instance lock is exclusive creation. Two launchers can no longer both win the check-then-
rename race into the same install, and a stale lock is reclaimed safely. f00d20a
The certificate password is off the command line. --password= is refused and
PAPYRUS_CERT_PASSWORD flows to openssl through a private file that is deleted afterwards, so it
no longer shows in the process list or shell history. f00d20a
The launcher calls absolute tool paths. powershell, taskkill, tasklist and tar are
resolved from System32 rather than from PATH, so a renamed binary on the search path cannot
become the tool Papyrus runs. f00d20a
A tar fallback checks for traversal. Tar entries carrying .., an absolute path or a
drive-qualified name are refused before extraction. f00d20a
The shipped ini turns off allow_url_fopen and allow_url_include. PHP's defaults allow a
file read or include defect to fire at a remote address. open_basedir was tried and reverted:
file_exists on a path inside an allowed root still warns when the filename carries a ?, the
translator builds exactly such a lookup, and the warning becomes a ViewException that 500s the
page. The lookup fix is a 1.5.4 item; the settings that do survive are Off. 0cb8d75
Changed
The About page says updates are manual and links the release feed. It states that the install
never checks for new versions, and links the releases page and its Atom feed. No outbound request
is added.
The build pins the Suwayomi jar, the CA bundle and the Inno Setup version. The jar digest is
the one GitHub publishes for 2.4.2366; the CA bundle is the dated cacert-2026-10-20.pem; the
installer manifest and record name the compiler version. 178365b
Fresh-install acceptance
The installer was verified in a clean Windows Sandbox guest: register, add the Keiyoushi store,
install MangaTaro, search One Piece, and read a chapter on a fresh 1.5.3 install. 10,212 files
installed. Payload count and screenshots are in build/manual-sandbox-results/session-20261101-224222.
Downloads
| File | Size | SHA-256 |
|---|---|---|
Papyrus-1.5.3-setup.exe |
257,530,880 bytes | f813140709d64a892ce5652754bd2824d7cfdf021ab9ef6bb3118cf426eb9501 |
Papyrus-1.5.3-portable.zip |
299,424,568 bytes | 7afa7b574640eff061d6c2877b79070c65f42398e3dbc9ce4196f2308bdb1d44 |
Release notes
The 1.5.3 installer is unsigned. Windows may show a SmartScreen warning; compare the published
SHA-256 before running it. The installer includes livewire/flux under its proprietary terms.
Both artifacts name commit 5ae2794, which is tagged v1.5.3. The release record is
releases/1.5.3.json.