Back to skill

Security audit

rus-chn05-analyzer

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because it reports transmission of children’s medical and identifying data without a clear privacy and consent warning, along with other behavior outside its stated bone-age analysis purpose.

Treat this as a review-before-install result, not a claim that the author is malicious. Before installing, consider whether you are comfortable with the reported external handling of children’s medical and identifying information, and verify the recipient, purpose, retention, and guardian-consent process. The scan is incomplete: although all seven listed components were scanned, missing references prevented full analysis, so it does not establish that all referenced material or behavior is safe.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (14)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · README.md (reported line 28)May include surrounding context.

2. 配置环境变量

bash
cp .env.example .env
# 编辑 .env 填入你的慧龄云(R)账号信息

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · README.md (reported line 29)May include surrounding context.

bash
cp .env.example .env
# 编辑 .env 填入你的慧龄云(R)账号信息

3. 运行接入示例

Tp2

High
Category
MCP Tool Poisoning
Confidence
85% confidence
Finding

Mixing characters from multiple Unicode scripts in a single identifier is a common technique to create visually ambiguous tool names.

Content

No source excerpt is available for this finding.

Tp2

High
Category
MCP Tool Poisoning
Confidence
85% confidence
Finding

Mixing characters from multiple Unicode scripts in a single identifier is a common technique to create visually ambiguous tool names.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

提供的命令执行的是技能发布,而不是图片上传、骨龄推算、身高预测或报告生成。发布技能会影响技能分发平台上的版本状态,不属于所声明骨龄分析流程的普通实现细节。此结论仅针对所提供的代码片段,不代表完整技能不具备声明的分析功能。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied chunk authenticates to ClawHub rather than performing or supporting an identified bone-age analysis operation. Although the description includes account login, it specifies password login within the medical-analysis workflow, not device authorization for ClawHub. No connection between this authentication step and the declared service is established in the supplied content.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The supplied chunk performs repository maintenance and publication rather than any part of the declared medical-analysis workflow. Committing and externally pushing skill files is an undeclared capability, not an implementation detail of registration, image upload, bone-age inference, height prediction, or report generation. The chunk does not establish that X-rays or patient data are transmitted.

Content

No source excerpt is available for this finding.

The workflow sends children's medical and identifying data to external services without a user-facing privacy warning.

High
Category
Output Handling
Confidence
98% confidence
Finding

The workflow directs external transmission of children's X-rays and, for height prediction, phone numbers, growth measurements, and reproductive-development information without an explicit privacy and consent gate. Naming the service and providing a medical disclaimer do not establish informed authorization for this sensitive disclosure.

Content

No source excerpt is available for this finding.

The upload workflow lacks a privacy warning for sending children's medical data to an external service.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

The example uploads a child's X-ray to an external service without requiring an informed privacy acknowledgement. Images may contain identifying information, and the medical disclaimer does not explain external processing, retention, or consent.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, network.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

The report instructions mandate Chinese without offering a language choice.

Medium
Category
Output Handling
Confidence
99% confidence
Finding

The report-generation instruction explicitly requires Chinese output regardless of the user's preferred language. Using the Chinese-05 assessment standard does not establish a documented need to restrict the report's natural language, and no language opt-in or choice is offered.

Content

No source excerpt is available for this finding.

The report generator explicitly requires Chinese-language output without a user language choice.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

The docstring specifies generating a Chinese assessment report, and the report template hard-codes that language. No language selection or opt-in is provided; using the CHN05 assessment standard does not itself justify requiring Chinese output.

Content

No source excerpt is available for this finding.

Overly Broad Trigger

Low
Category
Trigger Abuse
Confidence
70% confidence
Finding

Overly Broad Trigger: '骨龄' is too short and may match unintended inputs

Content

No source excerpt is available for this finding.

Dynamic attribute access via getattr()

Low
Category
Dangerous Code Execution
Confidence
50% confidence
Finding

Dynamic getattr() with a non-literal attribute name can access arbitrary object attributes, potentially bypassing access controls.

Content

Scanner excerpt · scripts/bone_age_api_client.py (reported line 485)May include surrounding context.

python
("mother_height", "母亲身高"),
            ("phone", "手机号码"),
        ]:
            if not getattr(args, field, None):
                missing.append(label)
        if missing:
            print(f"错误:完整路径缺少必要参数:{', '.join(missing)}", file=sys.stderr)