graphic-ebook

Warn

Audited by Socket on Oct 11, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/export-pdf.sh

The code appears to be a legitimate HTML-to-PDF export utility and contains no clear malware, credential theft, persistence, or intentional data exfiltration. It has a meaningful path traversal risk in the temporary static server because decoded URL paths are passed to readFileSync without containment validation. It also executes untrusted presentation JavaScript and installs runtime dependencies, so it should only process trusted input and should bind explicitly to 127.0.0.1. Fix the server by resolving and validating canonical paths under SERVE_DIR, rejecting traversal and non-file requests, and explicitly binding to localhost.

Confidence: 97%Severity: 58%
Audit Metadata
Analyzed At
Oct 11, 2026, 11:23 PM
Package URL
pkg:socket/skills-sh/varnan-tech%2Fopendirectory%2Fgraphic-ebook%2F@444da1a775d9792fd83a37de1c29a00da60c84ba0729e2b40c9ab8a23b3284c8