local-pandoc

SAFE max severity MEDIUMSkillSpector Safe 0 registry clawhub.ai last scanned 1 scan

Verdict safe, but 2 findings (2 medium), mainly prompt injection, command injection. Most recent scan 2026-02-06.

The local-pandoc skill is a straightforward documentation-only skill that provides guidance on using the pandoc command-line utility. It contains NO executable scripts, which significantly reduces its attack surface. However, two MEDIUM severity concerns exist: (1) The instructions demonstrate fetching content from URLs, which creates indirect prompt injection risks if malicious web content is processed, and (2) The lack of input validation guidance could lead to command injection vulnerabilities when user-provided filenames contain shell metacharacters. The skill also has minor documentation gaps (missing optional metadata fields). Overall, this is a relatively low-risk skill since it contains no executable code, but the instructions should be enhanced with security warnings about untrusted input and external content.

Scanner's overall assessment (LLM analyzer)

Second scanner: NVIDIA SkillSpector

Independent static run, no language model, over the same files as the Cisco scan above. How the two scanners compare across the whole corpus: Two scanners, one corpus.

What this skill does

Converts Markdown files to PDF files using the pandoc command-line utility. Use when a user asks to convert a .md or markdown file to a .pdf file.

Package
1 file, 2.6 KB
SKILL.md
378 words, 12+ sections
Code
None. Instructions only.

SKILL.md covers: Local Pandoc Conversion Skill · Basic Usage · Simple Conversion · Specifying Formats · Convert HTML to Markdown · Standalone Documents · Advanced Examples · PDF Output · Basic PDF creation · Control PDF engine and style via variables · Document Structure & Metadata · Create a document with a Table of Contents (up to level 3 headings)

Findings

MEDIUM Indirect Prompt Injection via Web Content Fetching Prompt Injectionllm

The skill instructions demonstrate that pandoc can directly fetch and convert content from URLs ('pandoc -f html -t markdown https://www.fsf.org'). This creates a transitive trust vulnerability where the agent may follow instructions embedded in untrusted web content. If a user provides a malicious URL, the fetched HTML could contain prompt injection attempts that the agent processes during conversion.

SKILL.md

```bash
# Reading from the Web
pandoc -f html -t markdown https://www.fsf.org
```
Remediation: Add explicit warnings in the instructions about the risks of fetching untrusted web content. Recommend that users only convert local files or trusted sources. Consider adding validation steps or user confirmation before fetching external URLs.
MEDIUM Command Injection Risk via Unvalidated User Input Command Injectionllm

The skill demonstrates pandoc commands that accept user-provided file paths and options without any validation guidance. While no executable scripts are present, the instructions show patterns like 'pandoc input.md -o output.pdf' where both input and output paths come from user input. Without proper sanitization, malicious filenames or paths could lead to command injection (e.g., filenames containing shell metacharacters like ';', '|', '`').

SKILL.md

```bash
pandoc -o output.html input.md
```
No validation or sanitization guidance provided for user-supplied filenames.
Remediation: Add explicit instructions to validate and sanitize all user-provided file paths. Use proper shell escaping or parameterized command execution. Warn against accepting arbitrary user input for filenames without validation. Consider using allowlists for file extensions and paths.

What is in the package

FileKindSize
SKILL.mddoc2.6 KB

External hosts referenced

www.fsf.org

Hostnames that appear in the skill's files. Referencing a host is not a finding; compare against the findings above and the skill's stated purpose.

Package contents recorded 2026-10-22. The scan above ran against the version current at scan time; the two can differ if the skill has since been updated.

What we checked

What we did not check

Sources