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

html2pdf4doc

Latest version: v0.0.36

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: stanislaw
0 Stars
3 Forks
1 Versions
109.4K Downloads
HTML Repo language

Scan summary

html2pdf4doc was last scanned on 23 Nov 2026 at version 0.0.36. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 23 Nov 2026.
  • Findings: No rules fired in version 0.0.36.
  • Downloads: 109,380 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.0.36 LATEST 23 Nov 2026 No rules fired

No rules fired in 0.0.36

Findings

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

README

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

html2pdf4doc_python

html2pdf4doc_python is the Python wrapper/CLI for the html2pdf4doc JavaScript library that prints HTML pages into PDFs using Chrome/Chromedriver.

This repository focuses strictly on the Python-side automation layer. The rendering logic remains in the JS core.

Installation

  1. Install Google Chrome (or Chrome for Testing) on the machine that will run the CLI.

  2. Install the package from PyPI:

pip install html2pdf4doc

Python 3.8+ is required.

See also: the Ubuntu-based container Dockerfile and the GitHub CI files found in the .github/workflows folder.

Usage

Download or reuse ChromeDriver with SSL verification enabled by default:

python -m html2pdf4doc.main get_driver
python -m html2pdf4doc.main print input.html output.pdf
Disable SSL (corporate environments)

Disable SSL certificate verification only when needed, for example in a restricted corporate environment with custom TLS interception:

python -m html2pdf4doc.main get_driver --disable-ssl-check
python -m html2pdf4doc.main print --disable-ssl-check input.html output.pdf
Pin a specific Chrome binary

Pin a specific Chrome/Chromium binary with --chrome-binary, for example to use Chrome for Testing or a binary in a non-standard location. Without this flag, html2pdf4doc auto-detects the Chrome/Chromium binary on the machine.

python -m html2pdf4doc.main get_driver --chrome-binary /path/to/chrome
python -m html2pdf4doc.main print --chrome-binary /path/to/chrome input.html output.pdf

Set the HTML2PDF4DOC_CHROME_BINARY environment variable instead of the flag, for example in CI or Docker environments:

export HTML2PDF4DOC_CHROME_BINARY=/path/to/chrome
python -m html2pdf4doc.main print input.html output.pdf

html2pdf4doc resolves the Chrome binary in this order:

  • --chrome-binary
  • HTML2PDF4DOC_CHROME_BINARY
  • auto-detection.

Developer guide

Getting started

1. (Optional) Create and activate a virtual environment

python -m venv .venv && source .venv/bin/activate

2. Install the dependencies

git clone https://github.com/strictdoc-project/html2pdf4doc_python.git
cd html2pdf4doc_python

# Bootstrap minimal Python dependencies: Invoke and TOML.
pip install invoke toml

# Install all Python dependencies and update the submodule with the html2pdf4doc.js.
invoke bootstrap

3. The JS library is maintained in a Git submodule submodules/html2pdf.

When the submodule is updated after a release or during the development, rebuild the JS library, i.e., regenerate the html2pdf4doc.min.js:

invoke build

4. To validate changes, use the following commands:

invoke lint
invoke test  # Normal tests.
invoke test-fuzz  # More robust testing.

License

The project is distributed under the Apache License 2.0 (see 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).

  • pypi-releases html2pdf4doc

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229