Back to skill

Security audit

Pet Drying Box Heat Stress Analysis | 宠物烘干箱内热应激预警

Security checks for vulnerabilities and agentic risk

Overview

This skill needs review because it can reuse accounts across users, retain credentials, and upload videos despite an export-only setting.

Prefer a corrected release before using private footage or sharing the installation. Require working export-only and API destination controls, separate accounts for separate users, and protected credential storage. Videos and URLs go to Life Emergence's configured services; confirm their retention and access policies and avoid credential-bearing URLs. Do not reuse unrelated secrets as service identity values. Server-side privacy controls and analysis accuracy remain unverified.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
Findings (25)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The video-analysis commands match the declared purpose, and report formatting and output-file options are supporting details. However, historical-report listing is a separate capability with explicitly documented triggers beyond the declared video-input workflow. The supplied chunk does not reveal the underlying implementation, so no further resource access or behavior is inferred.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The documented fallback reuses a local default account when an upstream identity is absent, while report history is automatically associated with that account. In a shared installation, this can mix different users' videos and expose their reports; however, the supplied source does not substantiate the finding's additional database-schema and credential-storage claims.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
87% confidence
Finding

The primary video-analysis workflow is consistent with the description, but the independently accessible history-listing mode is an additional user-facing data-retrieval capability, not merely an internal implementation detail. The supplied chunk delegates analysis to imported code, so it does not establish whether the advertised heat-stress metrics or cooling/stopping support are implemented. No unrelated data exfiltration or device-control behavior is visible in this chunk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
86% confidence
Finding

Ordinary HTTP, polling, and authentication helpers could support the declared server-side analysis and are not themselves mismatches. However, automatic account provisioning and unrestricted credential attachment introduce material identity-management and credential-disclosure capabilities absent from the description. In particular, caller-supplied absolute URLs receive authentication headers regardless of destination. This is a capability exposed by the helper, not proof that credentials were actually sent to an unintended host. Since this is a shared utility module, the absence of video-analysis logic alone does not establish a mismatch.

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-pet-drying-box-heat-stress-analysis"
description: "Triggers when a user provides a pet drying box area video URL or file for analysis; supports local video uploads or network URLs to call server-side APIs for pet heat stress signal detection, analyzing open-mouth panting intensity, tongue color (pink/cyanotic), and body movement frequency to identify early heat stress signals, outputting risk levels and supporting auto-cooling or stopping drying. Application scenarios: pet drying boxes, pet grooming stores, pet hospitals. Development reason: prevent heatstroke and improve safety. | 当用户提供宠物烘干箱区域的视频URL

The request helper can forward service credentials to arbitrary external URLs.

High
Category
Excessive Agency
Confidence
99% confidence
Finding

The helper accepts arbitrary absolute HTTP or HTTPS URLs and attaches service tokens, the API key, and authorization credentials without checking the destination. If a user-supplied video URL reaches this helper, an attacker-controlled host can receive those credentials; plain HTTP also exposes them in transit.

Content

No source excerpt is available for this finding.

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 sends user videos to a remote API without a user-facing privacy warning.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The workflow instructs the agent to run server-side video analysis, including local-file uploads and URLs fetched by the API service. Although remote processing is described elsewhere, the skill never instructs the agent to warn users that their footage or supplied URL will be shared with an external service and may expose private content.

Content

No source excerpt is available for this finding.

The --export-env-only option promises not to run analysis, but normal video analysis still executes.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The parser accepts --export-env-only and promises not to analyze, but the program never checks that flag before identity initialization or analysis. When a video is supplied, a user expecting a non-analysis operation can instead trigger remote processing and an unintended upload.

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 passed to the analysis API without disclosure that the file will be uploaded.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

The code reads the entire local file and passes its contents as a file payload to the analysis API. There is no confirmation, log, docstring, or comment explaining the remote transfer; the comment only describes reading the file, so users may not realize their video leaves the local system.

Content

No source excerpt is available for this finding.

The documented export-only mode still executes video analysis.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The export-only flag is parsed but never used to control execution, so supplying it with a video still invokes analysis. This violates the explicit no-analysis promise and can cause unintended transmission of private video to the analysis service.

Content

No source excerpt is available for this finding.

The service exposes username-based user lookup, which is unrelated to pet heat-stress analysis.

Medium
Category
Excessive Agency
Confidence
88% confidence
Finding

The get_user_by_username method delegates a username lookup to RequestUtil. The manifest describes video submission, heat-stress detection, and cooling controls, but provides no justification for looking up user accounts; this adds an unrelated capability to the service.

Content

No source excerpt is available for this finding.

The skill includes personal-profile database management unrelated to pet heat-stress video analysis.

Medium
Category
Excessive Agency
Confidence
86% confidence
Finding

The User model stores human profile information, including real names, email addresses, birthdays, sex, and age, and UserDao exposes inherited CRUD operations over these records. DAO initialization also creates and migrates the user table (L180-L215). Although API authentication could justify token storage, managing these additional personal demographics is not justified by the manifest's video-analysis and drying-control purpose.

Content

No source excerpt is available for this finding.

FileUtil.open silently truncates existing files without disclosing its write-only behavior.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

At L101, opening a path with mode 'w' immediately erases any existing contents. The generically named wrapper has no docstring, explanatory comment, confirmation, or action log warning callers about this destructive behavior; exception tracing does not disclose successful truncation.

Content

No source excerpt is available for this finding.

The HTTP helper silently performs remote account registration and persists returned credentials.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

An ordinary HTTP request can silently trigger remote registration using 'register': 1 and persist returned account information and bearer credentials locally. This creates undisclosed identity and credential-storage side effects beyond video analysis, without an explicit enrollment or storage-consent step in the supplied implementation.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
91% confidence
Finding

This POST automatically transmits the selected identity as both openId and mobile to a registration endpoint, rather than merely uploading video for analysis. The caller can select API_SECRET_KEY as that identity, causing a credential to be copied into profile fields that may be logged or retained differently from authentication headers; this overlaps the hidden-registration finding.

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

YamlUtil.load creates the parent directory and writes a YAML file when the requested configuration is missing, without a log, prompt, comment, or docstring disclosing that side effect. BaseEnum.init_subclass invokes this loader during class definitions (L044–L059), so merely importing the module can modify the filesystem unexpectedly.

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:

ai_chat claims to invoke an analysis agent, but its implementation never invokes one or returns an analysis result.

Low
Category
Excessive Agency
Confidence
99% confidence
Finding

The docstring at L26–L34 explicitly promises a subprocess invocation of openclaw agent and an analysis result or session ID. However, the invocation is commented out at L61–L66, and the empty dictionary at L68 causes the attribute access at L70 to fail; the exception handler then suppresses the failure and the method returns None.

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