Back to skill

Security audit

Cat Litter Box Waste Characteristic Recognition Tool | 宠物猫砂盆排泄物性状识别

Security checks for vulnerabilities and agentic risk

Overview

The skill is broadly aligned with pet litter-box media analysis, but it silently links requests to an account and handles credentials/media in ways that need review before installation.

Install only after reviewing the backend operator and configuration. This skill uploads or submits media/URLs to remote services, creates or reuses an internal account identity, retrieves cloud history, and stores service tokens locally; the publisher should fix HTTPS-only endpoint selection, credential origin allowlisting, and token storage before normal use.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (4)

T09 · Insecure Skill Coding Practices

Error
Location
skills/smyx_common/scripts/config-dev.yaml:2
Finding

Enabled Development Configuration Transmits Media, Identity Data, and Authentication Credentials over Plaintext HTTP

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
skills/smyx_common/scripts/dao.py:460
Finding

Authentication Tokens Are Persisted Unencrypted in a Shared Workspace SQLite Database

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
skills/smyx_common/scripts/util.py:572
Finding

Authenticated Request Utility Forwards Credentials to Arbitrary Absolute URLs

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
skills/smyx_analysis/requirements.txt:3
Finding

Analysis Dependency Manifest Uses an Inconsistent Package Name for YAML Support

Content
View full analysis
Remediation
View remediation
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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • YARA SignaturesMalware Match, Webshell Match, Cryptominer Match
Findings (48)

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The supplied behavior summary indicates the skill reads local workspace identity files, creates directories and default identities, logs into remote services, stores tokens, and handles payment/account flows unrelated to litter-box analysis. This is dangerous because it covertly mixes authentication, identity persistence, and broad backend access into a skill users would reasonably expect to only analyze pet media.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied behavior summary indicates the skill reads local workspace identity files, creates directories and default identities, logs into remote services, stores tokens, and handles payment/account flows unrelated to litter-box analysis. This is dangerous because it covertly mixes authentication, identity persistence, and broad backend access into a skill users would reasonably expect to only analyze pet media.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied behavior summary indicates the skill reads local workspace identity files, creates directories and default identities, logs into remote services, stores tokens, and handles payment/account flows unrelated to litter-box analysis. This is dangerous because it covertly mixes authentication, identity persistence, and broad backend access into a skill users would reasonably expect to only analyze pet media.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied behavior summary indicates the skill reads local workspace identity files, creates directories and default identities, logs into remote services, stores tokens, and handles payment/account flows unrelated to litter-box analysis. This is dangerous because it covertly mixes authentication, identity persistence, and broad backend access into a skill users would reasonably expect to only analyze pet media.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied behavior summary indicates the skill reads local workspace identity files, creates directories and default identities, logs into remote services, stores tokens, and handles payment/account flows unrelated to litter-box analysis. This is dangerous because it covertly mixes authentication, identity persistence, and broad backend access into a skill users would reasonably expect to only analyze pet media.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied behavior summary indicates the skill reads local workspace identity files, creates directories and default identities, logs into remote services, stores tokens, and handles payment/account flows unrelated to litter-box analysis. This is dangerous because it covertly mixes authentication, identity persistence, and broad backend access into a skill users would reasonably expect to only analyze pet media.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied behavior summary indicates the skill reads local workspace identity files, creates directories and default identities, logs into remote services, stores tokens, and handles payment/account flows unrelated to litter-box analysis. This is dangerous because it covertly mixes authentication, identity persistence, and broad backend access into a skill users would reasonably expect to only analyze pet media.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied behavior summary indicates the skill reads local workspace identity files, creates directories and default identities, logs into remote services, stores tokens, and handles payment/account flows unrelated to litter-box analysis. This is dangerous because it covertly mixes authentication, identity persistence, and broad backend access into a skill users would reasonably expect to only analyze pet media.

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-litter-box-waste-analysis"
description: "Triggers when a user provides a cat litter box area video URL or file for analysis; supports local video uploads or network URLs to call server-side APIs for waste characteristic recognition, analyzing feces morphology (loose stool, bloody stool, dry hard stool) and urine clump size to identify urinary and digestive system abnormalities, outputting health risk alerts (without diagnosing diseases). Application scenarios: smart litter boxes, multi-cat household health monitoring. Development reason: early signs of urinary diseases, a pain point for multi-cat households. | 当用户

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The HTTP helper silently performs phone-login/registration, retrieves tokens, stores them locally, and automatically attaches them to subsequent requests. For a pet waste analysis skill, this is overbroad and dangerous because it can create external accounts and transmit identity/authentication data without an explicit, task-specific need or clear user approval.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill declares no explicit tool restrictions even though the manifest instructs use of shell, file access, network access, and environment-dependent behavior. In an agent environment, missing least-privilege scoping increases the blast radius if the skill is invoked unexpectedly or if downstream scripts behave unsafely.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill states that local files or URLs are processed by server-side APIs, but it does not present a clear privacy warning about third-party/cloud transfer in the user-facing description. This creates a consent and data-handling risk because users may upload home environment videos without realizing they will be sent off-device.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The auto-trigger phrases for historical report retrieval are broad enough that normal conversation could invoke cloud report listing unintentionally. In a skill that also auto-associates internal identity and directly queries cloud data, overbroad triggers increase the chance of inadvertent disclosure of historical records.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The method returns a fixed Chinese string for the output header, with no indication that the user can choose the language or locale. This can violate language/locale policy when a skill enforces a specific language by default without documented opt-in or justification.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill includes a record-listing capability tied to an internal open_id, which goes beyond the stated purpose of analyzing a provided video. If exposed through the agent or invoked in the wrong context, it could reveal prior health-analysis records and associated sensitive behavioral or medical inferences without clear user intent or authorization boundaries.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest describes a skill focused on analyzing cat litter box area videos for feline waste characteristics and related health risks. However, the CLI exposes a pet-type option with values 'cat', 'dog', and 'other', broadening the skill beyond the stated cat-specific scope.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

