Back to skill

Security audit

Pet Separation Anxiety Relief (Owner Away) | 宠物分离焦虑舒缓(主人离家时)

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because its reported behavior does not clearly match its pet-care description and includes privacy and account-handling concerns.

Consider the verdict’s suspicious Review status before installing. The main reported concerns are the gap between the advertised pet-care workflow and the visible functionality, possible analysis of recordings even in export-only mode, unclear disclosure before uploads, and automatic account registration. Skillspector coverage is marked partial because a referenced local path was missing, so the evidence does not cover every referenced item; the completed AIG scan reported no findings. The results do not establish malicious intent.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • YARA SignaturesMalware Match, Webshell Match, Cryptominer Match
Findings (24)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied code's substantive purpose is generic database and user-account management, not the described pet-monitoring automation. Database access could be a supporting implementation detail, but this chunk contains no pet-related models or integration establishing that role; its concrete domain-specific behavior concerns user records and default-user selection. The mismatch is limited to the supplied chunk and does not establish that the wider skill lacks the advertised functionality. There is no visible network exfiltration or malicious behavior.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied chunk is a generic, partially disabled skill scaffold rather than an implementation of the declared pet-anxiety monitoring and relief workflow. No external agent command actually executes. Imported base classes and services are not supplied, so their behavior cannot be assessed; this finding is limited to the visible code and does not establish malicious activity.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The supplied code implements a video-analysis reporting client, not the described monitoring-and-intervention system. Its service could potentially perform pet-related analysis, but the imported service implementation is not supplied, and this chunk neither establishes that specialization nor implements the core real-time monitoring and automatic comfort actions. Report formatting and polling are supporting details, not independently suspicious capabilities.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The supplied code delegates video analysis to skill.get_output_analysis and exposes a separate history-listing operation through skill.get_output_analysis_list. It contains no visible pet-specific detection logic, continuous camera monitoring, threshold evaluation, or automated comfort-device actions. Although the imported analysis implementation could perform pet-related analysis, that behavior is not established by this chunk. The observable interface therefore materially differs from the declared end-to-end monitoring and relief system.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
85% confidence
Finding

Generic AI-analysis configuration could support the declared detection functionality and is not inherently a mismatch. However, DETAIL_EXPORT_URL explicitly references BASE_URL_HEALTH and /health/order/api/getReportDetailExport, introducing an unrelated health-report resource not explained by the description. This finding concerns the configured capability; the chunk does not demonstrate actual report retrieval or data export. Missing pet-specific logic alone would not establish a mismatch in this limited configuration file.

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-separation-anxiety-relief-analysis"
description: "AI-powered pet separation anxiety detection & relief when the owner leaves home. Real-time monitoring via smart camera detects typical anxiety signs—continuous vocalization, pacing, scratching doors/windows, destructive chewing. When anxiety reaches preset thresholds, the system auto-triggers comfort actions (play owner's pre-recorded voice, dispense treats via smart feeder, activate interactive toys) to reduce anxiety and destructive behavior, improving pet welfare. Scenarios: pet households (especially office workers / frequent travelers), pet boarding centers. | 通过智能

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 lacks a privacy warning about sending household recordings to an external API.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

The workflow authorizes analysis of local recordings without clearly warning that their contents will leave the device. Although cloud APIs are mentioned elsewhere, household video and audio can expose occupants, conversations, and home layouts, making an explicit upload disclosure important.

Content

No source excerpt is available for this finding.

The documented environment-export-only mode still executes video analysis.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The parser accepts --export-env-only and promises not to analyze, but the flag is never checked. When an input is also supplied, execution reaches analysis, potentially uploading private household recordings despite the caller selecting a non-analysis mode.

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 file contents are submitted to an analysis API without disclosure of the upload.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

The function reads the complete local video and passes it as a file payload to the analysis service without an upload notice or consent check in this path. Uploading is relevant to the intended service, but household recordings can contain sensitive human video and audio that users may not expect to transmit.

Content

No source excerpt is available for this finding.

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

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The export-only option is parsed but never used to stop execution. With an input supplied, the script invokes remote analysis despite promising not to, potentially disclosing a recording during what the caller expected to be a configuration-only operation.

Content

No source excerpt is available for this finding.

The ai_chat docstring claims to invoke an analysis agent, but the implementation never invokes it and silently returns no analysis.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

L26 explicitly documents invoking openclaw agent through subprocess, but the invocation at L61–L66 is commented out. Instead, L68 creates an empty dictionary and L70 accesses its nonexistent stderr attribute; the exception is swallowed at L81–L82, so this method cannot deliver the documented analysis. If used for anxiety assessment, it would provide no assessment to downstream monitoring or relief logic.

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

Opening a path with mode 'w' immediately erases its existing contents, even before anything is written. This generically named helper has no docstring, explanatory comment, confirmation, or user-facing log disclosing that destructive behavior; its exception handler only runs after a failure.

Content

No source excerpt is available for this finding.

The HTTP helper silently provisions remote user accounts, beyond the manifest's pet-monitoring and comfort-control scope.

Medium
Category
Excessive Agency
Confidence
90% confidence
Finding

When credentials are missing, an ordinary HTTP request can trigger a remote login request with registration enabled, without a separate consent or enrollment step. Backend authentication may support pet monitoring, but silently creating an account introduces an undisclosed external side effect beyond that function.

Content

No source excerpt is available for this finding.

HTTP authentication silently submits a user identifier to a registration-enabled endpoint.

Medium
Category
Output Handling
Confidence
92% confidence
Finding

The helper automatically submits the current identifier as both openId and mobile to a registration-enabled endpoint. The caller can also select API_SECRET_KEY as that identifier, potentially copying a credential into identity fields and associated backend records without an explicit enrollment decision.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
89% confidence
Finding

External authentication traffic is not inherently malicious, but this request automatically transmits an identifier and can place API_SECRET_KEY in the openId and mobile fields. That creates a concrete unnecessary credential-disclosure path to the configured service's identity-processing systems; the source does not establish an attacker-controlled destination.

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

When a configuration file is missing, YamlUtil.load creates its parent directories and writes a YAML file without a prompt, log, comment, or docstring disclosing this side effect. BaseEnum.init_subclass invokes this loader at L053 and L058, so merely importing the module can modify the filesystem rather than only read configuration.

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:

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