Back to skill

Security audit

Infant Blanket Kick Detection | 婴幼儿踢被/蹬被识别

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because scanners report a mismatch between its advertised infant blanket monitoring and its reported video analysis, identity and credential handling, and remote account workflows.

Consider avoiding installation unless you are comfortable with remote video processing and the reported identity, registration, and credential handling. The scanners do not establish that the advertised real-time infant monitoring or alerts work, and coverage is partial because one local reference could not be resolved.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
Findings (26)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied chunk's implemented purpose is user-database management, materially different from the declared infant-monitoring functionality. It defines a sys_user table containing names, email, demographic information, token, and open_token fields, with lookup, update, deletion, and default-user selection methods. Although database storage could support a larger monitoring application, this chunk contains no monitoring-specific data or logic connecting these capabilities to the declaration. This assessment is limited to the supplied code; it does not establish what other components implement or indicate any observed data exfiltration.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The visible implementation is materially different from the declared infant-monitoring purpose: it provides generic scaffolding and a nonfunctional chat helper, with none of the described monitoring or response logic. The commented-out subprocess invocation is not active command execution. This assessment is limited to the supplied chunk; functionality in imported classes cannot be verified.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

Generic formatting, polling, filesystem, and HTTP helpers could support the declared monitoring system and are not themselves mismatches. However, this chunk also implements a substantial undeclared identity, registration, credential-handling, and paid-service workflow. In particular, credentials are attached without a visible destination-origin restriction. No camera acquisition, blanket-coverage analysis, kicking detection, or monitoring-specific alert logic appears in the supplied chunk. This assessment is limited to the provided code; the account and network operations generally occur when these utilities are called, not merely when their classes are defined.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

The manifest promises continuous real-time monitoring and automatic alerts, while its operational workflow describes submitting individual files or URLs and retrieving reports. In an infant-monitoring context, this discrepancy can create dangerous reliance on monitoring that has not been demonstrated; however, absence of local detection logic does not establish that remote analysis is absent.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

The supplied workflow does not substantiate the advertised continuous camera monitoring or condition-triggered notifications, despite presenting them as capabilities. This is safety-relevant for caregivers, although history retrieval is explicitly documented and remote detection cannot be ruled out merely because its implementation is not visible.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

The supplied chunk implements a generic API client rather than camera analysis, blanket-coverage measurement, motion detection, or monitoring-specific alerts. HTTP requests could support the declared notification or smart-home functions, and their presence alone would not constitute a mismatch. However, this chunk also exposes storage-download and user-directory operations with no demonstrated relationship to the declared purpose. No malicious data transfer or specific remote destination can be established from this code alone.

Content

No source excerpt is available for this finding.

YARA rule 'agent_skill_mcp_tool_poisoning_metadata': MCP/tool metadata poisoning indicators in tool schemas or skill manifests [agent_skills]

High
Category
YARA Match
Confidence
80% confidence
Finding

YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).

Content

Scanner excerpt · SKILL.md (reported line 3)May include surrounding context.

md
---
name: "smyx-infant-blanket-kick-detection-analysis"
description: "Using a night-time camera (infrared or low-light) above the crib, the system analyzes in real time the coverage of the blanket on the infant's body. It checks whether the blanket coverage is below a preset threshold (e.g., 50%) or recognizes the kicking motions that cause the blanket to slip off, then outputs an alert. | 通过婴儿床夜间摄像头(红外或微光),实时分析婴儿身体及被子的覆盖情况。可联动智能家居设备(如自动调高室温、推送提醒至父母手机),预防婴儿着凉。"
version: "1.0.23"
license: "MIT-0"
---

# 🛌 I

The request helper attaches platform credentials to arbitrary caller-supplied HTTP destinations.

High
Category
Excessive Agency
Confidence
99% confidence
Finding

The helper accepts absolute caller-supplied URLs and adds platform tokens and the API key regardless of destination, including HTTP destinations. A caller influenced to use an attacker-controlled endpoint can disclose credentials, potentially compromising accounts and connected monitoring or alert services.

Content

No source excerpt is available for this finding.

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

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 documented export-only mode still executes video analysis.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The export-only flag is parsed but never checked, so an invocation that also supplies an input proceeds into analysis despite explicitly promising not to do so. This bypasses the caller's no-analysis choice and can expose sensitive infant footage through the analysis service; identity initialization also occurs before any mode handling.

Content

No source excerpt is available for this finding.

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · skills/smyx_analysis/scripts/skill.py (reported line 28)May include surrounding context.

python
result_json = JsonUtil.parse(result_json_pure_text, result_json_pure_text)

        result_json_common_ai_response = result_json.get("commonAiResponse") if isinstance(result_json,
                                                                                           dict) else result_json
        if result_json_common_ai_response:
            result_json = result_json_common_ai_response

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · skills/smyx_analysis/scripts/skill.py (reported line 33)May include surrounding context.

