Back to skill

Security audit

Folder Cleanup Assistant

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent folder-cleanup assistant that discloses local file scanning and file moves, requires backups and confirmation, and does not include hidden code or persistence mechanisms.

Before installing, be aware that this skill is intended to inspect and reorganize local folders. Use it only on a specific folder you choose, review the proposed file list carefully, and keep the generated backup until you are sure the moved files are no longer needed.

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
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The trigger keywords include broad, everyday phrases such as '清理文件' and 'organize files', which can cause the skill to activate in contexts where the user did not intend to invoke filesystem-cleanup behavior. Because this skill is designed to inspect and potentially move large sets of local files, accidental activation materially increases the risk of unintended sensitive file enumeration or destructive file reorganization.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill name/description and all operational instructions are written to position the skill as Chinese-language only, with no indication that the user may choose another language. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale restriction is explicitly justified, which is not present here.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
87% confidence
Finding

The skill instructs persistent movement of user files into a fixed trash-like directory under the user's home directory, creating lasting side effects on the local system. This persistence can accumulate sensitive or important files outside their original locations, and if the target directory is reused across runs without isolation, users may lose track of moved data or expose it to other local processes and users depending on host configuration.

Content

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

bash
# 创建回收站目录
mkdir -p ~/.local/share/Trash/files

# 使用 mv 命令移动文件到回收站
mv "要清理的文件或文件夹" ~/.local/share/Trash/files/

Static analysis

No suspicious patterns detected.