Back to skill

Security audit

Internal Comms Midea

Security checks for vulnerabilities and agentic risk

Overview

This is a text-only internal communications skill, but some templates tell the agent to broadly search company email, chat, calendars, and documents without clear user approval or source limits.

Install only if you intend to use it for Midea-style internal communications and can keep the agent's enterprise search tightly scoped. Before using newsletter, FAQ, or weekly-report workflows, provide approved channels, folders, date ranges, and audiences, and require review/redaction before sharing generated output.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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 (3)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
examples/3p-weekly-report.md:15
Finding

Overbroad Access to Internal Sources When Generating 3P Reports

Content
View full analysis
Obtain the required information from available sources whenever possible: > > - **Internal messaging**: Team members' project updates, preferably posts in large groups with many replies > - **Documents**: Highly viewed documents written by key team members > - **Email**: Relevant email threads with many replies > - **Calendar**: Important non-routine meetings, such as product reviews > > Attempt to gather as much context as possible, focusing on the reporting period: > > - Progress: Content from one week ago through today > - Plans: Content from today through the following week > - Problems: Content from one week ago through today The excerpt above is an English translation of the complete instruction segment at the cited location. ### Technical Analysis The template directs the Agent to search internal messaging, documents, email, and calendar data and to gather “as much context as possible.” Access is conditioned primarily on tool availability rather than explicit user authorization or a narrowly defined business scope. The instructions do not require the user to identify approved channels, mailboxes, document repositories, project identifiers, or individual records. They also do not exclude private messages, confidential documents, restricted meetings, executive communications, personal information, or information unrelated to the requested report. This violates least-privilege and data-minimization principles at the task-authorization level. The Agent might possess valid technical access through an integration while lacking a legitimate need to inspect every source reachable through that integration. ### Attack Path 1. A user asks the Agent to prepare a 3P weekly report for a team. 2. ...[truncated 1403 chars]
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
examples/company-newsletter.md:9
Finding

Unscoped Enterprise Data Collection for Company Newsletters

Content
View full analysis
## Tools to Use > > If access to the following tools is available, use them whenever possible. If access is unavailable, ask the user to provide the content they want covered. > > - **Internal messaging**: Find posts with many replies or reactions in large groups > - **Email**: Find company-wide announcement emails sent by executives > - **Calendar**: Find large meetings, such as all-hands meetings and major announcements; attached documents are useful link sources > - **Documents**: Find recently published and highly viewed documents, such as company vision plans, quarterly or semiannual plans, and executive strategy documents > - **External media**: Include relevant external news or reporting from the previous week The excerpt above is an English translation of the complete instruction segment at the cited location. ### Technical Analysis The newsletter template encourages the Agent to use internal tools whenever access is available and specifically targets executive email, high-interest internal messages, meeting attachments, and strategy documents. Availability of an integration is not equivalent to authorization to collect or republish every accessible item. This is especially risky because the intended output is a company-wide newsletter. The source audience and publication audience may differ significantly. A document accessible to the Agent or a limited executive group may not be approved for distribution to all employees. The template contains no publication-status check, confidentiality review, source-owner approval, audience comparison, or embargo handling. Popularity signals such as reply count, reactions, and view count do not establish that information is authorized for broader d ...[truncated 1275 chars]
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
examples/faq-answers.md:25
Finding

Excessive Internal Search Scope for FAQ Generation

Content
View full analysis
## Available Tools > > Use the company's available communication and collaboration tools: > > - **Internal messaging**: Questions receiving many replies in groups and questions receiving many reactions > - **Email**: Emails directly containing FAQ material are useful sources > - **Documents**: Internal documents and calendar attachments may also serve as FAQ sources > Ensure that the questions are comprehensive. Do not focus only on the requester or the requester's team; instead, attempt to capture concerns across the entire company. Read all available tools as comprehensively as possible and produce answers relevant to all employees. The excerpts above are English translations of the complete vulnerable instruction segments at the cited locations. ### Technical Analysis The FAQ template expressly instructs the Agent to read all available tools as comprehensively as possible and expand beyond the requesting user or team to company-wide concerns. This creates an unbounded discovery mandate across internal messages, email, documents, and calendar attachments. FAQ subject areas identified elsewhere in the template include organizational changes, executive changes, recruiting, strategy, compensation, and benefits. These topics frequently contain personal, confidential, legally sensitive, or pre-announcement information. Although the template advises relying on official communications and marking uncertainty, it does not limit collection to officially published sources or prevent sensitive data from being discovered and summarized. The issue is not merely the output format. The vulnerable behavior begins when the Agent broadly searches internal systems without a user-approved scope and continues when i ...[truncated 1579 chars]
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (14)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 1)May include surrounding context.

