Back to skill

Security audit

description: 将用户讲稿一键生成乔布斯风极简科技感竖屏HTML演示稿。当用户需要生成PPT、演示文稿、Slides、幻灯片,或要求科技风/极简风/乔布斯风格的演示时触发此技能。输出为单个可直接运行的HTML文件。

Security checks for vulnerabilities and agentic risk

Overview

This skill coherently generates Chinese vertical HTML presentations, but users should know its generated files load external CDN resources.

Install this if you want a Chinese-language, Jobs-style HTML slide generator. Review generated presentations before sharing, and avoid opening highly sensitive decks while online unless you are comfortable with the template fetching TailwindCSS and fonts from third-party CDNs.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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)

T08 · Insecure Dependencies

Warning
Location
assets/template.html:7
Finding

Unverified Third-Party JavaScript Dependency

Content
View full analysis
``` ### Technical Analysis The presentation template loads and executes JavaScript directly from an external CDN. The script element does not specify a Subresource Integrity (`integrity`) hash, so the browser cannot verify that the downloaded resource matches a reviewed version. The document also has no restrictive Content Security Policy to limit script execution or outbound connections. Although the URL contains a version identifier, the effective payload remains controlled by the remote server. A compromise of the CDN, its publishing pipeline, DNS resolution, or the referenced resource could cause modified JavaScript to execute whenever a generated presentation is opened. This is classified as an insecure dependency because generated presentations depend on an unverified third-party executable component. ### Attack Path 1. An attacker compromises the CDN, its content-publishing process, DNS resolution, or another component capable of modifying the response for the referenced URL. 2. The attacker replaces the expected Tailwind script with malicious JavaScript. 3. A user opens an HTML presentation generated from this template while connected to the network. 4. The browser retrieves the altered script because the presentation explicitly trusts the external URL. 5. No integrity hash is present, so the browser executes the altered response without detecting that its contents have changed. 6. The malicious script can read or modify presentation DOM content, monitor user interaction, issue network requests, redirect the page, or display deceptive content within t ...[truncated 678 chars]
Remediation
View remediation
``` 3. Add a restrictive Content Security Policy. Prefer a policy that disallows remote scripts entirely when resources are embedded: ```html ``` Where possible, replace inline JavaScript with a hashed or nonce-authorized script and remove `'unsafe-inline'`. 4. Self-host or embed font resources as well, reducing external network dependencies and preventing unnecessary metadata disclosure. 5. Review and pin all third-party assets, record their expected cryptographic hashes, and periodically verify them through a controlled dependency-update process. ]]>
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (10)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
使用 [assets/template.html](assets/template.html) 作为基础模板生成完整HTML。

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The trigger description is broad enough to activate on many ordinary requests involving PPTs, slides, or even general style preferences like 'tech' or 'minimalist'. Over-broad routing can cause the wrong skill to take control, leading to unintended transformations of user content, mismatched outputs, and increased exposure to downstream prompt-injection or unsafe template behavior in the skill pipeline.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill description hardcodes Chinese-language behavior and style guidance without indicating any language negotiation with the user. This can override user intent, cause incorrect or misleading outputs in the wrong language, and increase the chance that safety-critical presentation content is transformed in ways the user cannot easily review.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill metadata and default prompt enforce Chinese-language interaction without any indication of user preference or opt-in. This can lead to unexpected behavior, reduced usability, and mishandling of user intent when the surrounding system or user expects another language.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The default activation prompt is generic enough that the skill may trigger in situations beyond explicit user intent, increasing the chance of unintended invocation and unwanted content generation. In an agent ecosystem, overly broad triggers can cause prompt routing errors, privacy issues, or inappropriate tool use even without malicious code.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The template loads Tailwind and fonts from third-party CDNs, so the generated HTML is not actually self-contained and directly runnable offline as described. This also introduces supply-chain and privacy risk: opening the file will trigger external requests that can fail, be modified upstream, or leak user metadata such as IP address and user agent.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The document declares lang="zh-CN", which sets a specific language/locale for the skill output. Under the policy, forcing a locale without user opt-in or a documented regional justification is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

The external CDN dependencies are not required for core slide navigation logic and appear to be used mainly for styling, which broadens the attack surface without strong functional need. In this skill context, users expect a standalone HTML deliverable, so silent network fetches are a trust and integrity concern even if not overtly malicious.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The section '字体加载(国内CDN)' specifies Chinese-oriented font resources such as HarmonyOS Sans SC and Noto Sans SC, and the document overall is written as a mandatory design standard. This can be a language/locale policy issue because it imposes a specific locale-dependent presentation choice without any opt-in or alternative for other languages or regions.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

This markdown file contains user-facing instructional content exclusively in Chinese, and there is no indication that the language requirement is optional or justified by a region-specific context. Under the policy rule, forcing a specific language without user opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.