Back to skill

Security audit

文本行排序工具

Security checks for vulnerabilities and agentic risk

Overview

This is a simple local text line sorting tool with user-directed file input/output and no evidence of hidden execution, persistence, credential access, or data exfiltration.

Install only if you are comfortable with a Chinese-language local text processing helper. When using -o or --output, choose a new or disposable output filename because an existing file at that path may be overwritten.

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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • 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)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill advertises a script workflow that writes output files (for example via '-o 去重后.txt') but does not declare any tool scope, permissions, or allowed-tools boundary. In an agent ecosystem, undocumented write capability weakens least-privilege controls and can lead to unexpected file modification or overwrite if the skill is invoked automatically or with broader filesystem access than users expect.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill name, description, usage guidance, and surrounding instructions are entirely in Chinese, with no indication that users may choose another language or that the skill is intentionally limited to a Chinese-only compliance or regional use case. This creates a natural-language locale policy concern because the file effectively imposes a specific language without opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The script prints a status message in Chinese (已处理) regardless of user preference or environment. This is a natural-language locale policy issue because the skill imposes a specific language without offering opt-in, fallback, or documentation that the tool is intentionally Chinese-only.

Content

No source excerpt is available for this finding.