Back to skill

Security audit

Cn Line Counter

Security checks for vulnerabilities and agentic risk

Overview

This is a simple Chinese-language text counting skill that only reads user-provided text or a user-specified file and prints counts.

Install this if you are comfortable with a Chinese-language line counting helper. Only pass files you intend it to read, since --file opens the path you provide and prints aggregate counts.

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
  • 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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The user-facing instructions and feature description are presented exclusively in Chinese, which can impose a language requirement on users without any opt-in or alternative locale. The policy for this category requires flagging forced language constraints unless the skill offers a choice or clearly justifies the locale limitation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

The docstrings, argument descriptions, and printed result labels are all hard-coded in Chinese, which imposes a specific language on users. The file does not provide any opt-in, locale selection, or documentation justifying a Chinese-only constraint.

Content

No source excerpt is available for this finding.