Back to skill

Security audit

Cn Text Statistics

Security checks for vulnerabilities and agentic risk

Overview

This is a simple local Chinese text statistics skill with no evidence of hidden behavior, network execution, persistence, or privilege escalation.

Installers should be aware that the skill is documented and labeled in Chinese and can read whichever local text file the user explicitly passes with --file. Avoid running it on sensitive files unless printing summary statistics and optional word-frequency output is acceptable.

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

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

This Python file contains natural-language docstrings, argument descriptions, and output labels exclusively in Chinese, which effectively forces a specific language/locale on users. The file does not provide any opt-in, alternative language selection, or documented justification that the tool is intended only for a Chinese-speaking or region-specific context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The natural-language content describing usage and behavior is presented only in Chinese, which can impose a language requirement on users without opt-in. The policy allows locale constraints when they are explicitly justified, but this file does not state that the skill is intended only for Chinese-speaking users or offer an alternative language.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.