Back to skill

Security audit

Public Place Group Emotion Index (Exhibition / Mall) | 公共场所群体情绪指数(展览/商场)

Security checks for vulnerabilities and agentic risk

Overview

The skill is a public-camera emotion-analysis tool that sends sensitive media to an external service and silently creates or reuses persistent account credentials.

Review this before installing. Only use it if you are comfortable sending public-camera images or videos to the configured external service, creating or reusing a persistent service identity, and storing associated tokens in the workspace database. Confirm consent, signage, retention, and privacy requirements for any public-place footage.

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
  • 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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (57)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to perform authenticated external requests, local file operations, identity creation/retrieval, and persistent token/user storage despite being presented as anonymous crowd emotion analysis. In this context, undeclared identity and persistence features are especially dangerous because public-place video is highly sensitive and may involve biometric inferences.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to perform authenticated external requests, local file operations, identity creation/retrieval, and persistent token/user storage despite being presented as anonymous crowd emotion analysis. In this context, undeclared identity and persistence features are especially dangerous because public-place video is highly sensitive and may involve biometric inferences.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to perform authenticated external requests, local file operations, identity creation/retrieval, and persistent token/user storage despite being presented as anonymous crowd emotion analysis. In this context, undeclared identity and persistence features are especially dangerous because public-place video is highly sensitive and may involve biometric inferences.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to perform authenticated external requests, local file operations, identity creation/retrieval, and persistent token/user storage despite being presented as anonymous crowd emotion analysis. In this context, undeclared identity and persistence features are especially dangerous because public-place video is highly sensitive and may involve biometric inferences.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to perform authenticated external requests, local file operations, identity creation/retrieval, and persistent token/user storage despite being presented as anonymous crowd emotion analysis. In this context, undeclared identity and persistence features are especially dangerous because public-place video is highly sensitive and may involve biometric inferences.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to perform authenticated external requests, local file operations, identity creation/retrieval, and persistent token/user storage despite being presented as anonymous crowd emotion analysis. In this context, undeclared identity and persistence features are especially dangerous because public-place video is highly sensitive and may involve biometric inferences.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to perform authenticated external requests, local file operations, identity creation/retrieval, and persistent token/user storage despite being presented as anonymous crowd emotion analysis. In this context, undeclared identity and persistence features are especially dangerous because public-place video is highly sensitive and may involve biometric inferences.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to perform authenticated external requests, local file operations, identity creation/retrieval, and persistent token/user storage despite being presented as anonymous crowd emotion analysis. In this context, undeclared identity and persistence features are especially dangerous because public-place video is highly sensitive and may involve biometric inferences.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to perform authenticated external requests, local file operations, identity creation/retrieval, and persistent token/user storage despite being presented as anonymous crowd emotion analysis. In this context, undeclared identity and persistence features are especially dangerous because public-place video is highly sensitive and may involve biometric inferences.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to perform authenticated external requests, local file operations, identity creation/retrieval, and persistent token/user storage despite being presented as anonymous crowd emotion analysis. In this context, undeclared identity and persistence features are especially dangerous because public-place video is highly sensitive and may involve biometric inferences.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to perform authenticated external requests, local file operations, identity creation/retrieval, and persistent token/user storage despite being presented as anonymous crowd emotion analysis. In this context, undeclared identity and persistence features are especially dangerous because public-place video is highly sensitive and may involve biometric inferences.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill appears to perform authenticated external requests, local file operations, identity creation/retrieval, and persistent token/user storage despite being presented as anonymous crowd emotion analysis. In this context, undeclared identity and persistence features are especially dangerous because public-place video is highly sensitive and may involve biometric inferences.

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-public-place-group-emotion-index-analysis"
description: "Using fixed cameras in malls, exhibition halls, scenic areas and other public places, the system analyzes facial expressions of multiple people in the scene in real time (with anonymized expression recognition only), aggregates the distribution of emotions (happy, calm, irritated, surprised, sad, fearful, etc.), and computes an overall group-emotion index (0-100; higher = more positive). | 通过商场、展览馆、景区等公共场所的固定摄像头,实时分析场景中多人的面部表情(使用匿名化表情识别),统计各类情绪(愉悦、平静、烦躁�

Missing User Warnings

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The description does not clearly warn users that local files or remote video URLs may be uploaded to an external/cloud API for analysis. Because the content involves public-place facial-expression footage, lack of explicit transfer disclosure significantly increases privacy, consent, and compliance risk.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The get_user_by_username method introduces user-identity lookup capability into a skill whose description emphasizes anonymous facial-expression analysis. That mismatch is especially concerning because it creates a path to correlate supposedly anonymized analytics with identifiable user records, undermining privacy expectations and expanding the system into identity-related data handling.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill manifest says the system performs anonymized group-emotion analysis in public places, but this module defines persistent user identity storage and mutation logic for sys_user records. That is a scope mismatch that expands the data footprint from anonymous analytics into identifiable account handling, increasing privacy, compliance, and insider-abuse risk without clear justification.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The User model stores username, realname, email, birthday, age, token, and open_token despite the manifest claiming anonymized facial-expression aggregation only. Token and identity storage materially increase the blast radius of compromise and are unjustified for a public-camera group-emotion skill, making the context substantially more dangerous from a privacy and surveillance perspective.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The code generates, persists, and reuses synthetic default user identities from local files and a database, despite the skill description emphasizing anonymized analysis. Persistent pseudo-identities can enable correlation across runs, silent account reuse, and user/activity tracking that exceeds the stated purpose.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The docstring frames the behavior as open-id initialization/default assignment, while the surrounding logic derives identities from a workspace file, database records, or generates new persistent usernames. In the context of a skill marketed as anonymous public emotion aggregation, this mismatch is dangerous because it conceals non-anonymous identity handling and undermines privacy expectations.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

This utility performs token-backed login and implicit account provisioning that are unrelated to the manifest's claimed anonymous group-emotion analytics scope. That creates hidden identity establishment and outbound data flows, increasing the risk of undisclosed tracking, backend account creation, and transmission of user-linked identifiers to external services.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill advertises and operationalizes shell, file, network, and environment access without declaring any explicit tool scope or permissions boundary. This increases the risk of over-privileged execution, especially because the workflow instructs the agent to run local scripts, read/write files, and contact external services.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The default trigger activates on broadly defined public-place video analysis requests, which increases the chance that the skill runs unexpectedly on sensitive media. In a skill that uploads or processes surveillance-like footage, overbroad activation materially raises privacy and data-transfer risk.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The keyword trigger list includes broad and ambiguous terms that could match ordinary requests unrelated to this specialized surveillance-oriented analysis. That can cause unintended activation, unnecessary cloud uploads, or access to historical reports without sufficiently specific user intent.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill states that it will automatically create or reuse internal user identities, even though the advertised purpose is anonymous group emotion analysis. Hidden identity bootstrap and linkage create an unnecessary privacy risk and make historical activity easier to associate across sessions without user awareness.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This code hard-codes user-facing help text and runtime messages in Chinese, including the argparse description and error/progress output. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale restriction is explicitly justified.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.install_untrusted_source

Install source points to URL shortener or raw IP.

Warn
Code
suspicious.install_untrusted_source
Location
skills/smyx_common/scripts/config-dev.yaml:2