Back to skill

Security audit

dup-finder

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent duplicate-file cleanup tool, but it understates the file and command access it needs while offering automatic deletion of local files.

Use the skill only on directories you intentionally select, run report mode first, and keep backups before using --apply. The publisher should correct the permission declarations and command examples before users rely on it for cleanup.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (4)

Scope Creep

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The manifest declares filesystem: false, yet the skill explicitly instructs scanning directories and, with --apply, deleting duplicate files. This mismatch defeats policy-based safety controls because a reviewer or execution platform may classify the skill as non-file-touching when it is in fact designed to read and remove local files.

Content

No source excerpt is available for this finding.

Scope Creep

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The manifest claims subprocess: false, but the interface declares a Python CLI entry point and the usage tells the agent to execute python3 dup_finder.py .... This creates a trust-boundary mismatch that can cause the platform or user to underestimate execution risk and allow undeclared code execution behavior.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
### Usage
1. The core script is `dup_finder.py`; run it with a Python interpreter on the PATH.
2. Key parameters: `-r` scans the target folder recursively; `--apply` automatically deletes the extras and keeps the first copy.
3. Example: `python3 dup_finder.py -r -d /path/to/dir --apply`.

### Workflow

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The file content is entirely in Chinese and presents the skill documentation/instructions in that language without offering an alternative language or noting that the skill is region- or language-specific. This can violate language/locale policy when users or agents are expected to operate in a different language by default.

Content

No source excerpt is available for this finding.