Back to skill

Security audit

Child Outdoor Activity Duration Monitoring | 儿童户外活动时长监测

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because scanners report undisclosed account, identity, and remote video-analysis behavior, alongside weak controls around when sensitive footage may be processed.

Consider the suspicious verdict before installing, especially if the skill could handle children’s footage or personal information. The scanner reports cloud video analysis, automatic account registration, and persistent identity records; review those data flows and ensure the export-only option and consent behavior meet your expectations.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
Findings (23)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied chunk implements user-account database infrastructure rather than camera processing, person tracking, entry/exit detection, outdoor-duration calculation, or activity alerts. Database storage could support the declared system, but this chunk specifically manages user identities and token-bearing profiles and contains no outdoor-event models or integration demonstrating that supporting role. This is a material mismatch for the supplied code, not evidence of malicious behavior or external data transmission.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied code is generic skill scaffolding rather than an implementation of the declared monitoring purpose. The commented-out subprocess invocation does not execute an external agent and should not be treated as an active capability. Imported base classes could contain additional behavior, but their implementations are not supplied and cannot substantiate the declared functionality.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

Generic file, date, JSON, and polling utilities could reasonably support the declared monitoring feature. However, the remote account-provisioning, persistent identity/credential management, authenticated request routing, and payment workflow are substantial behaviors not represented in the description. No camera processing, person tracking, entry/exit detection, outdoor-duration accumulation, or insufficient-activity alert logic appears in this chunk. Because this is a shared utility module, that absence alone does not establish that the full skill lacks those features; the mismatch is primarily the additional account, credential, and billing capabilities visible here.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
87% confidence
Finding

The supplied code centers on submitting videos and displaying service-generated reports. It does not visibly specialize requests or process results for the declared child-monitoring task. Video submission and polling could support that task, so those implementation details alone are not mismatches. However, the observable workflow and report-history capability extend beyond or differ from the stated functionality. The imported API implementation is not supplied, so the possibility that a backend performs the declared monitoring limits certainty.

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-child-outdoor-activity-monitor-analysis"
description: "Using a fixed camera at the balcony door or home entrance, the system detects how many times the child enters/exits the home or balcony. With person-tracking and region-entry/exit logic, it records the timestamps of each 'leaving indoor (outdoor)' and 'returning indoor' event, and accumulates the daily total outdoor-activity duration. | 通过家庭阳台门或入户门口的固定摄像头,检测儿童进出家门或阳台的次数,利用人体跟踪和区域进出判定技术,记录每次离开室内(外出)和返回室内(归来)的时间点,累计每日户外�

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.

Activation rules select child outdoor monitoring for unrelated doorway-video or parenting-health requests.

Medium
Category
Trigger Abuse
Confidence
96% confidence
Finding

The activation rules select this workflow for general doorway-video analysis or broad parenting-health keywords without requiring an outdoor-monitoring request. This can route sensitive household or child footage into an unintended cloud-analysis workflow; the general guardian-consent note does not ensure consent to that specific processing.

Content

No source excerpt is available for this finding.

The --export-env-only option promises not to execute analysis, but the program still analyzes the supplied video.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The export-only flag explicitly promises not to analyze, but its value is never checked and execution continues into identity initialization and video analysis. A caller relying on that promise can unintentionally initiate processing of sensitive child footage and incur remote-service side effects.

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 submitted to the analysis API without disclosure of the upload.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The implementation reads the entire local file and passes its contents to the analysis API without a visible disclosure or authorization gate at this boundary. For household footage involving children, unacknowledged remote transfer can expose highly sensitive imagery even though the user supplied a local path.

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 program accepts an export-only flag promising no analysis but never branches on it. With a supplied video, it still initializes identity and calls the analysis workflow, violating the caller's explicit non-processing expectation and potentially transferring private footage.

Content

No source excerpt is available for this finding.

FileUtil.open silently truncates existing files.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The generically named open helper always uses write mode, which immediately erases an existing file's contents. No docstring, explanatory comment, confirmation, or action log discloses this destructive behavior; exception reporting does not disclose successful truncation.

Content

No source excerpt is available for this finding.

The request helper silently requests remote user registration, a capability not justified by the child outdoor-activity monitoring manifest.

Medium
Category
Excessive Agency
Confidence
92% confidence
Finding

When credentials are unavailable, an ordinary request can trigger a separate phoneLogin request with silent and register enabled, transmitting the current identity without a visible consent gate. This creates an undisclosed remote-account side effect outside the stated child-monitoring function; the source does not establish that camera footage is transmitted.

Content

No source excerpt is available for this finding.

HTTP requests can silently register an account with a separate service.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The request helper can silently initiate account registration rather than merely perform the requested operation. This duplicates the registration issue identified by SDI-2: absent credentials cause an externally visible identity-related action without explicit approval, which is especially sensitive in a child-focused application.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
87% confidence
Finding

The POST sends the current username as both openId and mobile, plus a source identifier, to the configured health-service login endpoint during automatic registration. External requests are not inherently unsafe, but this transmission is tied to the undisclosed registration flow and can expose a stable identity without a visible consent check; the actual endpoint and any transmission of child activity data are not established here.

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.

Low
Category
Output Handling
Confidence
92% confidence
Finding

YamlUtil.load creates parent directories and writes a YAML file when the requested configuration is missing, without a log, confirmation, docstring, or explanatory comment. BaseEnum.init_subclass invokes this loader during class definition (L044–L059), so importing the module can modify the filesystem without disclosing that side effect.

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

ai_chat documents an agent invocation but never executes it or returns analysis.

Low
Category
Excessive Agency
Confidence
99% confidence
Finding

The docstring at L26 states that this method invokes openclaw agent through subprocess, and L33-L34 promise an analysis result or session ID. However, the invocation is commented out at L61-L66; L68 creates an empty dictionary, and accessing result.stderr raises an exception that is caught at L81-L82, so callers receive None without any agent analysis being performed.

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/util.py (reported line 30)May include surrounding context.

python
elif isinstance(cur, dict):
                        cur = cur.get(part, default)
                    else:
                        cur = getattr(cur, part)
                return cur
            except Exception:
                return default