Back to skill

Security audit

Pet Adaptive Drying Temperature Recommendation | 宠物烘干温度自适应推荐

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this pet-drying analysis skill suspicious because scanners report credential handling, persistent user data, and behavior beyond the stated purpose; the evidence is partial and does not establish malicious intent.

The verdict is suspicious, so consider the reported account creation, credential handling, persistent personal data, and remote media processing before installing. The skill scan was partial because one local reference could not be resolved, and the analysis implementation was not fully available to confirm its advertised behavior. The separate AIG scan completed without findings, but that does not resolve the concerns identified by Skillspector.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
Findings (27)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied chunk implements user-account persistence rather than pet-media processing or drying recommendations. Local storage can be a supporting implementation detail, but this code specifically manages personal identity and authentication data without a demonstrated connection to the declared functionality. No image/video processing, pet-analysis API calls, fur-density estimation, or temperature-curve generation appears here. The finding is limited to this chunk; it does not establish network transmission or malicious use of the stored data.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

The analysis entry point is broadly consistent with the declared workflow, but the separate account-linked history retrieval capability is undeclared. Identity resolution and output-file saving are supporting implementation details, not independent mismatches. Because the underlying analysis implementation is absent, this chunk cannot establish whether pet recognition, fur-density estimation, or drying-curve generation actually occurs.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The primary analysis path is consistent with the description at the wrapper level. However, the separate --list path calls skill.get_output_analysis_list(open_id=...), using an identity resolved by OpenIdUtil, and returns without requiring pet media. Retrieving user-associated historical analyses is an additional capability beyond the declared media-analysis workflow. Identity initialization and optional output-file writing are not independently treated as mismatches. The supplied chunk does not establish how the delegated analysis or history retrieval is implemented.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The media-analysis commands align with the declared purpose, and report formatting and saving are supporting features. However, historical-report listing is a separate retrieval capability not disclosed in the description, which describes triggering on supplied pet images or videos. The underlying Python implementation is not included, so this finding is limited to the capability and triggers explicitly exposed by the supplied shell examples.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
87% confidence
Finding

Generic HTTP, polling, and file helpers can legitimately support the declared API-based analysis and are not themselves mismatches. However, this chunk additionally implements implicit account provisioning, credential-file access and identity transmission, persistent authentication state, and a payment workflow not disclosed in the description. Its request wrapper also attaches authentication headers to arbitrary absolute URLs, extending credential use beyond a constrained pet-analysis service. No pet-recognition or drying-curve logic appears in this chunk, although that absence alone would not establish a mismatch in a shared utility file.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
86% confidence
Finding

Media submission, result polling, and report formatting are consistent with supporting the declared analysis workflow. However, get_output_analysis_list independently calls self.page to retrieve existing report records and adds export links, extending functionality beyond analyzing the supplied pet media. The absence of pet-specific logic in this wrapper is not itself evidence of a mismatch, because that processing may occur server-side.

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-adaptive-pet-drying-temperature-analysis"
description: "Triggers when a user provides a full-body image/video of a pet (multi-angle preferred) for analysis; supports local uploads or network URLs to call server-side APIs for breed/body-type recognition and fur-density estimation (sparse / medium / dense), then outputs a recommended drying temperature curve (temperature in ℃ + time in minutes) for personalized care to reduce scald risk (not a medical recommendation). Application scenarios: pet drying boxes, pet grooming salons, smart pet care devices. | 当用户提供宠物全身图像/视频(多角度最佳)时,触发本技�

The request helper attaches service credentials and user identity to arbitrary absolute 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 user identity without checking the destination. If an untrusted media URL reaches this helper, an attacker-controlled server can receive credentials; allowing HTTP also exposes them to network interception.

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 default trigger treats any pet full-body image/video analysis request as a request for drying-temperature recommendations.

Medium
Category
Trigger Abuse
Confidence
91% confidence
Finding

The default trigger converts a general pet-image analysis request into a drying-analysis workflow without establishing that the user requested that purpose. Because this workflow transmits media to a remote service, the overly broad trigger can cause unintended disclosure of images, including people or private surroundings captured with the pet.

Content

No source excerpt is available for this finding.

The --export-env-only option promises not to execute analysis, but the code ignores it and proceeds with analysis.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The parser advertises --export-env-only as avoiding analysis, but execution never checks the flag. When supplied with media arguments, the command still initializes identity and invokes remote analysis, potentially uploading private media despite the caller explicitly 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

The --export-env-only option promises not to execute analysis, but the code ignores it and proceeds with analysis.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The --export-env-only flag promises no analysis but is ignored after argument parsing. With an input path or URL present, the command continues to identity initialization and remote analysis, violating the caller's expectation that this invocation will not process or upload media.

Content

No source excerpt is available for this finding.

The service exposes username-based user lookup, which is unrelated to pet-image analysis or drying recommendations.

Medium
Category
Excessive Agency
Confidence
88% confidence
Finding

At L098–L101, get_user_by_username accepts a username and delegates a user lookup to RequestUtil. The manifest declares pet-media analysis and temperature recommendations, not account discovery or user-directory access; this capability has no evident role in that workflow.

Content

No source excerpt is available for this finding.

The skill includes persistent human-user profile and credential management unrelated to pet drying analysis.

Medium
Category
Excessive Agency
Confidence
92% confidence
Finding

The User model stores human-user information such as real names, email addresses, birthdays, sex, and age, together with token and open_token credentials (L448-L465). UserDao exposes persistent CRUD operations for these records through Dao (L470-L473), whose initialization also creates and migrates the user database schema (L180-L215). Managing these human profiles is not an obvious requirement of recognizing pets, estimating fur density, or recommending drying curves, and is not declared in the manifest.

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

Opening a path with mode 'w' immediately erases any existing contents, even before the caller writes data. This generic open helper has no docstring, comment, confirmation, or user-facing log explaining that destructive behavior; its exception handler only runs after an error.

Content

No source excerpt is available for this finding.

API requests can silently register a remote account and persist its identity and tokens locally.

Medium
Category
Excessive Agency
Confidence
93% confidence
Finding

An ordinary API request can initiate remote registration using silent/register flags and save returned identity information and bearer tokens locally. Server-side pet analysis explains network access, but does not by itself authorize undisclosed account creation and persistent credential storage.

Content

No source excerpt is available for this finding.

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

Medium
Category
Output Handling
Confidence
93% confidence
Finding

The request abstraction hides a separate login or registration operation, with credentials subsequently persisted by the surrounding flow. This creates account and storage side effects beyond the user's apparent request for pet analysis.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
91% confidence
Finding

This POST sends the selected identity to a separate login/registration endpoint as both openId and mobile. The surrounding code can select API_SECRET_KEY as that identity, causing a secret to be transmitted as ordinary account data rather than solely through its intended authentication mechanism; external pet processing does not justify that reuse.

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

YamlUtil.load creates parent directories and writes a configuration file when the requested path is absent, without a prompt, log, docstring, or explanatory comment disclosing this side effect. Because BaseEnum.init_subclass invokes this loader, merely importing the module can cause filesystem writes rather than only reading 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: