Back to skill

Security audit

folder-counter

Security checks for vulnerabilities and agentic risk

Overview

This skill is a simple folder-counting instruction file with no bundled executable code, persistence, credential handling, or hidden behavior.

Install only if you want Chinese-language guidance for counting files in local folders. Be aware that the inspected package does not include the referenced count_files.ps1 script, so the skill may require a separate script or manual command to function as documented.

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
  • 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 (2)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger phrases are broad everyday requests such as asking to count items in a folder or directory, which can cause the skill to activate in situations beyond the author's intended scope. Over-broad activation increases the chance of unintended tool use on user-supplied paths, unnecessary filesystem enumeration, or interference with other more appropriate skills.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

All user-facing natural-language content in the skill is written in Chinese, including the description, usage guidance, and output examples, with no indication that language selection is optional. Under the stated policy, forcing a specific language without user opt-in is a locale-policy concern unless the regional restriction is explicitly documented and justified.

Content

No source excerpt is available for this finding.