Back to skill

Security audit

Thermal Relative Fever Screening (Multi-Person Gathering) | 家庭多人聚集时体温相对异常检测

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this thermal-screening skill suspicious because scanners report undeclared account and credential handling, external data transmission, and video analysis that may run despite an export-only option.

Consider avoiding installation until the account handling, credential transmission, and external video processing are clearly explained and the export-only behavior is corrected. The scan was partial: a local reference was missing, so some behavior could not be assessed; the results do not establish malicious intent.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/smyx_thermal_fever_screening_analysis.py
Finding

Default CLI invocation discards upstream sender identity and reuses a shared account

Content
View full analysis

Impact

Different senders can receive reports belonging to the same fallback account, exposing other users' screening results and report links when that account contains their analyses. Analysis submissions can also be associated with the wrong account.

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 (28)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied chunk is a generic user-database module. It contains no camera access, thermal-image processing, temperature extraction, peer-average calculation, threshold comparison, or temperature-warning logic. Although database utilities can support a larger skill, this chunk specifically manages user identities and tokens without any demonstrated connection to the declared purpose. Its implemented capabilities are therefore materially different from the description. This finding is limited to the supplied code; no network transmission or token use is shown.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied chunk contains no thermal-camera access, person or facial-region analysis, temperature comparison, threshold evaluation, or relative-temperature alerts. General formatting and filesystem helpers could support the declared skill, but automatic account provisioning, credential handling, and payment-related behavior are substantial additional capabilities not represented in its description. These actions occur when the relevant utility methods are invoked; this chunk alone does not establish that they run automatically at startup or that the broader skill lacks temperature-analysis code.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied code is generic skill scaffolding with an unrelated, disabled AI-agent helper rather than the declared thermal-monitoring implementation. No subprocess is actually executed, and no camera access or temperature analysis is visible. Imported base classes and API-service implementations were not supplied, so their behavior cannot be assessed; the mismatch finding is limited to this code chunk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The supplied code contains no camera integration, person detection, temperature extraction, comparison logic, or alert generation. Network wrappers could support the declared system, but the download and user-lookup capabilities have no demonstrated connection to that purpose. As supplied, the chunk implements a general API client rather than the described thermal-monitoring behavior. Endpoint implementations and callers are absent, so specific data access, exfiltration, or malicious activity cannot be established.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

The supplied code implements a video-analysis API client and report-management interface rather than the stated temperature-monitoring behavior. File validation, API polling, and formatting could support the declared purpose, but the code neither requests nor implements the distinguishing thermal-analysis operations. Imported services might perform additional analysis, but their behavior is not supplied and cannot establish that the declared temperature workflow exists.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The main video-analysis workflow is consistent with the declared purpose, and URL input, report formatting, and file output are supporting implementation details. However, listing historical reports is an additional user-facing capability, with documented triggers absent from the declaration. The supplied chunk does not establish how reports are stored or whether the underlying temperature-analysis algorithm implements the stated comparisons.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The visible code delegates video analysis to skill.get_output_analysis and supports retrieving analysis history through skill.get_output_analysis_list using a resolved user identifier. It does not visibly acquire thermal-camera data, measure individual temperatures, calculate peer-relative differences, or apply an alert threshold. Those functions might exist in the imported implementation, which was not supplied, so their absence here alone is not conclusive. However, the explicit user-associated history capability is undeclared, and the supplied entry point exposes a materially different workflow from the stated automatic thermal monitoring.

Content

No source excerpt is available for this finding.

The request utility can forward platform credentials to arbitrary HTTP destinations.

High
Category
Excessive Agency
Confidence
99% confidence
Finding

The utility accepts arbitrary absolute HTTP or HTTPS URLs and automatically attaches platform access tokens, API keys, and authorization credentials without checking the destination. If an attacker can influence a caller's URL, credentials can be sent directly to an attacker-controlled host; plain HTTP also permits 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 analysis workflow lacks an explicit warning that sensitive thermal videos are processed by an external API service.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

