Back to skill

Security audit

Pet Training Command Execution Recognition | 宠物训练指令执行识别(坐/卧/等)

Security checks for vulnerabilities and agentic risk

Overview

This skill largely matches its pet-training analysis purpose, but it quietly links uploads to a persistent cloud identity and cloud history, so users should review it before installing.

Install only if you are comfortable sending pet-training videos or media URLs to the LifeEmergence cloud service and having results associated with a persistent local/cloud identity. Review retention and account controls before using sensitive footage, and treat history queries as cloud account data access rather than a local-only feature.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • YARA SignaturesMalware Match, Webshell Match, Cryptominer Match
Findings (59)

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The skill appears to manage workspace paths, read/write local data files, resolve or create user identities, and call remote login/registration endpoints despite being described as video posture analysis. In a media-upload context, this hidden identity/account handling is especially sensitive because it couples user content with account creation, token acquisition, and local data persistence without clear disclosure.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The skill appears to manage workspace paths, read/write local data files, resolve or create user identities, and call remote login/registration endpoints despite being described as video posture analysis. In a media-upload context, this hidden identity/account handling is especially sensitive because it couples user content with account creation, token acquisition, and local data persistence without clear disclosure.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The skill appears to manage workspace paths, read/write local data files, resolve or create user identities, and call remote login/registration endpoints despite being described as video posture analysis. In a media-upload context, this hidden identity/account handling is especially sensitive because it couples user content with account creation, token acquisition, and local data persistence without clear disclosure.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to manage workspace paths, read/write local data files, resolve or create user identities, and call remote login/registration endpoints despite being described as video posture analysis. In a media-upload context, this hidden identity/account handling is especially sensitive because it couples user content with account creation, token acquisition, and local data persistence without clear disclosure.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The skill appears to manage workspace paths, read/write local data files, resolve or create user identities, and call remote login/registration endpoints despite being described as video posture analysis. In a media-upload context, this hidden identity/account handling is especially sensitive because it couples user content with account creation, token acquisition, and local data persistence without clear disclosure.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to manage workspace paths, read/write local data files, resolve or create user identities, and call remote login/registration endpoints despite being described as video posture analysis. In a media-upload context, this hidden identity/account handling is especially sensitive because it couples user content with account creation, token acquisition, and local data persistence without clear disclosure.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The skill appears to manage workspace paths, read/write local data files, resolve or create user identities, and call remote login/registration endpoints despite being described as video posture analysis. In a media-upload context, this hidden identity/account handling is especially sensitive because it couples user content with account creation, token acquisition, and local data persistence without clear disclosure.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to manage workspace paths, read/write local data files, resolve or create user identities, and call remote login/registration endpoints despite being described as video posture analysis. In a media-upload context, this hidden identity/account handling is especially sensitive because it couples user content with account creation, token acquisition, and local data persistence without clear disclosure.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to manage workspace paths, read/write local data files, resolve or create user identities, and call remote login/registration endpoints despite being described as video posture analysis. In a media-upload context, this hidden identity/account handling is especially sensitive because it couples user content with account creation, token acquisition, and local data persistence without clear disclosure.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The skill appears to manage workspace paths, read/write local data files, resolve or create user identities, and call remote login/registration endpoints despite being described as video posture analysis. In a media-upload context, this hidden identity/account handling is especially sensitive because it couples user content with account creation, token acquisition, and local data persistence without clear disclosure.

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
84% confidence
Finding

A YARA hit for metadata/tool poisoning indicators in the manifest is a meaningful red flag because malicious or deceptive skills often manipulate descriptive metadata to influence tool selection, trust decisions, or reviewer interpretation. Given the broader pattern of description-behavior mismatch and undeclared capabilities, this indicator increases suspicion that the manifest may be crafted to conceal or reframe risky behavior.

Content

Scanner excerpt · SKILL.md (reported line 3)May include surrounding context.

md
---
name: "smyx-pet-training-command-execution-analysis"
description: "Triggers when a user provides a training-area video of a pet for analysis; supports local uploads or network URLs to call server-side APIs for command-execution recognition, detecting whether the pet's body posture matches the issued commands (Sit / Down / Stay), comparing posture timing against command timestamps, and judging execution success. When the command is not executed, the result can trigger an external voice repeat-prompt signal (not a medical / behavior-therapy advice). Application scenarios: smart dog-training devices, remote pet training, behavior correction. | 当�

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The code grants arbitrary remote resource modification capability through unconstrained http_post, http_put, and http_delete wrappers plus generic add/edit/delete methods, without any visible restriction tying them to pet-video analysis endpoints. If attacker-controlled or overly permissive calling code can influence the target URL or payload, the skill could be abused as a proxy to alter backend state or interact with unintended services, which is especially risky given the manifest only justifies analytics behavior.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

This utility code creates, resolves, and persists platform user identities and tokens, including reading workspace credentials and generating default identities, even though the declared skill is for pet-training video analysis. That hidden identity-management behavior expands the skill's privilege surface, enables silent account reuse or impersonation, and is unjustified in context, making the mismatch especially concerning.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The HTTP helper can silently call an external health endpoint to register or log in a user using generated or recovered identifiers when tokens are missing. For a pet-training analysis skill, auto-registering accounts against an unrelated external service is a severe scope violation that can transmit identity data off-box and create unauthorized external side effects without meaningful user awareness.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill declares powerful capabilities in practice (shell, network, file read/write, environment access) but does not scope or disclose them via permissions or allowed-tools metadata. This weakens reviewability and containment, making it easier for a skill that appears benign to perform higher-risk operations than users or the platform expect.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill does not clearly warn users that uploaded files and supplied URLs are sent to server-side/cloud APIs and that attachments may be saved locally. This lack of transparency undermines informed consent and can expose sensitive media, metadata, or local file content to remote services unexpectedly.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

Overly broad trigger conditions can cause the skill to activate on routine pet-training conversations, increasing the chance of unintended file handling, network requests, or history lookups. In a skill with undeclared backend and identity-linked behavior, accidental activation materially raises privacy and misuse risk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The documentation expands the skill from on-demand pet command-execution analysis into cloud-based historical report retrieval, which changes the data-access scope from current-input processing to account-linked record access. That broader scope is security-relevant because it can expose prior user data and should be explicitly declared, reviewed, and permissioned.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The script exposes a --list mode that retrieves prior analysis records by open_id, which is outside the stated purpose of analyzing a user-provided training video. This broadens the tool from a single-purpose analyzer into a data-access interface and can enable unauthorized enumeration or disclosure of historical user data if identity checks are weak or bypassable.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
76% confidence
Finding

The script accepts a network URL as input and passes it into analysis, which likely causes remote fetching or transmission of user-supplied media. Although there is a generic progress message, there is no explicit user-facing warning that remote content may be retrieved or sent to backend services.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The code performs hidden identity resolution via OpenIdUtil.resolve_current_open_id(...) while suppressing --open-id from normal help output. That combination creates a privacy and authorization risk because identity-sensitive behavior is present without clear disclosure, and a caller may be able to influence or infer which user's data is accessed.

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

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

Multiple user-facing strings are hard-coded in Chinese, such as the report header and export-link text, indicating the skill is designed to respond in a specific language by default. The file does not provide any user opt-in, locale selection, or justification for this language constraint.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The code reads arbitrary local file contents from a supplied path and uploads the full bytes to a backend analysis service, but this file contains no user-facing notice, consent check, or restriction to a controlled workspace. In an agent setting, this can cause unintended exfiltration of sensitive local files if a user or upstream component passes an unexpected path.

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