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

fumi-reader

Latest version: v0.1.3

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: kent-tokyo
1 Stars
0 Forks
5 Versions
Rust Repo language

Scan summary

fumi-reader was last scanned on 30 Nov 2026 at version 0.1.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions, all published on 30 Nov 2026.
  • Findings: 1 rule fired in version 0.1.3 (6 instances: 6 low). The score describes this version only.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.3 LATEST 30 Nov 2026 1 rule fired
0.1.2 30 Nov 2026 1 rule fired
0.1.1 30 Nov 2026 1 rule fired
0.1.0 30 Nov 2026 Not shown
0.0.0-stage 30 Nov 2026 Not shown

Rules fired in 0.1.3: 1

Findings

6 Low

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.

WebAssembly module included

The package includes a WebAssembly (.wasm) module. It cannot be reviewed as source, but it runs sandboxed inside the JavaScript runtime and can access only what the host code gives it. WebAssembly is common in parsers, codecs and cryptography libraries. Shown for awareness.

LOW
Checking access…

🔒 Create a free account to see all 6 findings with descriptions and instance counts

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.

fumi-reader

<fumi-reader>: a fast, embeddable e-book reader web component with first-class CJK typography (vertical writing, ruby, right-to-left books). Parsing runs in Rust compiled to WebAssembly, in a worker. Source, the Rust crates and the changelog: github.com/kent-tokyo/fumi.

npm install fumi-reader
<script type="module" src="https://cdn.jsdelivr.net/npm/fumi-reader/dist/fumi-reader.js"></script>
<fumi-reader src="/books/neko.zip" controls style="height: 80vh"></fumi-reader>

With controls, tapping the middle of the page (or the small ⋯ button in the bottom corner, which is always there) shows a toolbar with the table of contents, page thumbnails (comics and PDF), bookmarks, highlights and notes, full-text search, read-aloud, a position slider and display settings (pages or scrolling, text size, font, line spacing, margins, alignment, writing mode, one or two pages, light / sepia / dark / system, page-turn animation, voice speed) behind the Aa button; on phones they open as a sheet from the bottom. The controls are labelled in Japanese when the browser's language is Japanese, in English otherwise (ui-lang="ja" or ui-lang="en" picks one). Without it the element is bare, for embedders who build their own UI on the API below.

