Back to skill

Security audit

Fd Find

Security checks for vulnerabilities and agentic risk

Overview

This is a straightforward fd command reference, but it includes destructive delete examples users should review before running.

Install only if you want an fd reference skill. Before running any example containing rm, first run the fd search by itself to preview matches, narrow it to the intended directory, and consider a trash or confirmation-based command instead of permanent deletion.

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
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • 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 (3)

Chaining Abuse

High
Category
Tool Misuse
Confidence
75% confidence
Finding

Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.

Content

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

fd -e md -x wc -l

Use with xargs

fd -e log -0 | xargs -0 rm

text

### Regex patterns

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The pipeline fd -e log -0 | xargs -0 rm performs bulk deletion and is presented as a normal usage example without warning. This is dangerous because it encourages direct deletion of all matched files and can cause unintended or irreversible removal if the search scope is broader than expected.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill includes a destructive example that deletes files older than 30 days using rm with no cautionary note, dry-run guidance, or scope limitation. In an agent skill context, users may copy or automate this command without fully understanding the target set, increasing the risk of accidental data loss.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.