Back to skill

Security audit

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

Security checks for vulnerabilities and agentic risk

Overview

This employee-monitoring skill is mostly coherent, but it silently creates/reuses service identities, stores tokens locally, and sends workplace media and report history to a cloud service with limited user-facing control.

Install only in an authorized workplace-monitoring setting after legal/privacy review. Expect employee images or videos, media URLs, identity-linked report history, and generated reports to be handled by the configured Life Emergence cloud APIs, and require clear employee notice, service-account controls, token storage review, and retention/deletion procedures before use.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • YARA SignaturesMalware Match, Webshell Match, Cryptominer Match
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (62)

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Automatic authentication, account creation/lookup, local workspace access, and default open-id generation are materially beyond the declared purpose of analyzing media for phone use. Hidden identity provisioning tied to remote APIs can cause unauthorized account creation, silent cross-session linkage, and privacy-sensitive report access without informed user consent.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

Automatic authentication, account creation/lookup, local workspace access, and default open-id generation are materially beyond the declared purpose of analyzing media for phone use. Hidden identity provisioning tied to remote APIs can cause unauthorized account creation, silent cross-session linkage, and privacy-sensitive report access without informed user consent.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

Automatic authentication, account creation/lookup, local workspace access, and default open-id generation are materially beyond the declared purpose of analyzing media for phone use. Hidden identity provisioning tied to remote APIs can cause unauthorized account creation, silent cross-session linkage, and privacy-sensitive report access without informed user consent.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

Automatic authentication, account creation/lookup, local workspace access, and default open-id generation are materially beyond the declared purpose of analyzing media for phone use. Hidden identity provisioning tied to remote APIs can cause unauthorized account creation, silent cross-session linkage, and privacy-sensitive report access without informed user consent.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Automatic authentication, account creation/lookup, local workspace access, and default open-id generation are materially beyond the declared purpose of analyzing media for phone use. Hidden identity provisioning tied to remote APIs can cause unauthorized account creation, silent cross-session linkage, and privacy-sensitive report access without informed user consent.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Automatic authentication, account creation/lookup, local workspace access, and default open-id generation are materially beyond the declared purpose of analyzing media for phone use. Hidden identity provisioning tied to remote APIs can cause unauthorized account creation, silent cross-session linkage, and privacy-sensitive report access without informed user consent.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Automatic authentication, account creation/lookup, local workspace access, and default open-id generation are materially beyond the declared purpose of analyzing media for phone use. Hidden identity provisioning tied to remote APIs can cause unauthorized account creation, silent cross-session linkage, and privacy-sensitive report access without informed user consent.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Automatic authentication, account creation/lookup, local workspace access, and default open-id generation are materially beyond the declared purpose of analyzing media for phone use. Hidden identity provisioning tied to remote APIs can cause unauthorized account creation, silent cross-session linkage, and privacy-sensitive report access without informed user consent.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Automatic authentication, account creation/lookup, local workspace access, and default open-id generation are materially beyond the declared purpose of analyzing media for phone use. Hidden identity provisioning tied to remote APIs can cause unauthorized account creation, silent cross-session linkage, and privacy-sensitive report access without informed user consent.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Automatic authentication, account creation/lookup, local workspace access, and default open-id generation are materially beyond the declared purpose of analyzing media for phone use. Hidden identity provisioning tied to remote APIs can cause unauthorized account creation, silent cross-session linkage, and privacy-sensitive report access without informed user consent.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Automatic authentication, account creation/lookup, local workspace access, and default open-id generation are materially beyond the declared purpose of analyzing media for phone use. Hidden identity provisioning tied to remote APIs can cause unauthorized account creation, silent cross-session linkage, and privacy-sensitive report access without informed user consent.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Automatic authentication, account creation/lookup, local workspace access, and default open-id generation are materially beyond the declared purpose of analyzing media for phone use. Hidden identity provisioning tied to remote APIs can cause unauthorized account creation, silent cross-session linkage, and privacy-sensitive report access without informed user consent.

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.20"
license: "MIT-0"
---

# 📱 Workplace Phone Usage Smart Monit

Missing User Warnings

High
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill centers on employee surveillance using images/video and cloud report access, yet it does not provide prominent upfront notice about privacy-sensitive data handling, retention, remote transmission, or identity linkage. In this context, lack of disclosure is especially dangerous because the processed data may include employees, workplace activity, and account-scoped reports.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
95% confidence
Finding

The code provides arbitrary remote resource modification capability through generic add/edit/delete and raw POST/PUT/DELETE wrappers without visible constraints on destination or operation. Because the declared skill purpose is passive monitoring/analysis, write-capable network primitives are unjustified and could be abused to alter external systems, especially if other parts of the skill can influence the URL or payload.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The User model stores sensitive identity and authentication-related fields including username, realname, email, token, and open_token, yet the declared skill purpose is workplace phone-use detection. Unjustified retention of credentials or tokens materially raises privacy and account-compromise risk, especially if the local SQLite database is accessed by other components or users.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The utility layer automatically provisions identities via a remote '/sys/phoneLogin' call, retrieves tokens, and persists user/token material locally, even though the skill is presented as phone-usage monitoring. This is dangerous because it silently expands scope from vision analysis into account creation, authentication, and credential storage, creating privacy, consent, and token-compromise risks unrelated to the stated function.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill declares no explicit tool scope or permission boundaries despite instructing use of shell execution, local file handling, environment-backed identity initialization, and network/API access. In an agent environment, missing tool constraints can let the skill invoke broader capabilities than users expect, increasing the blast radius if the skill is triggered unintentionally or combined with unsafe inputs.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

Broad workplace-monitoring trigger keywords can cause the skill to activate on loosely related conversations and automatically process uploaded media or initiate surveillance-oriented actions. In a privacy-sensitive employee-monitoring context, unintended activation increases the chance of unnecessary analysis, network transmission, or persistence of sensitive data.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The history-report auto-trigger phrases are broad enough that casual requests about reports could silently invoke cloud queries. That can disclose metadata about prior monitoring sessions or cause account-linked remote access without the user clearly consenting to a backend lookup.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill states that identity parameters are handled internally, may reuse a local default user, and may auto-create one if absent. For a workplace-surveillance skill, silent identity initialization enables covert account linkage and persistence of sensitive report access under an opaque identity, making misuse and unauthorized data access more dangerous.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The documentation states that a cloud visual AI service analyzes workplace images/video of employees, but it does not explicitly warn users that sensitive employee imagery is transmitted to a remote service for processing. In an employee surveillance context, this materially increases privacy, consent, and compliance risk because operators may deploy the system without adequate notice, lawful basis, data handling disclosures, or cross-border transfer assessment.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

User-facing strings throughout the script, including errors, prompts, help text, and reports, are fixed in Chinese. The file does not provide a language/locale option or explain that the skill is intentionally limited to Chinese-speaking users.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The function exposes a capability to retrieve prior analysis records for an OpenID-backed internal identity, which goes beyond the declared purpose of analyzing a supplied image or video. In an employee-monitoring context, that can reveal historical behavioral surveillance data and creates an access-scope expansion risk if authorization is weak or implicit.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The code silently resolves and uses an internal OpenID identity context even though the skill presents itself as a media-analysis tool. Hidden identity binding can cause data to be fetched or attributed under an internal user context without clear disclosure, increasing the risk of unintended access to employee-monitoring records.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.install_untrusted_source

Install source points to URL shortener or raw IP.

Warn
Code
suspicious.install_untrusted_source
Location
skills/smyx_common/scripts/config-dev.yaml:2