doc-converter

Warn

Audited by Socket on Apr 8, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/convert.sh

No explicit malware behaviors (no network, credential harvesting, or persistence) are present in this snippet. However, the script uses eval to execute a dynamically constructed pandoc command that incorporates user-controlled inputs (file paths, formats, and options). This creates a substantial command-injection/arbitrary command execution risk in any environment where untrusted arguments can reach this wrapper. Rewrite to avoid eval (use exec/command with an argument array) and strongly allowlist/validate format and option values before invocation.

Confidence: 74%Severity: 78%
Audit Metadata
Analyzed At
Apr 8, 2026, 02:45 PM
Package URL
pkg:socket/skills-sh/g-hunterai%2Fopenclaw-skills%2Fdoc-converter%2F@04f951e4689c01adfb2a211785da4a1601d55a7b
Security Audit — socket — doc-converter