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

@lofcz/pptxgenjs

Latest version: v4.1.17

Overview

Last scanned
15 Aug 2026
Published
15 Aug 2026
npm package Publisher: lofcz
0 Stars
0 Forks
10 Versions
1.2K Downloads
TypeScript Repo language

Scan summary

@lofcz/pptxgenjs was last scanned on 15 Aug 2026 at version 4.1.17. Risk score 80 of 100 (high). High-severity rules fired.

  • Releases: 10 versions; the latest 5 were published within 6 days (10–15 Aug 2026).
  • Findings: 1 rule fired in version 4.1.17 (1 high). The score describes this version only.
  • Downloads: 1,225 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
4.1.17 LATEST 15 Aug 2026 1 rule fired
4.1.16 14 Aug 2026 Not shown
4.1.15 13 Aug 2026 1 rule fired
4.1.14 13 Aug 2026 Not shown
4.1.13 10 Aug 2026 Not shown

Rules fired in 4.1.17: 1

Findings

1 High

Findings for v4.1.17. 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.

Local file read that may reach a network call in install-time code

A file that the package's install scripts may run reads a local file, and the value read appears to reach an outbound network call. Install-time code does not normally need to upload local files.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 4.1.17; other versions have their own rules, not their own score.

README

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

PptxGenJS

Fork of PptxGenJS published as @lofcz/pptxgenjs on npm.

PptxGenJS Sample Slides

GitHub Repo stars GitHub License npm version

PptxGenJS is a JavaScript library for generating PowerPoint presentations programmatically. It runs in Node.js, browsers, and bundler-based environments (React, Angular, Vite, Webpack, Electron), and requires no PowerPoint installation or license. Output is standards-compliant Open Office XML (OOXML), compatible with Microsoft PowerPoint, Apple Keynote, LibreOffice Impress, and Google Slides (via import). For PowerPoint-specific behavior, see Microsoft's Office implementation notes.

About this fork

This repository is a fork of gitbrent/PptxGenJS, maintained for the PPTist / ScioBot stack and published as @lofcz/pptxgenjs. It tracks hardening work from NEOMA GmbH's distribution (@neo-ma/pptxgenjs):

  • Strict null-safety — the entire source compiles under TypeScript strictNullChecks with zero non-null assertions (!) and zero unchecked as casts; null-safety is enforced through explicit types, guard clauses, and validated defaults
  • Continuous integration — unit, end-to-end, OOXML package-contract tests, and an optional LibreOffice consumer check run on Node.js 20 and 22
  • Security — no known vulnerabilities in the published package, and a published security policy

The public API remains compatible with upstream PptxGenJS; existing code and documentation continue to apply.

Requirements

  • Node.js 20 or newer

Installation

npm install @lofcz/pptxgenjs
yarn add @lofcz/pptxgenjs

The package ships dual ES Module and CommonJS builds. Bundlers select the correct build automatically via the exports field in package.json. The .pptx output can be delivered as a browser download, base64 string, Blob, Buffer, or Node stream.

Quick start

A presentation is created in four steps: instantiate, add a slide, add content, save.

import pptxgen from "@lofcz/pptxgenjs";

// 1. Create a presentation
const pres = new pptxgen();

// 2. Add a slide
const slide = pres.addSlide();

// 3. Add content (text, tables, shapes, images, charts, media)
slide.addText("Quarterly Results", { x: 0.5, y: 0.5, fontSize: 24, bold: true });
slide.addText("Revenue up 12% year over year", { x: 0.5, y: 1.3, fontSize: 14, color: "363636" });

// 4. Write the .pptx file
await pres.writeFile({ fileName: "quarterly-results.pptx" });

When loading the library via a <script> tag rather than a module import, the constructor is the global PptxGenJS (for example, const pres = new PptxGenJS()); the remaining steps are identical.

Documentation

Complete API reference, tutorials, and integration guides are available on the official docs site: https://gitbrent.github.io/PptxGenJS.

Local VitePress docs under docs/ can be previewed with npm run docs:dev.

Issues and support

Report defects and feature requests on the issue tracker, or submit a pull request. When reporting an issue, include a code snippet or a link that demonstrates the problem. See CONTRIBUTING.md for build and test instructions.

Contributors

Thanks to everyone who contributed to the original project and this distribution.

Notable contributions:

PowerPoint shape definitions and portions of the XML generation are derived from the Officegen Project.

License

Copyright © 2015-present Brent Ely, © 2026-present lofcz

Licensed under the MIT License.

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 @lofcz/pptxgenjs

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

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

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

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?

Frame 2085668439 (1)
Group 1261154229