html-to-pdf

Warn

Audited by Socket on Sep 23, 2026

1 alert found:

Security
SecurityMEDIUM
assets/html-to-pdf.js

The code appears to be a legitimate HTML-to-PDF CLI and contains no evident malicious payload or covert exfiltration. However, it is unsafe for untrusted input: arbitrary URLs and HTML are rendered with active browser capabilities, Chromium sandboxing is disabled, and output paths can escape the intended output directory and overwrite files. Restrict inputs, isolate the browser, disable unnecessary network/file access, validate output paths, and avoid using this tool with attacker-controlled arguments.

Confidence: 98%Severity: 78%
Audit Metadata
Analyzed At
Sep 23, 2026, 04:50 PM
Package URL
pkg:socket/skills-sh/aipoch%2Fmedical-research-skills%2Fhtml-to-pdf%2F@9106ca9d4c09b7a6bf1cf9df34ddc2296e864154ac16c058508c4dfd50d2562c