Scan Report
20 /100
web-to-pdf
Convert a web page to PDF, especially web-based slide decks and presentations
A legitimate web-to-PDF conversion tool with minor security concerns around shell quoting in the PNG-to-PDF assembly step.
Safe to install
Accept for use with standard precautions. Consider hardening the execSync call to use argument arrays instead of shell interpolation.
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Low | Shell interpolation in PNG-to-PDF assembly RCE | scripts/capture.mjs:271 |
| Low | Temp file cleanup with error suppression Sensitive Access | scripts/capture.mjs:277 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | WRITE | WRITE | ✓ Aligned | SKILL.md declares output PDF writing; capture.mjs:271 writes to outputPath |
| Network | READ | READ | ✓ Aligned | SKILL.md declares URL fetching; capture.mjs:249 navigates to opts.url |
| Shell | WRITE | WRITE | ✓ Aligned | SKILL.md declares npm/pip installation; capture.mjs:18 imports execSync; capture… |
| Environment | NONE | NONE | — | No environment variable access observed |
File Tree
4 files · 16.8 KB · 512 lines JavaScript 1f · 356L
Markdown 2f · 147L
JSON 1f · 9L
├─
▾
scripts
│ ├─
capture.mjs
JavaScript
│ └─
package.json
JSON
├─
README.md
Markdown
└─
SKILL.md
Markdown
Dependencies 2 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
playwright | ^1.50.0 | npm | No | Pinned to major version |
Pillow | * | pip | No | Version not pinned in SKILL.md |
Security Positives
✓ SKILL.md accurately describes the tool's functionality with no documentation deception
✓ No credential harvesting or sensitive data access observed
✓ No obfuscation techniques (base64, eval, etc.) detected
✓ Dependencies are pinned to major version ranges (playwright ^1.50.0)
✓ No network exfiltration or C2 communication patterns
✓ URL navigation is limited to user-provided URLs only
✓ No persistence mechanisms (no cron, startup scripts, or backdoors)
✓ No supply chain risks identified beyond standard npm package usage