Back to skill

Security audit

Child Window/Balcony Climbing Detection | 儿童攀爬窗户/阳台识别

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because scanners report that its submitted-video analysis and account/network activity do not match its claim of real-time child-safety monitoring and alarms.

Consider avoiding installation for child-safety monitoring: the reported workflow does not support the promised continuous monitoring or immediate alarms, and may transmit private recordings or identity data externally. If considering it for another use, review its data handling and account setup carefully and do not rely on it for urgent warnings.

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 (27)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The visible implementation does not implement the declared child-safety monitoring workflow. Its only substantive method concerns generic agent interaction and is nonfunctional as written. Imported base classes and API services are not supplied, so their behavior cannot be assessed. There is no evidence here of active subprocess execution or other hidden malicious behavior.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied chunk is a database and user-management utility, not a video-analysis or hazard-alert implementation. It contains no camera ingestion, pose estimation, object detection, dangerous-action recognition, or alert delivery. Database access could support a larger monitoring system, but this chunk specifically manages general user identities and tokens and does not establish that connection. The mismatch concerns the supplied code; it does not demonstrate malicious activity or establish what other, unseen modules implement.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied chunk implements generic agent/account-service infrastructure rather than camera monitoring or child-safety detection. It contains no video acquisition, pose estimation, object detection, dangerous-action recognition, or alarm integration. Basic utility functions could legitimately support the declared skill, but the account provisioning, credential handling, and payment-service workflow are substantial capabilities not disclosed by that description. This assessment is limited to the supplied chunk; it does not establish malicious intent or rule out relevant detection code elsewhere.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The description promises continuous monitoring and immediate alarms, whereas the documented workflow submits individual recordings and retrieves reports. Reliance on these unsupported real-time guarantees could delay intervention in a child-safety emergency; the absence of local detection code alone, however, does not establish what the remote API can detect.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The material overstates immediate monitoring and notification capabilities relative to its supplied-file analysis workflow, creating dangerous expectations in a life-safety setting. Historical report retrieval is explicitly documented and is not itself a hidden behavior, and remote detection capabilities cannot be ruled out from missing local models.

Content

No source excerpt is available for this finding.

Service credentials are automatically attached to requests targeting any caller-supplied absolute URL.

High
Category
Excessive Agency
Confidence
99% confidence
Finding

Absolute caller-supplied URLs are accepted while service tokens and the API key are added without checking the destination. A caller able to influence the URL can direct credentials to an attacker-controlled server, and accepted HTTP URLs can expose them in transit; compromised service access could affect sensitive child-monitoring data or alerts.

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 analysis workflow does not clearly warn that local recordings of children are sent to an external API for processing.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

The workflow accepts local home recordings without clearly stating at the point of use that their contents leave the device for external processing. General references to APIs and guardian consent do not clearly explain this sensitive transfer, which involves identifiable children and private household interiors.

Content

No source excerpt is available for this finding.

The input requirements call for continuous camera collection covering children's activities without a privacy warning.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

These requirements prescribe round-the-clock video collection, including infrared night vision, rather than merely listing available API operations. The document does not warn that this captures sensitive footage of children and potentially other household members.

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 CLI advertises --export-env-only as not executing analysis, but never checks the parsed flag before identity initialization and analysis dispatch. When supplied with an input, an ostensibly non-executing invocation can process and potentially upload sensitive child footage or incur service charges.

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

The implemented workflow analyzes submitted video files asynchronously rather than providing the claimed real-time camera monitoring and immediate warnings.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The implementation submits an analysis task and polls at five-second intervals for up to 24 attempts, rather than continuously consuming camera frames or dispatching immediate danger alerts. Presenting this workflow as real-time child protection could cause caregivers to rely on warnings that are delayed or never delivered.

Content

No source excerpt is available for this finding.

Local file contents are submitted to the analysis API without disclosure of the upload.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

The function reads the complete local file and supplies it to the analysis request without an upload disclosure or authorization check in this path. In this skill's context, that can transfer private recordings of children to an external processor without ensuring the caller understood and authorized the transfer.

Content

No source excerpt is available for this finding.

The documented export-only mode does not prevent video analysis.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The export-only flag is parsed but never used to stop execution, so an invocation with an input still initializes identity and invokes video analysis. This violates an explicit no-analysis expectation and can cause unintended disclosure of child recordings or service usage.

Content

No source excerpt is available for this finding.

save() is documented as creating a new record but can overwrite an existing user record after an insertion failure.

Medium
Category
Excessive Agency
Confidence
95% confidence
Finding

Any insertion exception triggers an update by ID and potentially by username or realname, copying fields that can include tokens and deletion status. If an untrusted or mismatched model reaches this method, a supposedly new record can overwrite an existing identity; this could compromise account integrity in the child-safety service.

Content

No source excerpt is available for this finding.

ai_chat documents agent-based analysis but never invokes the agent.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The docstring at L26 says this method invokes the openclaw agent through subprocess, but both the command arguments (L49–54) and subprocess execution (L61–66) are commented out. Instead, L68 creates an empty dictionary and L70 accesses its nonexistent stderr attribute; the exception is caught at L81–82, so the method returns None without performing the documented analysis.

Content

No source excerpt is available for this finding.

Opening a file silently truncates any existing contents.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

FileUtil.open opens the supplied path in write mode, immediately erasing existing contents even before anything is written. No comment, docstring, confirmation, or user-facing message discloses this destructive behavior; the exception handler only handles failures.

Content

No source excerpt is available for this finding.

The request helper silently provisions service accounts and persists returned credentials, beyond the declared child-safety analysis workflow.

Medium
Category
Excessive Agency
Confidence
92% confidence
Finding

A generic request can initiate silent remote registration using the current identity, and the subsequent code persists returned authentication tokens. This creates undisclosed identity and credential side effects beyond video analysis; a child-monitoring deployment particularly warrants explicit service enrollment and privacy disclosure.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
88% confidence
Finding

This request transmits the current identity as both openId and mobile to a remote login service during implicit provisioning. The caller's identity selection can prefer API_SECRET_KEY, so a configured secret may also be copied into these payload fields; no video transmission is established by this finding.

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"):

An ordinary HTTP request can silently register a remote user and persist authentication tokens.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

Missing cached tokens cause an ordinary request to register or log in a remote identity and save returned tokens without an explicit enrollment step. This is the same underlying provisioning issue identified separately above, with additional local persistence that increases credential exposure if the database is accessible.

Content

No source excerpt is available for this finding.

Loading configuration silently creates directories and a YAML file when the path does not exist.

Low
Category
Output Handling
Confidence
95% confidence
Finding

YamlUtil.load performs filesystem writes without a confirmation, log, docstring, or explanatory comment disclosing this side effect. BaseEnum.init_subclass invokes this loader during class definition (L044–L058), so merely importing the module can create configuration files without explicitly requesting a save.

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 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()

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)