T08 · Insecure Dependencies
- Location
scripts/gdocs-create.sh:38- Finding
Unverified Download and Execution of Pandoc Binary
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill's Google Docs workflow is coherent, but it should be reviewed because its helper script can run an unverified converter from a predictable /tmp path before uploading content to Google Drive.
Install only if you intend selected Markdown content to be uploaded to Google Drive through your authenticated gog account. Prefer installing pandoc through a trusted package manager and updating the script to use that binary, or require checksum verification and a user-owned cache path before running it, especially on shared machines.
scripts/gdocs-create.sh:38Unverified Download and Execution of Pandoc Binary
scripts/gdocs-create.sh:38Predictable Shared Temporary Path Allows Local Binary Planting
scripts/gdocs-create.sh:22Document Title Allows Output Path Traversal
The skill documents shell-based behavior and explicitly instructs users to run a local script, but it does not declare any tool scope such as allowed shell access. This weakens security boundaries and reviewability because the agent may invoke shell-capable actions without an explicit permission contract, increasing the chance of unintended command execution or unsafe script use.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
---
name: gdocs-markdown
description: Create Google Docs from Markdown files. Use when the user wants to create a Google Doc from Markdown content, or when working with gog CLI and need to populate Google Docs with content. This skill handles the conversion Markdown → DOCX → Google Docs via Drive upload, since gog docs CLI only supports create/export/cat/copy but NOT write/update content.
---
# Google Docs from Markdown
The skill is designed to upload Markdown-derived content to Google Drive/Google Docs, but it does not prominently warn users that document contents will leave the local environment and be sent to a third-party cloud service. This can lead to inadvertent disclosure of sensitive data if a user assumes the conversion is purely local.
The script fetches and executes a third-party binary dependency at runtime from the network without signature or checksum verification, pinning only by URL and filename. This creates a supply-chain risk: a compromised release asset, DNS/TLS interception, or unexpected file replacement could result in execution of attacker-controlled code on the host running the skill.
The script uploads the converted document to Google Drive, transmitting user-provided content to an external service, but it does not present a clear consent/confirmation step or prominent warning at the point of execution. In agent contexts, this can cause unintended disclosure of sensitive local file contents if the user did not realize the command performs a remote upload rather than only local conversion.
No suspicious patterns detected.