T09 · Insecure Skill Coding Practices
- Location
SKILL.md:723- Finding
Unvalidated Parent Directory Discovery Enables Recursive Deletion of Unrelated Data
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is an Autodesk cleanup helper, but it can perform broad, irreversible Windows file and registry deletion with insufficient safeguards.
Review carefully before installing or running. Use only on a backed-up Windows system where you intend a full Autodesk removal, avoid the -Auto option, inspect every deletion target manually, and do not run elevated unless you understand the exact files and registry keys that will be removed.
SKILL.md:723Unvalidated Parent Directory Discovery Enables Recursive Deletion of Unrelated Data
SKILL.md:779File Association Keys Are Deleted Without Verifying Autodesk Ownership
SKILL.md:706Auto Mode Bypasses All Safety Confirmations for Destructive Operations
The skill advertises step-by-step confirmation for dangerous actions, but the one-click script exposes an -Auto mode that suppresses those confirmations and proceeds with process termination, service stopping, file deletion, and registry cleanup. In an agent or automation context, this enables unattended destructive execution and increases the risk of accidental or overly broad system modification.
There is a documented safety mismatch: the prose promises confirmation for each dangerous action, but the implementation includes an automatic mode that skips confirmations entirely. This is dangerous because users or calling agents may rely on the documentation's safety guarantees while the actual behavior permits silent destructive cleanup.
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.
---
## Step 1: Environment Scan (No Confirmation Required)
### Purpose
Before executing cleanup, comprehensively scan the system to **obtain actual installation paths from the registry** (not limited to standard Autodesk directories), and list all items to be cleaned. Ensures transparency before cleanup to avoid omissions.
The skill intentionally broadens cleanup beyond fixed Autodesk paths by harvesting installation locations from the registry and then deleting both those locations and their parent directories. That expansion can capture non-standard or shared directories, making accidental deletion of unrelated files more likely, especially when combined with unattended execution.
## Step 1: Environment Scan (No Confirmation Required)
### Purpose
Before executing cleanup, comprehensively scan the system to **obtain actual installation paths from the registry** (not limited to standard Autodesk directories), and list all items to be cleaned. Ensures transparency before cleanup to avoid omissions.
### Intelligent Discovery Logic
- Standard directories: `C:\Autodesk`, `C:\Program Files\Autodesk`, etc.