Back to skill

Security audit

Seafile Library

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Seafile library helper, but users should be careful because it can download files locally and upload or overwrite files in the connected Seafile library.

Install only if you intend to let the agent access the Seafile library covered by the repo token. Use the narrowest repo token available, confirm target paths before uploads or downloads, and avoid replace=1 unless overwriting the remote file is intentional.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (6)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
For reusable shell patterns, see [references/command-patterns.md](references/command-patterns.md).

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill enables both downloading remote files to the local filesystem and uploading local files to a remote Seafile server, but the description does not prominently warn about those side effects at the point where users decide whether to invoke it. That omission can cause an agent or operator to use the skill for 'search' while overlooking that the same skill also performs data exfiltration or local file writes, increasing the risk of unintended disclosure or filesystem modification.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The default prompt and description encourage use of the skill whenever an agent 'needs' Seafile access, but they do not impose narrow trigger conditions, approval requirements, or data-sensitivity constraints. Because the skill supports search, download, and upload using a repo token and implicit invocation is enabled, broad invocation wording increases the chance an agent will overuse it for file access operations that may expose or modify repository contents unnecessarily.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

This markdown file includes multipart upload examples, including replace=1, which can overwrite existing content in Seafile. The surrounding text does not warn the user that running the command may modify or replace remote data, so the skill description omits a safety-relevant disclosure for a data-affecting operation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

This markdown file describes how to upload files and notes that replace=1 overwrites an existing file with the same name, which can affect user data and system integrity. The section explains mechanics but does not include an explicit caution or warning to users about the overwrite risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The example downloads remote content to LOCAL_FILE using -o, which performs a local file write and may overwrite an existing file. The documentation presents this as a copy-paste command pattern but does not disclose the local filesystem impact or advise checking the destination path first.

Content

No source excerpt is available for this finding.