Supported now:

  • EPUB 2/3, reflowable (paginated along the book's writing mode) and fixed layout (pages scaled to fit, two-page spreads from page-spread-*)
  • FB2 (FictionBook), as .fb2 or .fb2.zip, in UTF-8 or the encoding it declares (such as windows-1251); converted to EPUB by a separate WASM module fetched only when one is opened
  • Kindle books without DRM: MOBI, AZW and AZW3 (KF8), converted to EPUB by the same module
  • Aozora Bunko text, as .txt (UTF-8 or Shift_JIS) or the distributed .zip with illustrations
  • Plain text in any language, as .txt or a .zip holding one: the encoding is detected (UTF-8, UTF-16, GB18030/GBK, Big5, Shift_JIS, EUC-KR or windows-1252) and so is the language (Simplified or Traditional Chinese, Japanese, Korean, English and other European languages), which sets the typesetting. Project Gutenberg texts lose their licence header and footer and keep their title, author and language; hard-wrapped lines become paragraphs, verse keeps its lines, and chapter headings (CHAPTER IV, 第十二回, 第三章, 卷一…) split the book and fill the contents. Japanese text is read as Aozora Bunko text (vertical, with ruby).
  • HTML, as a single .html file or a ZIP of one with its images and styles (Project Gutenberg -h.zip, calibre HTMLZ): split into chapters at its headings, with in-book links kept working and Project Gutenberg's licence boilerplate removed
  • Markdown (.md, or format: "markdown"): CommonMark with tables, footnotes and strikethrough; YAML front matter title, author and lang become the metadata
  • Word (.docx), OpenDocument Text (.odt) and RTF documents: headings become chapters and the contents; bold, italic, underline, lists, tables, links and bookmarks, images, footnotes and endnotes (as pop-up notes), ruby and vertical writing (Word tbRl sections, ODT tb-rl pages) are kept; RTF text in legacy code pages (GBK, Big5, Shift_JIS…) is decoded. Converted by the module that converts FB2 and MOBI
  • Older formats, converted by a module fetched only when one is opened: CHM (compiled HTML help: its pages, images and styles, in the order and with the contents of its table of contents, legacy encodings decoded), UMD (Chinese mobile books: title, author, chapters and cover), and the text of PalmDOC / zTXT .pdb books and TCR files, read like a plain text file
  • Plain text, HTML and Markdown are converted to EPUB by a module of their own, fetched only when one is opened
  • Comics: CBZ / ZIP of images (JPEG, PNG, GIF, WebP, AVIF, BMP), CBR (RAR) and CB7 (7z, decoded by a separate WASM module fetched only when one is opened), or a folder of image files. Pages are in natural order (p2 before p10); the cover and landscape (already two-page) scans are shown alone; right-to-left reading comes from ComicInfo.xml (Manga = YesAndRightToLeft) or the direction attribute.
  • PDF, rendered in pure Rust by harumi: pages scaled to fit and re-rendered sharp at the screen's resolution, two-page spreads (landscape pages alone), the outline as the contents, full-text search with the matches marked on the page, text selection, copy, highlights and notes, links (web addresses open in a new tab, links inside the document go to their page), and annotations such as stamps and filled-in forms drawn on the page. The PDF engine is a separate WASM module (about 1.06 MB gzipped), downloaded only when a PDF is opened. For text in fonts the PDF does not embed, see PDF fonts.

Attributes

Attribute Meaning
src URL of the book to open
writing-mode vertical or horizontal to override the book; omit to follow it
flow paginated (default) or scrolled: reflowable books scroll through each section (down for horizontal text, leftwards for vertical text) instead of turning pages; comics and PDF become one vertical strip of pages (webtoon style), loaded as they scroll into view
font-family serif (Mincho), sans-serif (Gothic) or a CSS font list; omit to follow the book. Code keeps its own font
line-height Line spacing, e.g. 1.8 (1–4); omit to follow the book
margin Page margins of reflowable books: narrow, normal (default), wide, or a CSS inset such as 24px 48px
text-align justify or start (ragged) for paragraphs; omit to follow the book
hyphens auto to hyphenate words at line ends (in the book's language), none to never; omit to follow the book
font-size CSS size applied to the book's root, e.g. 120%
direction rtl or ltr to override the book's page progression (e.g. for manga without metadata)
spread auto (two pages when the reader is wider than tall), single or double; fixed-layout books only
no-status Hide the page indicator
no-persist Do not save the reading position and bookmarks
controls Show the built-in toolbar and panels
ui-lang Language of the built-in controls: ja or en; omit to follow the browser
theme light (default), sepia, dark, or auto to follow the system's light/dark setting (and its changes); see Themes
pdf-colors theme (default: PDF pages follow the theme) or original (pages keep their own colours)
animation slide (default) or none; page turns never animate when the system asks for reduced motion
pdf-font URL of a TrueType/OpenType font for PDF text in fonts the file does not embed (see PDF fonts)
speech-rate Read-aloud speed, 1 = normal (0.3–4)
dictionary-url Look-up URL for selected text in the built-in menu; {text} is replaced by the selection, e.g. https://jisho.org/search/{text}

Large books from a URL

An EPUB, CBZ or PDF opened from a URL of 16 MiB or more is read in parts when the server answers range requests: the start and end of the file (with the ZIP directory) first, then the package documents, then each section, image and comic page as it is shown, searched or prefetched. Comics also fetch the first 64 KiB of every page when they open, for the page sizes that decide spreads. A PDF reads its cross-reference tables and every page's dictionary (for the page sizes) when it opens, then each page's content, fonts and images as the page is shown or searched. Servers without range support simply send the whole file. Cross-origin servers must allow the Range request header and expose Content-Range. partial: true reads in parts whatever the size, partial: false never.

API

const reader = document.querySelector("fumi-reader");
await reader.open(fileOrBlobOrUrlOrBytes);   // optional { format: "epub" | "fb2" | "mobi" | "docx" | "odt" | "rtf" | "chm" | "umd" | "palmdoc" | "tcr" | "aozora" | "text" | "html" | "markdown" | "comic" | "cbr" | "cb7" | "pdf" }
await reader.open(input.files);              // a folder of images (<input webkitdirectory>)
await reader.open(url, { partial: true });   // EPUB / CBZ / PDF in parts with range requests (default "auto": 16 MiB or more)
reader.book;        // { title, author, language, direction, sections, toc, colophon, ... }
reader.book.colophon; // Aozora Bunko: 底本 and credits as plain text lines ("" for other formats)
reader.next(); reader.prev();
reader.goTo(reader.book.toc[0].href);        // or { section, page }
reader.location;    // { section, page, pages }; fixed layout adds { spread, spreads, shown }
reader.position;    // JSON-serializable position, for goTo() or open(src, { position })
reader.cfi;         // EPUB: the position as an EPUB CFI, e.g. "epubcfi(/6/4[ch1]!/4/2/1:10)"
reader.goTo("epubcfi(/6/4[ch1]!/4/2/1:10)"); // or { cfi }, or open(src, { position: cfi })
reader.progress;    // 0–1 through the whole book (sections weighted by length)
await reader.goToProgress(0.5);
reader.zoom = 2;    // comics, PDF and fixed layout: 1 fits the page, up to 5
reader.spreadShift = true; // two-page view: pair pages one later (cover + page 2, …); saved per book
reader.canShiftSpreads;    // true while two pages are shown side by side
await reader.thumbnail(3);                   // object URL of a small page image (comics, PDF), or null

// Full-text search (ruby readings excluded; case and full-/half-width ignored)
const hits = await reader.search("猫");      // [{ section, occurrence, before, match, after, query }]
await reader.goTo(hits[3]);                  // shows the page and highlights the matches
reader.clearSearch();

// Bookmarks
await reader.addBookmark("optional note"); // { id, position, label, note, created }
await reader.toggleBookmark();               // add here, or remove the one on this page
reader.bookmarks;                            // all bookmarks of the open book
reader.bookmarkHere();                       // the bookmark on the shown page, or null
await reader.removeBookmark(id);
reader.goTo(bookmark.position);

// Highlights and notes (EPUB, Aozora Bunko and PDF)
reader.selection;                            // { text, rect } of the selected text, or null
await reader.addHighlight({ color: "green", note: "" }); // from the selection; yellow, green, blue or pink
reader.highlights;                           // [{ id, section, start, end, text, color, note, created, position, cfi }]
await reader.updateHighlight(id, { color, note });
await reader.removeHighlight(id);
reader.goTo(highlight.position);
reader.clearSelection();

// Read aloud (Web Speech API), from the top of the shown page
reader.canSpeak;    // false for comics / fixed layout, or without narration and speech synthesis
reader.narrated;    // the book has its own narration (EPUB Media Overlays)
reader.speak();     // reads on, turning pages and sections; resolves when it stops
reader.speaking;
reader.stopSpeaking();

Events: fumi-load (book opened), fumi-relocate (page shown, detail is the location), fumi-bookmarks (bookmarks changed, detail is the list), fumi-highlights (highlights changed, detail is the list), fumi-footnote (a note link was tapped, detail is { href, section, fragment, text, html }; cancel it with preventDefault() to show the note your own way instead of the built-in pop-up), fumi-selection (text selected, detail is { text, rect } with the rect relative to the reader, or null when the selection goes away), fumi-highlight-click (a highlight tapped, detail is { highlight, rect }), fumi-speech (reading aloud started or stopped, detail is { speaking }), fumi-missing-fonts (a PDF needs fonts it does not embed, see below), fumi-error.

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).

  • npm fumi-reader

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

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

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229