Although the document mentions APIs and cloud reports, the local-file workflow does not clearly warn that the video itself is transmitted to an external processor or require informed authorization for that transfer. Thermal footage from homes, kindergartens, and nursing homes can reveal sensitive health and household information, making a generic participant-consent note insufficiently specific.

Content

No source excerpt is available for this finding.

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

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The parser advertises --export-env-only as not performing analysis, but the flag is never checked. When accompanied by a valid input, execution still reaches analysis and can transmit sensitive thermal footage 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

Local video contents are submitted to an analysis service without disclosure.

Medium
Category
Output Handling
Confidence
92% confidence
Finding

The implementation reads the complete local video into a multipart file payload and passes it to the analysis service without an upload-authorization check in this path. In this health-screening context, unclear disclosure of external processing can result in unintended transfer of sensitive footage rather than merely local analysis.

Content

No source excerpt is available for this finding.

The documented export-only mode does not prevent video analysis.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The export-only option is parsed but never used to change control flow, so a valid input still invokes remote video analysis. A user or automation relying on the documented no-analysis guarantee can unintentionally upload private footage.

Content

No source excerpt is available for this finding.

The service exposes username-based user lookup, which is unrelated to the declared thermal-screening purpose.

Medium
Category
Excessive Agency
Confidence
91% confidence
Finding

The get_user_by_username method delegates a supplied username to a user-lookup utility. The manifest describes comparing people's skin temperatures within a scene and issuing relative-temperature alerts; it does not describe account lookup or identity enrichment.

Content

No source excerpt is available for this finding.

The skill includes persistent user-profile and credential management unrelated to relative thermal screening.

Medium
Category
Excessive Agency
Confidence
93% confidence
Finding

The user model supports persistent personal information and plaintext bearer-token fields, and the surrounding DAO writes these to a workspace-shared SQLite database without visible credential-specific protection. Identity-linked credential storage expands the exposure of a thermal-screening skill, although declaring these fields alone does not prove every profile field is populated.

Content

No source excerpt is available for this finding.

ai_chat documents invoking the analysis agent, but its implementation never invokes it or returns an analysis result.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The docstring at L25–L34 promises a subprocess call to openclaw agent and an analysis result or session ID. However, the subprocess invocation is commented out, and the empty dictionary assigned at L68 raises an AttributeError at L70; the exception handler then allows the method to return None. This contradicts the documented analysis behavior rather than merely using a different implementation.

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

Opening a path in 'w' mode immediately erases existing contents, even before the caller writes anything. This generically named helper has no docstring, explanatory comment, confirmation, or operation log disclosing that behavior; its exception handler only runs after a failure.

Content

No source excerpt is available for this finding.

Thermal analysis requests can silently register a remote account and persist authentication credentials.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

An ordinary request can trigger a silent registration/login request and persist the returned authentication tokens through UserDao.save. This introduces remote identity processing and durable credentials without an explicit registration step, which is particularly sensitive for a health-adjacent screening workflow.

Content

No source excerpt is available for this finding.

HTTP requests can silently trigger remote user registration and identity transmission.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The helper sets both silent and register flags and sends the current identifier as openId and mobile to a remote login endpoint. Invoking a generic HTTP operation can therefore create an account and disclose identity information without a separate user-facing authorization step.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
95% confidence
Finding

The external POST transmits the selected identity and skill-source information as part of automatic registration; external networking alone would not establish a vulnerability. Here the undisclosed side effect is the concern, and the identifier can come from configuration or existing identity state rather than only a newly generated pseudonym.

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

YamlUtil.load creates parent directories and writes a YAML file when the requested path is absent, without a prompt, log, comment, or docstring disclosing this side effect. BaseEnum.init_subclass invokes this loader during class definition (L053 and L058), so merely importing the module can modify the filesystem.

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()