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

@plp-sergio/react-reader

Latest version: v0.4.2

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: plp-sergio
7 Versions
607 Downloads

Scan summary

@plp-sergio/react-reader was last scanned on 26 Nov 2026 at version 0.4.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest 5 were published within 3 days (24–26 Nov 2026).
  • Findings: No rules fired in version 0.4.2.
  • Downloads: 607 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.2 LATEST 26 Nov 2026 No rules fired
0.4.1 25 Nov 2026 No rules fired
0.4.0 25 Nov 2026 No rules fired
0.3.0 24 Nov 2026 Not shown
0.2.0 24 Nov 2026 Not shown

No rules fired in 0.4.2

Findings

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

README

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

React Reader

A React reader for PDFs and image-based publications, with page navigation, zoom, search, thumbnails, and mobile gestures.

Install

npm install @plp-sergio/react-reader

For PDF support, also install:

npm install pdfjs-dist@6.5.438

Supports React 18 and 19. Use a client component in Next.js.

Open a PDF or publication

'use client';

import { Reader } from '@plp-sergio/react-reader/reader';
import '@plp-sergio/react-reader/styles.css';

export default function Book() {
  return (
    <Reader
      src="/books/example.pdf"
      title="My publication"
      locale="en"
      style={{ height: '100dvh' }}
    />
  );
}

src accepts a PDF path or an edition folder such as /publications/publication-id/edition-id/. Folder mode uses the supported numbered image, BIN, and PDF naming conventions. The reader tries available formats and preserves the current page during fallback.

For PDF rendering, serve the matching PDF.js files from /pdfjs/: pdf.worker.min.mjs from its build/ directory, plus the cmaps/, standard_fonts/, wasm/, and iccs/ directories. Set pdfAssetsUrl if you use a different location. The PDF dependency requires Node 22.13+ or 24+.

Open image pages

import { Flipbook } from '@plp-sergio/react-reader';
import '@plp-sergio/react-reader/styles.css';

<Flipbook
  title="My publication"
  locale="en"
  pages={[
    { src: '/books/page-1.jpg', alt: 'Cover' },
    { src: '/books/page-2.jpg', alt: 'Page 2' },
  ]}
/>

Image-only use does not require PDF.js. Search needs supplied page text or extractable PDF text; the reader does not perform OCR.

Common options

Option Purpose
title Publication name.
locale es (default), en, or auto.
initialPage Starting page, numbered from 1.
onPageChange Receive the current page number.
initialTheme portal, paper, sepia, or night.
initialPageTurnAnimation Enable or disable page transitions.

Reader also accepts style, className, and pdfAssetsUrl. Flipbook provides controlled page and layout options, callbacks, and navigation methods through a ref.

Hosting

Use your own document and asset paths. Cross-origin files must allow the browser's requests. Keep private publications behind your application's access controls. The reader does not provide authentication or host documents.

All examples use local paths. No production service addresses are included.

Advanced usage

The reference guide covers edition folders, manifests, text layers, migration, and the full API. It is also included in the installed package at docs/REFERENCE.md.

License

MIT. Document content, images, and fonts retain their owners' licenses.

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 @plp-sergio/react-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

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?

Copy of Template Design OX Blog (2)
Research

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

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