Back to skill

Security audit

Pet Breed & Individual Identification Skill | 宠物品种个体识别技能

Security checks for vulnerabilities and agentic risk

Overview

The skill is a cloud pet-media analysis client, but it silently creates and reuses a persistent user identity and token store while uploading media and querying report history, so it needs user review before installation.

Install only if you are comfortable with pet images or videos being sent to lifeemergence.com/open.lifeemergence.com services, linked to an automatically managed local/remote identity, and having report history available later. Review or disable it if you need explicit consent before uploads, do not want local token persistence, or require clear retention/deletion controls for reports and metadata.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (57)

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

Authenticated API communication combined with local file access, workspace detection, local identity creation, and token/session management is a much broader capability set than the skill description suggests. In context, that means uploaded media may become linked to persistent identities and backend sessions without clear user understanding, increasing privacy and account-scope risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Authenticated API communication combined with local file access, workspace detection, local identity creation, and token/session management is a much broader capability set than the skill description suggests. In context, that means uploaded media may become linked to persistent identities and backend sessions without clear user understanding, increasing privacy and account-scope risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Authenticated API communication combined with local file access, workspace detection, local identity creation, and token/session management is a much broader capability set than the skill description suggests. In context, that means uploaded media may become linked to persistent identities and backend sessions without clear user understanding, increasing privacy and account-scope risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Authenticated API communication combined with local file access, workspace detection, local identity creation, and token/session management is a much broader capability set than the skill description suggests. In context, that means uploaded media may become linked to persistent identities and backend sessions without clear user understanding, increasing privacy and account-scope risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Authenticated API communication combined with local file access, workspace detection, local identity creation, and token/session management is a much broader capability set than the skill description suggests. In context, that means uploaded media may become linked to persistent identities and backend sessions without clear user understanding, increasing privacy and account-scope risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Authenticated API communication combined with local file access, workspace detection, local identity creation, and token/session management is a much broader capability set than the skill description suggests. In context, that means uploaded media may become linked to persistent identities and backend sessions without clear user understanding, increasing privacy and account-scope risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Authenticated API communication combined with local file access, workspace detection, local identity creation, and token/session management is a much broader capability set than the skill description suggests. In context, that means uploaded media may become linked to persistent identities and backend sessions without clear user understanding, increasing privacy and account-scope risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Authenticated API communication combined with local file access, workspace detection, local identity creation, and token/session management is a much broader capability set than the skill description suggests. In context, that means uploaded media may become linked to persistent identities and backend sessions without clear user understanding, increasing privacy and account-scope risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Authenticated API communication combined with local file access, workspace detection, local identity creation, and token/session management is a much broader capability set than the skill description suggests. In context, that means uploaded media may become linked to persistent identities and backend sessions without clear user understanding, increasing privacy and account-scope risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Authenticated API communication combined with local file access, workspace detection, local identity creation, and token/session management is a much broader capability set than the skill description suggests. In context, that means uploaded media may become linked to persistent identities and backend sessions without clear user understanding, increasing privacy and account-scope risk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Authenticated API communication combined with local file access, workspace detection, local identity creation, and token/session management is a much broader capability set than the skill description suggests. In context, that means uploaded media may become linked to persistent identities and backend sessions without clear user understanding, increasing privacy and account-scope risk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The manifest describes a skill for identifying cat/dog breeds and distinguishing individual pets, but this file handles arbitrary video input, submits it for a generic 'analysis', polls for report completion, and lists prior analysis reports. There is no pet-specific logic, breed recognition, or individual-animal identification behavior visible here; the outputs are framed as generic analysis reports.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The code implements generic video analysis and history retrieval rather than pet breed or individual pet recognition as advertised. This skill/implementation mismatch is dangerous because users or higher-level agents may grant inputs, permissions, or trust based on the declared pet-recognition purpose while the code performs different remote-analysis actions, creating a capability-deception and data-misrouting risk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
95% confidence
Finding

This file exposes a generic API wrapper with broad CRUD methods and arbitrary HTTP helpers that are not scoped to the advertised pet breed/individual recognition purpose. In a skill context, such overly broad network capability can be repurposed to access unrelated backend functionality, move data between services, or act as a general proxy, which significantly expands attack surface beyond the declared feature set.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The http_post/http_put/http_get/http_delete methods accept caller-controlled URLs and directly perform remote requests, creating an arbitrary outbound request primitive. In a skill unrelated to generic networking, this is especially dangerous because it can enable SSRF-style access to internal services, exfiltration to attacker-controlled hosts, or abuse of the host environment as a network pivot.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

This file provides generic DAO logic plus user/account persistence for usernames, real names, email, tokens, and deletion state, which is unrelated to a pet breed/individual recognition skill. Capability mismatch is dangerous because it creates hidden identity and account-management functionality that can collect, mutate, or persist user data outside the stated purpose, increasing the chance of covert tracking or unauthorized retention.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The User model stores identity and authentication-related fields such as username, realname, email, token, and open_token without any evident need for pet recognition. In this context, token storage is especially sensitive because compromise or misuse could enable account correlation, impersonation, or long-term tracking far beyond the advertised function of identifying pets.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

This utility code performs identity discovery, default account generation, local persistence, and reads credential-related data from the workspace, which is unrelated to a pet recognition skill's stated purpose. The hidden creation and reuse of user identities increases the risk of undisclosed tracking, unauthorized account binding, and unintended use of local credentials.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The HTTP wrapper silently authenticates, auto-registers users, persists tokens, and injects identity fields into outbound requests. For a pet breed/individual recognition skill, this is materially over-scoped behavior that can transmit user-linked data to external services without meaningful transparency or opt-in.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
88% confidence
Finding

The skill advertises and requires powerful capabilities including shell execution, local file handling, environment access, and network access, but it declares no explicit tool scope or permission boundaries. In an agent environment, this increases the chance of unintended or over-broad execution paths, especially because the document contains imperative instructions to save files locally and invoke scripts against remote services.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

An ambiguous default activation condition makes it unclear when the skill is allowed to handle user inputs and media, which can lead to unintended file saving, network submission, or analysis. In security-sensitive agent contexts, vague activation boundaries increase the risk of accidental overreach and data exposure.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Overly broad trigger phrases for history-report lookup can cause the skill to invoke cloud report-listing functionality during ordinary conversation without clear user intent. In a skill that links reports to internal identities, accidental triggering can expose sensitive historical metadata or cause unnecessary network access.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill mandates internal identity handling and even automatic creation or reuse of a default local user, which is unrelated to the core task of identifying pets in media. This is dangerous because it silently introduces persistent user linkage and local account state, enabling cross-session tracking or accidental exposure of report history.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The privacy statement says uploaded video data is deleted immediately and not persistently stored, yet other sections describe cloud-hosted historical report listing and report links. This inconsistency is dangerous because users may rely on false retention assurances while derived data or report artifacts remain stored and accessible.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This code defines the command description and multiple help strings entirely in Chinese, and later prints Chinese status/error messages as well. Because the file provides no opt-in language selection or documented regional justification, it imposes a specific language on users, which matches the natural-language locale policy violation criteria.

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