Sensitive identity resolution occurs automatically and without any user-facing notice, which undermines transparency for a health-adjacent monitoring skill. Because the skill handles pet waste analysis that can imply health conditions, undisclosed identity linkage raises privacy risk and can lead to retention or correlation of sensitive data under an internal identifier.

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

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill accepts either a local file or a remote video URL and forwards that user-supplied content to a backend analysis service via self.analysis(...), but this file provides no user-facing notice, consent checkpoint, or minimization control before transmission. In a pet-health monitoring context, uploaded videos may contain sensitive household imagery or metadata, so silent transfer to a server-side service creates a real privacy and data-handling risk even if there is no direct code execution issue.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill exposes a history-list retrieval path via show_analyze_list(open_id) that is not described in the stated trigger behavior, expanding functionality from one-shot video analysis into account-linked data retrieval. Undocumented retrieval features increase the risk of unauthorized access to prior analysis records, especially because the call is keyed by user identity and there is no visible authorization check in this file.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The code resolves a hidden open_id context and uses CURRENT__OPEN_ID to fetch account-scoped history without making that identity flow visible to the user. In a pet waste video-analysis skill, silently binding requests to a user identifier is not necessary for the immediate analysis task and creates privacy and cross-account access risk if identity resolution is spoofed, stale, or overly trusted.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The manifest describes a narrowly scoped video-analysis skill for cat litter box waste characteristics. In this file, the shared configuration layer reads external environment variables for sender/open IDs and usernames, which is not an obvious requirement for feces/urine video analysis itself and introduces identity-context access beyond the stated purpose.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

This code reads user- and identity-related environment variables (OPENCLAW_SENDER_OPEN_ID, OPENCLAW_SENDER_USERNAME, FEISHU_OPEN_ID) and uses them to populate runtime state, but there is no confirmation prompt, logging, comment, or docstring disclosing that sensitive environment data is being accessed. For code files, credential or identity-related environment access should have some visible disclosure unless it is clearly documented elsewhere in the skill description, which is not present in this file.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The manifest claims a specific capability: analyzing cat litter box waste videos for health risk alerts. This file embeds a very large enumeration of scene codes spanning human surveillance, infant monitoring, driver monitoring, plant diagnostics, livestock analysis, and many unrelated pet and health scenarios, indicating the skill package carries broad capability-selection infrastructure not justified by the stated single-purpose skill.

Content

No source excerpt is available for this finding.