Back to skill

Security audit

Office Prolonged Sitting & Posture Warning | 成人久坐/姿态预警(办公室)

Security checks for vulnerabilities and agentic risk

Overview

The skill appears to perform the advertised cloud posture-video analysis, but it also silently creates or reuses identities, stores tokens locally, and can query cloud history for workplace camera data without enough user-visible scoping.

Review this before installing in any workplace environment. Use it only if employees have given informed consent, the lifeemergence.com cloud service is approved for camera footage and posture records, and you are comfortable with local account/token persistence in the workspace data directory. Consider requiring explicit confirmation before history queries or video uploads.

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

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Network communication, local file access, identity resolution, and database interaction are all reported, yet none of the promised video-analysis or reminder logic exists in code. This combination is particularly dangerous because it resembles a data-collection and account-linkage workflow disguised as a simple office wellness tool.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Network communication, local file access, identity resolution, and database interaction are all reported, yet none of the promised video-analysis or reminder logic exists in code. This combination is particularly dangerous because it resembles a data-collection and account-linkage workflow disguised as a simple office wellness tool.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

Network communication, local file access, identity resolution, and database interaction are all reported, yet none of the promised video-analysis or reminder logic exists in code. This combination is particularly dangerous because it resembles a data-collection and account-linkage workflow disguised as a simple office wellness tool.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

Network communication, local file access, identity resolution, and database interaction are all reported, yet none of the promised video-analysis or reminder logic exists in code. This combination is particularly dangerous because it resembles a data-collection and account-linkage workflow disguised as a simple office wellness tool.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

Network communication, local file access, identity resolution, and database interaction are all reported, yet none of the promised video-analysis or reminder logic exists in code. This combination is particularly dangerous because it resembles a data-collection and account-linkage workflow disguised as a simple office wellness tool.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Network communication, local file access, identity resolution, and database interaction are all reported, yet none of the promised video-analysis or reminder logic exists in code. This combination is particularly dangerous because it resembles a data-collection and account-linkage workflow disguised as a simple office wellness tool.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Network communication, local file access, identity resolution, and database interaction are all reported, yet none of the promised video-analysis or reminder logic exists in code. This combination is particularly dangerous because it resembles a data-collection and account-linkage workflow disguised as a simple office wellness tool.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Network communication, local file access, identity resolution, and database interaction are all reported, yet none of the promised video-analysis or reminder logic exists in code. This combination is particularly dangerous because it resembles a data-collection and account-linkage workflow disguised as a simple office wellness tool.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Network communication, local file access, identity resolution, and database interaction are all reported, yet none of the promised video-analysis or reminder logic exists in code. This combination is particularly dangerous because it resembles a data-collection and account-linkage workflow disguised as a simple office wellness tool.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Network communication, local file access, identity resolution, and database interaction are all reported, yet none of the promised video-analysis or reminder logic exists in code. This combination is particularly dangerous because it resembles a data-collection and account-linkage workflow disguised as a simple office wellness tool.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Network communication, local file access, identity resolution, and database interaction are all reported, yet none of the promised video-analysis or reminder logic exists in code. This combination is particularly dangerous because it resembles a data-collection and account-linkage workflow disguised as a simple office wellness tool.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Network communication, local file access, identity resolution, and database interaction are all reported, yet none of the promised video-analysis or reminder logic exists in code. This combination is particularly dangerous because it resembles a data-collection and account-linkage workflow disguised as a simple office wellness tool.

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-office-worker-posture-warning-analysis"
description: "Using a fixed camera in the office (aimed at the workstation), the system analyzes office workers' sitting-posture video in real time, detecting continuous sitting duration, neck forward angle (head offset relative to shoulders), and back curvature (hunchback degree). | 通过办公区固定摄像头(对准工位)实时分析办公人员的坐姿视频,检测连续坐姿时间、颈部前倾角度(头部相对于肩部的偏移)、背部弯曲度(驼背程度)。当久坐时间超过预设阈值(默认1小时)且未起身活动时,输出'久坐提醒';当颈

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
95% confidence
Finding

The User model stores sensitive fields including token, open_token, email, birthday, age, and realname without any justification tied to posture analysis. In the context of a camera-based workplace monitoring skill, this is especially risky because it combines behavioral surveillance with identity and authentication-like data, increasing harm from misuse or database compromise.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The code reads workspace identity material from data/smyx-api-key.txt and falls back to creating persistent local user records and default identities. For a posture-warning camera skill, this is unrelated functionality that can silently appropriate local identity state and establish durable tracking across sessions.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The utility layer performs remote login/account creation and token acquisition even though the declared skill purpose is local office-posture video analysis. This creates undisclosed identity provisioning and outbound data flows, expanding the trust boundary and enabling silent enrollment of users or systems into external services.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
79% confidence
Finding

The skill declares broad operational behavior that implies shell, filesystem, network, and environment access, but it does not explicitly constrain tool permissions in the manifest. In an agent environment, missing scope declarations can allow the skill to exercise more capability than users or reviewers expect, increasing the blast radius of prompt-triggered actions.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
76% confidence
Finding

While the file contains some bilingual overview text, the actionable trigger rules, workflow, constraints, notes, and examples are predominantly in Chinese. This imposes a language preference on users and operators without stating that the skill is Chinese-locale specific or offering an explicit language option.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

A default trigger for generic workstation video analysis can cause the skill to run on broader inputs than users intended, including potentially sensitive office footage. Overly broad auto-invocation raises the chance of accidental data submission to external services and bypasses meaningful user confirmation.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The manifest presents a limited real-time posture-warning skill, but the body expands it into cloud-backed historical report querying and report-link retrieval. This scope expansion matters because it introduces additional data access paths and retention concerns that users may not expect from the top-level description.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

Broad natural-language triggers for historical report queries can invoke cloud data retrieval without sufficiently clear user scope or authorization checks. In a workplace-monitoring context, accidental or overbroad history retrieval can expose sensitive employee behavioral records.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The user-facing string at L17 is hard-coded in Chinese, which imposes a specific language/locale on all users. The file does not indicate any opt-in, fallback, or region-specific justification for this restriction.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill is presented as office-worker posture analysis, but it exposes an unrelated 'pet_type' parameter and mutates a global default based on user input. This mismatch is dangerous because it indicates code reuse or hidden multi-purpose behavior, which undermines trust in what data is being processed and may cause the backend to route requests in unintended ways.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The code includes a hidden open-id based listing capability and internal identity handling that are unrelated to the stated posture-analysis purpose. Hidden account-scoped retrieval features increase the risk of unauthorized access to prior analysis records or user data, especially because the capability is not transparently disclosed in the main skill description.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
85% confidence
Finding

The tool accepts a network video URL for analysis but provides no meaningful warning that office camera footage may be fetched from or transmitted to external services. In a workplace-monitoring context, this is sensitive personal data, so lack of disclosure can lead to privacy violations, policy breaches, or accidental submission of internal surveillance footage to third parties.

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