Back to skill

Security audit

Drop Files

Security checks for vulnerabilities and agentic risk

Overview

This skill does what it says: it uploads HTML or Markdown to a third-party public sharing service, with the main risk being accidental public disclosure if used on sensitive content.

Install only if you want agents to create public DropFiles links. Do not use it for secrets, credentials, private reports, regulated data, or internal-only documents unless you intentionally approve that upload and use password protection when appropriate.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (8)

External Script Fetching

High
Category
Supply Chain
Confidence
90% confidence
Finding

Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

Content

Scanner excerpt · SKILL.md (reported line 20)May include surrounding context.

How to Upload

Use the bundled wrapper script. Do NOT construct curl commands or JSON payloads manually.

bash
python3 scripts/upload.py [OPTIONS]

External Script Fetching

High
Category
Supply Chain
Confidence
90% confidence
Finding

Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

Content

Scanner excerpt · scripts/upload.py (reported line 5)May include surrounding context.

python
"""DropFiles upload wrapper.

Uploads HTML/Markdown content to DropFiles and returns a shareable link.
Encapsulates all curl / JSON / temp-file / WAF-workaround logic so callers
(agents or humans) only need one Shell invocation.

Usage:

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill recommends invocation for broad situations like 'share' or 'publish' generated content, which can cause an agent to upload material externally in many ordinary workflows without a sufficiently explicit user intent to make content public. In this skill’s context, unintended activation is more dangerous because the action sends potentially sensitive generated files to a third-party public hosting service where links are public by default unless password protection is manually enabled.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill invokes local file reads, shell execution, and outbound network access via python3 scripts/upload.py, but it does not declare any tool scope or permission boundaries. This increases the chance that an agent will run the skill with broader capabilities than intended, making unintended data exposure or command execution harder to constrain or audit.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The description says to invoke the skill whenever the user wants to 'share, publish, or generate a public link' for produced content, which is broad enough to match many ordinary requests. Over-broad routing can cause an agent to upload sensitive generated artifacts to a public external service when the user may only have intended local sharing or an internal handoff.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The 'When to Invoke' triggers are very general and lack boundary conditions, so routine requests to share or preview content may trigger an external upload automatically. In the context of a skill that publishes content to a public link by default, this ambiguity materially raises the risk of accidental disclosure.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The script transmits arbitrary HTML/Markdown content to a third-party remote service and is designed for agent automation, but it provides no explicit user-facing consent or warning at execution time about external data disclosure. In an agent context, this increases the chance that sensitive generated reports, secrets, or internal content are uploaded publicly without the user fully realizing the data is leaving the local environment.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/upload.py (reported line 139)May include surrounding context.

python
"-d", f"@{tmp_path}",
            "-w", "\n%{http_code}",
        ]
        result = subprocess.run(cmd, capture_output=True, text=True)

        if result.returncode != 0:
            fail(