md
---
name: internal-comms-midea
version: 1.1.1
description: "Draft Midea Group internal communications �� weekly/monthly reports, project updates, incident re..."

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill mandates a specific organizational communication style ('符合美的集团文化规范') without requiring user consent. If auto-applied, it can override the user's preferred tone, audience, or neutrality requirements and inappropriately imprint company-specific norms onto generic content.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The activation criteria are broad enough to cover many generic internal-writing requests, which can cause the skill to trigger when the user did not explicitly ask for Midea-specific internal communications. That can steer responses toward organization-specific templates and assumptions, creating context hijacking and reducing user control over output style and scope.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill instructions are written to require producing a weekly report in Chinese, and the formatting section reinforces Chinese field labels. There is no indication that the user can choose another language or that the restriction is justified by a region-specific requirement.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill explicitly directs the agent to gather information from mail, calendars, documents, and team updates, which are common sources of sensitive personal, operational, and confidential business data. It provides no requirement for user consent, least-privilege access, data minimization, or warning before accessing those sources, creating a real privacy and over-collection risk in normal use.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The instructions are written as a mandatory Chinese-language workflow for drafting the newsletter, and the template content is also in Chinese. There is no indication that users may choose another language or that the skill is intentionally restricted to a Chinese-speaking audience or region.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill explicitly directs the agent to access internal messaging, email, calendar, documents, and possibly external media to compile a company-wide newsletter, but it does not require user consent, scope limitation, or any privacy notice before retrieving potentially sensitive internal content. In an enterprise environment, this can lead to over-collection and disclosure of confidential or personal information from broad internal sources, especially when the output is intended for mass distribution.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The instruction explicitly states in Chinese that the agent is required to draft a cross-department collaboration email, and the rest of the template is written only in Chinese. This imposes a specific language/locale on users without any opt-in or explanation that the skill is intended only for a Chinese-language context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The file’s core instructions are written as a direct requirement in Chinese, telling the assistant to act in that language/context, but there is no indication that users may choose another language. This creates a natural-language locale policy concern because it imposes a specific language without explicit opt-in or a documented business justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

This markdown file applies to all file types for natural-language policy checks. The instructions and examples are entirely Chinese and prescribe specific communication conventions, but the file does not offer the user any language or locale choice or explain that the skill is intentionally limited to a Chinese-language/internal China context.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The template explicitly collects personally identifiable information such as names and encourages documenting affected systems, customers, and impact details, but provides no guidance on data minimization, access control, or redaction. In an incident-reporting context, this can lead users to record and share sensitive operational or personal data in broadly accessible documents, increasing the risk of privacy breaches and secondary disclosure.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The attachment section asks for logs, screenshots, and data artifacts without any warning to sanitize secrets, tokens, personal data, or confidential business information before inclusion. Because incident artifacts often contain credentials, internal URLs, customer records, and system details, this template can normalize unsafe sharing of highly sensitive material.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The package description is entirely in Chinese and describes the skill as internal communication document templates for Midea Group, with no indication that other languages are supported or that Chinese output is optional. This can constitute a language/locale policy violation because it implicitly fixes the skill's language behavior without documented user choice or justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

This markdown file contains user-facing instructions and placeholders exclusively in Chinese, which can constitute a language/locale policy violation under the stated rules when no user opt-in or alternative language choice is provided. There is no indication that the template is intentionally limited to a Chinese-speaking or region-specific context.

Content

No source excerpt is available for this finding.