Back to skill

Security audit

data-cleaning-claw

Security checks for vulnerabilities and agentic risk

Overview

This data-cleaning skill mostly matches its stated purpose, but it needs Review because it can install unpinned Python packages and exports spreadsheet files without neutralizing formula-like values.

Install only if you are comfortable with a Chinese-language data-cleaning tool that may install Python packages at runtime. Use it in an isolated environment, avoid opening cleaned CSV/XLSX files from untrusted data in spreadsheet software unless formulas are neutralized, and keep original data backups before running deduplication.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/data_clean.py:31
Finding

Spreadsheet Formula Injection in Exported CSV and Excel Files

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
SKILL.md:73
Finding

Unpinned Third-Party Dependency Installation

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
88% confidence
Finding

The skill performs file-writing behavior by saving uploaded or pasted data to the workspace and generating cleaned output/report files, but it declares no explicit tool scope or permissions. This weakens enforcement and review boundaries, making unintended file operations harder to govern if the skill is invoked unexpectedly or extended later.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The trigger conditions are broad and include common phrases around cleaning, deduplication, preprocessing, and data quality, which increases the chance of accidental invocation. Because this skill writes files and runs a script over user-provided inputs, over-triggering can lead to unintended data processing, file creation, or privacy-impacting handling of uploaded datasets.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

L72 states the default strategy is to mark abnormal values and 'not directly delete' them, preserving manual review. However, elsewhere the skill explicitly documents deduplicate as a default cleaning rule and the report includes '删除行数' (L28, L44, L58), which indicates row deletion can occur as part of normal execution.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The instruction to run pip install introduces package installation as part of skill execution, which expands the attack surface beyond routine data cleaning. Installing dependencies at runtime can fetch unpinned or tampered packages and enables environment modification that is unnecessary for normal operation in a tightly controlled skill environment.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This code file contains natural-language strings entirely in Chinese in the module docstring and CLI help text, which imposes a specific language on users without opt-in. The file does not indicate that the skill is region-specific or provide any alternative locale, so it conflicts with the language/locale policy criteria.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

该技能整体说明以中文固定表述其行为与触发方式,但没有说明这是面向特定中文用户群的限定场景,也没有提供语言/locale 选择或 opt-in。按规则,若技能隐含强制特定语言而无用户选择,属于自然语言层面的策略风险。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

This markdown file presents all skill guidance in Chinese, and there is no indication that users can opt into another language or that the skill is intentionally limited to a Chinese-speaking or region-specific context. Under the stated policy, forcing a specific language without user opt-in is a natural-language policy concern.

Content

No source excerpt is available for this finding.