Back to skill

Security audit

excel去重清洗

Security checks for vulnerabilities and agentic risk

Overview

This skill performs disclosed Excel cleanup and deduplication locally, with no evidence of hidden access, persistence, network use, or credential handling.

Install only if you want a Chinese-language Excel cleanup helper. Use it on copies or let it write the default _cleaned.xlsx output, verify the deduplication key columns before running, and note that CSV support is advertised but not implemented in the inspected script.

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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Tp4

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

整体上,代码的主要目的与描述高度一致:它确实执行表格清洗、手机号/身份证号标准化、按关键列去重,并生成报告 sheet。但存在一个重要描述不准确之处:声明明确写到可处理“xlsx/csv”,而实际代码仅依赖 openpyxl 打开 Excel 工作簿,没有任何 CSV 读取、解析或写出逻辑。因此描述覆盖的文件类型能力大于实际实现,属于能力描述不准确。除此之外,未发现明显越权、外部网络访问或无关功能。

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The description says the skill triggers when a user asks to "去重", "清洗数据", or "数据标准化", which are broad phrases that can occur in many unrelated data-processing contexts. The activation scope is not narrowly constrained with exclusions or negative examples, increasing the risk of unintended invocation.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The trigger list includes generic terms like "去重", "清洗", and "名单整理", which overlap with everyday spreadsheet or list-management language. The file does not define boundaries for when these words should or should not activate the skill, so invocation conditions remain underspecified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

Natural-language text in the docstring and CLI output is exclusively Chinese, and the script provides no option to select another language or locale. Under the policy, forcing a specific language without opt-in is a natural-language policy violation unless clearly justified as region-specific.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
85% confidence
Finding

This code loads an Excel workbook, normalizes values, removes duplicate rows, and writes the transformed dataset to a new workbook. Although it prints a completion summary afterward, there is no pre-action warning or confirmation about potentially destructive data changes such as dropped rows and modified identifiers.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.