Back to skill

Security audit

Pet Eating Speed Slow Feed Analysis | 宠物进食速度检测与慢食干预

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious with high confidence because scanners report credential and identity handling, extra account and data-management features, and options that may process video despite promising not to; this is not a finding of malicious intent.

Consider the suspicious verdict and the reported credential, identity, and video-sharing concerns before installing. The scan was partial: it inspected the listed components, but one local reference was missing, so behavior tied to that reference could not be fully assessed. The scanners did 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
  • 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 (23)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied chunk centers on the sys_user table and supports querying, creating, updating, and deleting user records containing names, email addresses, birthdays, and tokens. It contains no video ingestion, analysis API calls, feeding-event tracking, speed calculations, or intervention signaling. Database persistence can be a supporting implementation detail, but this chunk specifically implements user/account management without a demonstrated connection to the declared purpose. This assessment is limited to the supplied code; it does not establish what other skill components implement or imply malicious behavior.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

The video-analysis entry point is consistent with the declared purpose, and delegation to imported code is not itself a mismatch. However, --list invokes get_output_analysis_list(open_id=...) and exits without requiring video input. This is a separate historical-analysis retrieval capability not disclosed in the description. Identity resolution and optional file output are supporting implementation details, not independent grounds for the finding. The absent imported implementation prevents verification of eating-speed calculations or intervention signals; their absence from this wrapper 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-eating-speed-slow-feed-analysis"
description: "Triggers when a user provides a video of the pet food-bowl area for analysis; supports local uploads or network URLs to call server-side APIs for eating-speed detection, recording start/end timestamps of feeding, estimating eating speed (g/s and seconds-per-bowl), and when the speed falls below the safety threshold (e.g. < 30 sec/bowl) emitting an intervention signal (slow-feed baffle pop-up or voice prompt) to prevent choking and vomiting (without diagnosing diseases). Application scenarios: smart slow-feeder bowls, pet health management, canine care. | 当用户提供食盆区�

The request helper attaches service credentials and user identity to arbitrary absolute URL destinations.

High
Category
Excessive Agency
Confidence
98% confidence
Finding

The helper accepts arbitrary absolute HTTP or HTTPS destinations while automatically attaching access tokens, an API key, authorization credentials, and user identity. If an untrusted destination reaches this helper, it can receive those secrets; HTTP also exposes them in transit. Support for user-provided video URLs makes destination separation particularly important, although the supplied source does not establish that those URLs directly reach this method.

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 documented export-only mode still executes video analysis.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The parser advertises --export-env-only as avoiding analysis, but execution never checks the flag and continues into identity initialization and analysis when input is supplied. A caller relying on this non-analysis mode can inadvertently upload private household video or initiate remote processing.

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 disclosing the upload to the user.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

The code reads the entire local file, packages its contents as an upload, and passes it to the analysis API. No prompt, user-facing message, or comment explains that local video data is transmitted to a service; the comment only describes reading the file.

Content

No source excerpt is available for this finding.

The documented export-only mode still performs video analysis.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The --export-env-only argument promises not to execute analysis, but its value is never checked before the normal processing path. With a supplied input, a configuration-only invocation can instead send video for remote analysis, violating the caller's intended data-sharing boundary.

Content

No source excerpt is available for this finding.

The service exposes username-based user lookup unrelated to pet feeding analysis.

Medium
Category
Excessive Agency
Confidence
87% confidence
Finding

Lines L098–L101 implement a user-lookup capability by forwarding a supplied username to RequestUtil.get_user_by_username. Looking up user accounts is not a direct requirement of the declared video analysis, feeding-speed calculation, or intervention functionality, and the manifest does not describe account lookup.

Content

No source excerpt is available for this finding.

save() is documented as creating a new record but can overwrite an existing record instead.

Medium
Category
Excessive Agency
Confidence
96% confidence
Finding

A failed insert is silently converted into an update by ID or username, even though save() is documented as creating a record. For user records, the fallback can replace identity fields and authentication tokens on an existing account; matching username against realname further increases ambiguity if supplied records can influence those fields.

Content

No source excerpt is available for this finding.

FileUtil.open silently truncates existing files without disclosing its destructive write mode.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The generically named open helper uses mode 'w', which immediately erases an existing file's contents even if the caller never writes anything. No docstring, explanatory comment, confirmation, or user-facing log discloses this behavior; exception tracing does not disclose successful truncation.

Content

No source excerpt is available for this finding.

API requests can silently register a remote account and persist its credentials, beyond the declared video-analysis workflow.

Medium
Category
Excessive Agency
Confidence
91% confidence
Finding

When credentials are missing, an ordinary API request can silently submit a user identifier with register=1 and persist returned account credentials through UserDao. Server-side video analysis reasonably requires authentication, but automatic account creation and persistent identity linkage are additional privacy-relevant effects without an explicit authorization gate in this code.

Content

No source excerpt is available for this finding.

HTTP authentication silently sends a user identifier to a remote service and requests account registration.

Medium
Category
Output Handling
Confidence
91% confidence
Finding

Authentication sends the selected identifier as both openId and mobile while requesting silent registration. This can disclose and persist a linkable identity beyond the stated video-analysis operation; it is the same underlying provisioning issue described by SDI-1, not a separate exploit.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
83% confidence
Finding

External API transmission is expected for this skill, so requests.post alone is not suspicious. Here, however, the transmitted payload specifically requests silent account registration using a user identifier without an explicit provisioning authorization check, making this another manifestation of the privacy issue above rather than evidence of a malicious 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 without disclosing the write side effect.

Low
Category
Output Handling
Confidence
94% confidence
Finding

YamlUtil.load creates parent directories and writes a YAML file when the requested configuration is missing, but provides no explanatory comment, docstring, confirmation, or log. Because BaseEnum.init_subclass calls this loader during class creation (L053 and L058), importing the module can modify the filesystem even though the operation appears to be configuration loading.

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 documents an agent invocation but never executes it or produces an analysis result.

Low
Category
Excessive Agency
Confidence
99% confidence
Finding

The docstring at L26 explicitly claims that ai_chat invokes the openclaw agent through subprocess. However, the invocation is commented out at L61–L66, and the empty dictionary assigned at L68 causes result.stderr at L70 to raise an exception that is caught, so the function returns None without performing the documented analysis.

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