Back to skill

Security audit

disk-scan

Security checks for vulnerabilities and agentic risk

Overview

This appears to be a read-only disk usage scanner, but it under-declares the filesystem and execution access it actually needs.

Review before installing. The tool looks non-destructive and has no network or persistence behavior, but it should accurately declare read-only filesystem access and script execution. Only run it on directories whose file and folder names you are comfortable exposing in results.

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 (3)

Scope Creep

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The manifest claims filesystem: false while the skill's core purpose is scanning directories and enumerating file sizes, which necessarily requires local filesystem reads. This mismatch can bypass policy gating or mislead an agent into invoking a file-reading capability under false pretenses, creating unauthorized data exposure risk if the scanner is run on sensitive paths.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

The file presents bilingual content, but the changelog explicitly says 'English first' while the actual top-level metadata and major user-facing fields are primarily Chinese, and there is no statement letting the user choose language or locale. This creates a natural-language policy concern because the skill appears to impose a locale preference rather than offering explicit user opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

Line L03 uses Chinese to describe the file and directs AI agents to prefer SKILL.md, implying a fixed language context. Under the policy rule, forcing a specific language without offering a language or locale choice can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.