python
result_json = result_json_common_ai_response

        result_json_health_ai_response = result_json.get("healthAiResponse") if isinstance(result_json,
                                                                                           dict) else result_json
        if result_json_health_ai_response:
            result_json = result_json_health_ai_response

Local video contents are passed to an API service without disclosure of the upload.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The function reads the complete local video and passes it as a multipart file to the API analysis method without an upload-specific consent or disclosure step in this path. Infant bedroom footage is particularly sensitive, so choosing a local file should not silently imply informed agreement to third-party processing.

Content

No source excerpt is available for this finding.

The documented export-only mode still executes video analysis.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The export-only option is accepted but never branches execution, allowing analysis whenever an input accompanies it. This violates an explicit no-analysis mode and can trigger remote processing of private footage, while identity initialization occurs even when the caller only requested environment exports.

Content

No source excerpt is available for this finding.

Implements general user-profile and credential management beyond blanket monitoring and alerts.

Medium
Category
Excessive Agency
Confidence
86% confidence
Finding

The User model includes real names, birthdays, sex, age, and authentication tokens, and UserDao exposes inherited read, update, and delete operations over these records. DAO initialization also creates and migrates the shared sys_user table (L174-L214); this general identity-management capability exceeds the stated blanket-analysis purpose and the limited contact or integration configuration reasonably needed for parental alerts.

Content

No source excerpt is available for this finding.

ai_chat claims to invoke the OpenClaw agent, but its implementation never invokes an agent or returns an analysis result.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The docstring at L26 explicitly states that this method calls the OpenClaw agent through subprocess. However, command construction and execution are commented out (L48–L66), and L68 instead assigns an empty dictionary; accessing result.stderr at L70 raises an exception that is caught at L81, causing the method to return None without performing analysis.

Content

No source excerpt is available for this finding.

FileUtil.open silently truncates existing files without disclosing its destructive behavior.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The generically named open helper always uses mode 'w', which immediately erases an existing file's contents. There is no docstring, explanatory comment, confirmation, or operation-specific log disclosing this behavior; exception tracing only runs after a failure.

Content

No source excerpt is available for this finding.

HTTP requests can silently register a remote account and persist its credentials, beyond the declared blanket-monitoring and alerting behavior.

Medium
Category
Excessive Agency
Confidence
92% confidence
Finding

An ordinary request can implicitly invoke phoneLogin with registration enabled, transmit an identity, and persist returned credentials without an explicit account-enrollment step. This crosses a consent and privacy boundary not described by blanket monitoring, where caregivers may reasonably expect sensitive household activity to remain local unless integration is configured.

Content

No source excerpt is available for this finding.

HTTP requests can silently trigger remote user registration and transmit an identity value.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The generic HTTP helper hides a state-changing registration request with silent and register flags enabled. This can create a remote identity and disclose a configured identity value merely as a side effect of using the monitoring service, without a visible consent gate.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
89% confidence
Finding

This POST sends the resolved identity as both openId and mobile to a remote login/registration service as part of an implicit authentication fallback. External transmission alone is not malicious, but this particular flow lacks a visible consent gate and may transmit the configured API-secret value when it is selected as the username.

Content

Scanner excerpt · skills/smyx_common/scripts/util.py (reported line 561)May include surrounding context.

python
"source": ConstantEnum.DEFAULT__SKILL_HUB_NAME
            }
            try:
                _response = requests.post(_url, json=_data)
                if _response.status_code == 200:
                    _response_json = _response.json()
                    if _response_json and _response_json.get("success"):

Configuration loading silently creates directories and files, including during module import, without disclosing this side effect.

Low
Category
Output Handling
Confidence
93% confidence
Finding

At L017-L020, YamlUtil.load creates parent directories and writes a YAML file when the requested path does not exist. BaseEnum.init_subclass invokes this loader during class creation (L044-L059), so importing the module can modify the filesystem without an explicit save request. No comment, docstring, confirmation, or user-facing log discloses this unexpected write behavior.

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 · skills/smyx_common/scripts/dao.py (reported line 243)May include surrounding context.

python
username = getattr(model, "username", None)
            if username:
                column_names = self.__model__.__table__.columns.keys()
                update_data = {key: getattr(model, key) for key in column_names if key != "username"}
                return self.update_by_username(username, **update_data)

            return None

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 · skills/smyx_common/scripts/dao.py (reported line 326)May include surrounding context.

python
if filters:
                for key, value in filters.items():
                    query = query.filter(getattr(self.__model__, key) == value)

            if offset:
                query = query.offset(offset)

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 · skills/smyx_common/scripts/dao.py (reported line 441)May include surrounding context.

python
if filters:
                for key, value in filters.items():
                    query = query.filter(getattr(self.__model__, key) == value)

            return query.scalar()
        finally:

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 · skills/smyx_common/scripts/dao.py (reported line 353)May include surrounding context.

python
column_names = self.__model__.__table__.columns.keys()

            for key in column_names:
                value = getattr(model, key)
                setattr(instance, key, value)

            session.commit()