Back to skill

Security audit

Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marked this skill suspicious because scanners report privacy and behavior mismatches, unnecessary account and data handling, and actions that can occur despite an export-only selection.

Consider the verdict suspicious and review the concerns before installing. In particular, check whether you are comfortable with external processing of call or video content, account registration and local token storage, and the reported behavior of export-only mode. The scan completed across all listed components, but dependency inspection was not requested, so dependency risks were not assessed.

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

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The visible code does not implement or successfully delegate the declared anti-fraud workflow. The subprocess invocation is disabled, and the replacement dictionary cannot provide the stderr or stdout attributes the method expects. Imported base classes and services could contain additional functionality, but their implementations are not supplied and cannot establish the declared behavior. No active subprocess execution or other undeclared external action is demonstrated.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

Generic formatting, polling, and HTTP helpers can reasonably support fraud analysis and are not themselves mismatches. However, this chunk also implements an undeclared account-registration, identity-persistence, authentication, and billing workflow that goes materially beyond the stated call-analysis purpose. The HTTP wrapper adds authentication headers without restricting absolute URLs to the configured service host, creating an additional credential-disclosure risk if an untrusted URL reaches it. These behaviors are conditional on the helpers being invoked; the chunk does not prove that call content is transmitted or that fraud analysis is absent elsewhere.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The supplied chunk contains no call-content analysis, scam detection, risk scoring, or report generation. Generic database access could support the declared skill, but this implementation specifically manages user identities and credentials without a demonstrated connection to anti-fraud analysis. Its concrete capabilities therefore materially differ from the declared purpose. This finding is limited to the supplied chunk; it does not establish what other skill components do or imply that stored data is transmitted externally.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The visible interface, argument descriptions, and status messages consistently identify this as a video-analysis tool. It also exposes a history-listing operation keyed to a resolved user identifier. No visible code specifies scam detection, fraud classification, risk scoring, or anti-fraud report generation. Those functions could exist in the imported skill implementation, which was not supplied, but the provided chunk does not establish that connection and presents materially different capabilities. Output-file writing and API delegation are supporting implementation details, not independently treated as mismatches.

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: "fraud-call-identification-analysis"
description: "Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具,针对来电通话内容进行多维度风险分析,智能识别诈骗话术,判断是否为诈骗电话并评估风险等级,输出反诈卫士分析报告"
version: "1.0.28"
license: "MIT-0"
---

# 📞 Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具
> **智能分析中枢** · 图片/视频智能分析 ·

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 does not require an explicit fraud-analysis request.

Medium
Category
Trigger Abuse
Confidence
88% confidence
Finding

The default trigger treats a general request to analyze call material as authorization to run this fraud-analysis skill, without requiring fraud-analysis intent. Because the workflow uses a cloud API, this can send sensitive conversations for an unintended purpose or to an unexpected processor.

Content

No source excerpt is available for this finding.

The analysis workflow lacks a privacy warning about sending call content to an external API.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The workflow directs API-based processing without a clear user-facing disclosure that call recordings or transcripts leave the local environment. Such material can contain financial details, identifiers, and third-party speech, making undisclosed external processing a meaningful privacy risk.

Content

No source excerpt is available for this finding.

The documented export-only mode still executes call analysis.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The parser promises that --export-env-only will not execute analysis, but the parsed flag is never checked. With an input present, execution still initializes identity and invokes analysis, potentially transmitting sensitive call material despite the user's explicit non-analysis selection.

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 disclosure of the upload.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

The method reads the entire local media file and passes its bytes to the analysis API without a disclosure or consent gate in this execution path. File-format and size validation do not address authorization to disclose potentially private recordings to an external processor.

Content

No source excerpt is available for this finding.

The --export-env-only option promises not to perform analysis, but the code ignores it and executes analysis normally.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The --export-env-only flag is accepted but never consulted, so providing it alongside media input still invokes video analysis. This violates an explicit no-analysis expectation and can cause unintended media disclosure or service usage.

Content

No source excerpt is available for this finding.

The service exposes caller-directed HTTP PUT and DELETE capabilities beyond the stated call-analysis and reporting purpose.

Medium
Category
Excessive Agency
Confidence
83% confidence
Finding

At L077–L081 and L091–L095, the service forwards caller-supplied URLs and arguments to HTTP PUT and DELETE helpers. Unlike submitting call content for analysis or retrieving reports, these unrestricted request capabilities have no stated role in fraud-call identification. The destination resources and resulting server-side effects are not shown, so this establishes an unnecessary capability rather than a confirmed modification or deletion.

Content

No source excerpt is available for this finding.

DAO initialization creates and migrates a shared user database unrelated to the declared call-analysis workflow.

Medium
Category
Excessive Agency
Confidence
94% confidence
Finding

The manifest describes analyzing call content and producing fraud-risk reports, not managing user records. Initializing this DAO invokes table creation and an unconditional migration routine that adds missing source_id and realname columns to sys_user (L180-L215); the registered User model also includes personal information and token fields (L448-L465). These operations modify the workspace database's user schema rather than storing or analyzing call-risk results, and that capability is not justified by the stated purpose.

Content

No source excerpt is available for this finding.

The generic file-opening helper silently truncates existing files.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

FileUtil.open always uses write mode ('w'), which immediately truncates an existing file. The helper has no docstring, comment, confirmation, or action-specific log disclosing this destructive behavior; exception tracing does not warn about successful truncation.

Content

No source excerpt is available for this finding.

The HTTP helper silently requests account registration and persists returned account tokens, beyond the declared call-analysis purpose.

Medium
Category
Excessive Agency
Confidence
89% confidence
Finding

An ordinary HTTP operation can implicitly invoke a remote endpoint with registration enabled, disclose the selected identity, and persist returned authentication tokens through UserDao. This creates undisclosed account and credential-storage side effects for a call-analysis skill, whose sensitive workflow does not itself imply consent to registration.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
92% confidence
Finding

The login request transmits the selected username as both openId and mobile, and the surrounding code preferentially selects ApiEnum.API_SECRET_KEY as that username when it is configured. Consequently, when token provisioning runs, a secret can be copied into identity fields at the login service, potentially exposing it to identity storage and logging systems beyond its intended authentication use.

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"):

HTTP requests can silently register a remote account and persist authentication tokens locally.

Medium
Category
Output Handling
Confidence
89% confidence
Finding

When credentials are missing, this branch obtains account credentials and saves token-bearing user data locally without a distinct provisioning step. It is the same underlying issue as the registration finding: a transport helper unexpectedly changes remote account state and establishes persistent local credential storage.

Content

No source excerpt is available for this finding.

Configuration loading silently creates directories and files, including during module import.

Low
Category
Output Handling
Confidence
94% confidence
Finding

At L017–L020, YamlUtil.load creates parent directories and writes a configuration file when the requested file is absent, without a comment, docstring, log, or confirmation disclosing this side effect. BaseEnum.init_subclass invokes this loader at L052–L053 when the module's subclasses are defined, 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 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/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/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