Back to skill

Security audit

Workplace Phone Usage Smart Monitoring Skill | 职场玩手机智能监测技能

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this phone-use monitoring skill suspicious because scanners report a mismatch between its stated purpose and account, identity, and data-handling behavior, alongside weak controls around analysis and media transfers.

The verdict is suspicious, and Skillspector's scan is partial because one referenced local path was missing. Consider avoiding installation until the publisher explains the extra account and identity handling, identifies where employee media is sent and under what approval or policy, and clarifies why the export-only option and report trigger behave as reported. The scan does not establish malicious intent.

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
  • 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
Findings (23)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The visible implementation does not substantiate the declared computer-vision monitoring purpose. It provides generic scaffolding and a disabled, broken chat wrapper. No subprocess is actually executed, and no camera, image, or video access is shown. Imported base and API implementations were not supplied, so this assessment is limited to the provided chunk and does not establish what those dependencies might implement.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

String, file, date, polling, and HTTP helpers can legitimately support a vision skill, so their presence alone is not a mismatch. However, this chunk also implements an undisclosed account-registration, identity-persistence, authentication, and billing workflow. These behaviors access local identity resources and communicate with an external account service beyond the declared monitoring purpose. Requests to absolute URLs receive the same credential headers without an origin restriction visible here. The finding is limited to the supplied chunk; absence of vision logic in a shared utility file does not establish that the full skill lacks detection functionality.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

Generic database support alone would not establish a mismatch. However, the concrete functionality shown centers on user-account storage and lookup, including token and personal-profile fields, rather than detection events or phone-use statistics. The supplied chunk contains no image/video processing, phone detection, or duration/frequency tracking, and does not establish how its identity-management functionality supports the declared purpose. This assessment is limited to the supplied chunk; it does not establish malicious intent or external data transmission.

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: "phone_usage_monitoring_analysis"
description: "Based on computer vision, automatically detects employees playing with phones during work hours, supports real-time video stream and image detection, counts the duration and frequency of phone usage, helps enterprises standardize office order, and improves work efficiency. | 职场玩手机智能监测技能,基于计算机视觉自动检测工作时间员工玩手机行为,支持视频流和图片实时检测,统计玩手机时长与频次,帮助企业规范办公秩序,提升工作效率"
version: "1.0.27"
license: "MIT-0"
---

# 📱 Workplace Phone Usage Smart Monit

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 lacks a clear warning about sending employee surveillance media to the analysis API.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

Although API use is mentioned, the workflow does not clearly disclose that local employee surveillance media will leave the user's environment or require authorization for that transfer. A general privacy reminder does not establish informed approval to send identifiable workplace footage to an external processor.

Content

No source excerpt is available for this finding.

The examples designate the generic phrase “历史报告” (“historical reports”) as an automatic activation keyword without limiting it to phone-use monitoring.

Medium
Category
Trigger Abuse
Confidence
94% confidence
Finding

The generic historical-report activation phrase can route unrelated requests into a mandatory cloud query without establishing phone-monitoring intent. In this context, unintended retrieval and presentation can expose sensitive employee surveillance reports in an unrelated conversation.

Content

No source excerpt is available for this finding.

The --export-env-only option promises not to run analysis, but execution proceeds with analysis regardless.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The parser advertises a no-analysis mode, but execution never checks the corresponding flag and proceeds into identity initialization and, when input is supplied, analysis. Users relying on this promise can unintentionally initiate remote processing of sensitive workplace footage.

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 an upload disclosure.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The method reads the entire local media file and passes it as an upload to the analysis service without a disclosure or approval check in this path. For employee surveillance media, an unapproved external transfer can disclose identifiable people and confidential workplace activity.

Content

No source excerpt is available for this finding.

The --export-env-only option promises not to run analysis, but the code ignores it and executes analysis normally.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The no-analysis flag is parsed but never consulted, so valid input still reaches the analysis call. This violates an explicit operational boundary and can cause unintended remote processing when the caller expects only environment-export output.

Content

No source excerpt is available for this finding.

ai_chat documents agent execution but never invokes the agent or returns analysis.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The docstring at L25–L35 explicitly promises to invoke openclaw agent through subprocess and return analysis or a session ID. However, subprocess execution is commented out, and the replacement empty dictionary at L68 raises an AttributeError when accessed as result.stderr; the exception is caught, so the method returns None without performing the documented analysis.

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 mode 'w', which immediately erases an existing file's contents. No docstring, explanatory comment, confirmation, or user-facing 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 provisions remote user accounts, beyond the declared phone-usage detection and analytics functionality.

Medium
Category
Excessive Agency
Confidence
93% confidence
Finding

When credentials are unavailable, the request helper can submit a phoneLogin request with silent=1 and register=1 without an explicit enrollment step. This requests remote account creation and transmits an identity beyond the declared monitoring functionality; workplace use makes undisclosed identity processing particularly concerning.

Content

No source excerpt is available for this finding.

HTTP requests can silently trigger remote account registration.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

An ordinary HTTP operation can enter the missing-token branch and request remote registration without a separate user decision. This duplicates the account-provisioning issue identified by SDI-1 and creates an unexpected external side effect rather than merely performing the requested API operation.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
90% confidence
Finding

The POST transmits the selected identity as both openId and mobile, together with a source identifier, to the configured remote authentication service. The source shows no separate disclosure or consent gate for this transmission; it does not, however, establish that images or video are sent by this particular request.

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 disclosure comment, docstring, prompt, or log. BaseEnum.init_subclass calls this loader at L053 and L058, so defining the module's subclasses can modify the filesystem merely by importing it—an unexpected side effect for configuration loading.

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)

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/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