Back to skill

Security audit

ppt-prompt-distiller

Security checks for vulnerabilities and agentic risk

Overview

This is a prompt-generation skill with no executable behavior, but users should verify any generated security or compliance claims.

Install only if you want a Chinese-first PPT prompt distiller. Review outputs before reuse, especially security, compliance, approval, audit, or corporate endorsement statements; provide verified source details instead of relying on the included trust-banner example.

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
references/03-components-syntax.md:68
Finding
Generation of an Unverified Corporate Security Attestation## Vulnerability Details **File Location**: `references/03-components-syntax.md`, lines 68–73 **Vulnerability Type**: Unverified compliance and security claim embedded in a reusable output template **Risk Level**: Medium **Relevant snippet** (English translation of the source): ```markdown ### Type I - Security/Trust Banner - **Format**: `🔒 [Security statement/compliance label/trust mark]` - **Style**: Lock/shield icon, serious but not frightening - **Applicable to**: Security compliance/risk control/privacy statements/closing trust loop - **Example**: `🔒 All the above standards have passed the Ping An Group security review` ``` ### Technical Analysis The reusable Type I presentation component includes a concrete assertion that material has passed a Ping An Group security review. The template does not require the user to supply evidence, identify the scope or date of the review, or confirm authorization to use the corporate endorsement. Because the Skill routes security, compliance, privacy, and trust-oriented pages toward this component, the example may be reproduced or adapted as if it were a verified fact. The surrounding rules also encourage authoritative and trust-building language, increasing the likelihood that generated material will present the statement as an actual attestation rather than illustrative placeholder text. This is a content-integrity weakness rather than a code-execution vulnerability. It does not grant filesystem access, network access, elevated privileges, or control over the host. Its security relevance is the possibility of producing a false or unsupported representation of formal corporate review. ### Attack Path 1. A user requests prompts for a security, privacy, compliance, risk-control, or trust-oriented presentation. 2. The Skill selects or recommends the Type I security/trust banner. 3. The model uses the supplied Ping An Group security-review statement as an output example. 4. Th ...[truncated 863 chars]
Remediation
## Remediation Suggestions 1. Replace the concrete corporate assertion with a neutral placeholder: ```markdown - **Example**: `🔒 [Insert verified compliance status, approving organization, scope, and source]` ``` 2. Add an explicit validation rule stating that approval, audit, certification, compliance, and security-review claims may only be generated when the user provides: - The approving organization - The precise assessment or certification - The reviewed scope - The approval date or validity period - A verifiable source or internal reference - Authorization to display the claim 3. Require uncertain statements to be labeled clearly as proposed, pending, illustrative, or target-state content. 4. Prohibit the model from inferring endorsement from the selected branding track, presentation style, or organization name. 5. Add a quality-control check that rejects unsupported claims containing phrases such as “security approved,” “certified,” “audited,” “compliant,” or “review passed.” 6. Keep trust banners factual and scoped. For example: ```markdown 🔒 Security review status: Pending verification ``` 7. Add provenance metadata or a visible citation to every verified security or compliance assertion included in generated presentation content.
Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Vague Triggers

Medium
Confidence
92% confidence
Finding
The trigger list includes very generic phrases such as “蒸馏” and “转提示词,” which can appear in normal user conversations and may cause unintended activation of the skill. In an agent environment, accidental invocation can redirect user input into this skill’s workflow, causing confusing behavior, prompt hijacking of the interaction flow, or unintended processing of sensitive material pasted in a different context.

Natural-Language Policy Violations

Medium
Confidence
88% confidence
Finding
The skill is written to operate in Chinese throughout, without offering language negotiation or documenting that it is intentionally limited to Chinese-speaking users. This can cause misunderstanding of outputs, parameter confirmation failures, or misinterpretation of prompts for users interacting in other languages, reducing reliability and increasing the chance of unsafe or unintended downstream use.

Vague Triggers

Medium
Confidence
96% confidence
Finding
The trigger list is broad and generic, using common terms like '蒸馏', '转提示词', and '生成PPT提示词' that may match many unrelated user requests. This can cause unintended invocation of the skill, unexpectedly routing user content into a prompt-generation workflow and potentially exposing sensitive text or producing actions the user did not explicitly request.

Natural-Language Policy Violations

Medium
Confidence
93% confidence
Finding
The title and the document content prescribe the skill's visual identity system entirely in Chinese, and multiple requirements use mandatory language such as '必须' without any indication that users may choose another language or locale. Under the policy, forcing a specific language without opt-in is a natural-language policy violation unless the locale restriction is explicitly documented and justified.

Natural-Language Policy Violations

Medium
Confidence
93% confidence
Finding
This markdown file contains natural-language instructions that require Chinese punctuation for titles/body text and prescribe Chinese-specific formatting conventions. Because the guidance is framed as mandatory and does not offer opt-in or explain a justified locale restriction, it can violate the language/locale policy requirement.

Natural-Language Policy Violations

Low
Confidence
88% confidence
Finding
The description states that the positive prompt is an English prompt for image-generation tools, but there is no indication that users can opt into another output language. This creates a language-policy concern because the skill appears to force a specific language regardless of user preference.

Natural-Language Policy Violations

Low
Confidence
88% confidence
Finding
该文件以中文标题和中文指令性内容呈现,且未说明这是面向特定中文受众或区域场景的限定资料。根据语言/locale 政策,若技能内容隐含强制单一语言而无用户选择或明确正当性,属于自然语言策略违规。

Static analysis

No suspicious patterns detected.