Back to skill

Security audit

Ubuntu WSL System Cleanup

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed Ubuntu/WSL cleanup skill that removes expected cache, temp, and log data without signs of hidden access, persistence, or credential handling.

Install only if you want an agent to clean Ubuntu/WSL caches, temp files, apt metadata, and old logs. Review the audit output before cleanup, confirm the environment uses the intended /root paths, and require explicit confirmation for Docker cleanup, extended cleanup, or permanent deletion of orphaned tool data.

Vulnerability Patterns
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (1)

Vague Triggers

Medium
Confidence
93% confidence
Finding
The skill description includes broad trigger phrases like 'clean the system,' 'free disk space,' and 'tidy packages,' which can cause the agent to invoke this skill in situations where the user did not intend filesystem cleanup. Because the skill can remove caches, temp files, journals, and package-manager state, accidental invocation could lead to unintended data deletion or disruption of debugging and development workflows.

Static analysis

No suspicious patterns detected.