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

refolio

Latest version: v0.1.1b1

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
PyPI package Publisher: yoshida-kd
2 Versions

Scan summary

refolio was last scanned on 30 Nov 2026 at version 0.1.1b1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 30 Nov 2026.
  • Findings: No rules fired in version 0.1.1b1.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.1b1 LATEST 30 Nov 2026 No rules fired
0.1.0b1 30 Nov 2026 No rules fired

No rules fired in 0.1.1b1

Findings

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

README

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

Refolio

Turn scans of bound books into clean, searchable PDFs — without changing a glyph.

日本語 · Beta · Guide: yoshida-kd.github.io/refolio

Refolio takes a PDF of a scanned or photocopied book — open as spreads, or page by page — and makes one that is easier to read: spreads split at the gutter, pages straightened and trimmed, page curl near the spine flattened, one standard paper size for the whole book with the text block at the same place on every page, the binding shadow and paper grain removed, and, optionally, an invisible text layer for search and copy.

It is a command-line tool (refolio) and a VS Code extension. Everything runs on your machine.

Principle

Refolio never draws a glyph. Every step either moves pixels geometrically (split, rotate, trim, flatten the curl, place on the paper; each step is recorded, so coordinates can be carried between the scan and the result) or multiplies them by a smooth brightness gain. Super-resolution is the only step that makes new pixels, and a super-resolved page is used only if every glyph keeps its shape (glyph_guard).

Install

pip install --pre refolio      # or: uv tool install --prerelease allow refolio (a beta)
refolio setup --sr             # super-resolution (Real-ESRGAN, 47 MB), used for scans below 300 dpi
refolio setup --ocr            # optional: the text layer (NDLOCR-Lite, about 0.5 GB)
refolio doctor                 # what is installed

Python 3.10 or later. PDFs are read with pypdfium2, so nothing else (poppler, Ghostscript) is needed. refolio setup --ocr needs uv: the text recognition lives in its own environment. Add --gpu to read on an NVIDIA GPU (onnxruntime-gpu with the CUDA and cuDNN libraries, about 2.4 GB).

Use

refolio make book.pdf book.refolio.pdf                 # the whole book
refolio make book.pdf out.pdf --size b5                # another paper size (auto by default)
refolio make book.pdf out.pdf --binding right          # right-bound books (vertical text): right page first
refolio make book.pdf out.pdf --layout off             # keep every scan as one page; only the brightness changes
refolio make book.pdf out.pdf --ocr off --sr off       # without the text layer or super-resolution

Text recognition and super-resolution are used when they are installed (--ocr auto, --sr auto). Super-resolution touches only grey pages scanned below 300 dpi.

Every command takes --json and then prints JSON Lines on stdout: progress lines, then one result or error. refolio docs prints a reference written for AI agents (Claude Code and others), so an agent can run Refolio for you.

Beta

  • Vertical text: give --binding right; it is not detected yet.
  • Overhead scanners (ScanSnap SV600 and the like) are not tested yet.
  • Text that was hidden in the fold when the book was scanned or copied cannot be recovered: press the book flat at the spine.

Credits and licenses

MIT License. Text recognition: NDLOCR-Lite (National Diet Library, Japan; CC BY 4.0). Third-party software: THIRD_PARTY_NOTICES.md.

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 refolio

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

Vulnerability Insights

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

Copy of Template Design OX Blog (2)
Research

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229