Back to skill

Security audit

Html Ppt Editable

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward HTML slide editing helper, but its documentation overstates some features and users should be careful when exporting rich pasted content.

Install only if you are comfortable editing HTML presentations in-browser. Treat exported files as executable HTML: avoid pasting untrusted rich content, review the output before sharing, and do not rely on the documented localStorage autosave or built-in dragging unless those features are implemented separately.

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
SKILL.md:231
Finding

Unsanitized Editable HTML Persisted into Exported Presentations

Content
View full analysis
\n' + document.documentElement.outerHTML; editables.forEach(function(el) { el.setAttribute('contenteditable', 'true'); }); document.body.classList.add('edit-mode'); banner.classList.add('show'); var blob = new Blob([html], { type: 'text/html' }); var a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = 'edited.html'; a.click(); URL.revokeObjectURL(a.href); } ``` ### Technical Analysis The implementation enables rich browser editing by applying `contenteditable="true"` to multiple presentation elements. Contenteditable regions can accept formatted HTML through paste, drag-and-drop, or browser editing operations. Before export, the code removes only the `contenteditable` attributes. It does not sanitize the contents of the editable elements. It then serializes the entire live document using `document.documentElement.outerHTML` and saves it as an executable HTML document. Consequently, active markup introduced in ...[truncated 1682 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (7)

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The manifest description says the skill is '基于 contenteditable + localStorage 实现' and includes '文字框拖拽' as a core capability. However, the JavaScript only toggles contenteditable state and saves by generating a Blob for download, while the limitations section explicitly states dragging requires extra implementation.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The manifest description includes '文字框拖拽' as part of the skill purpose, implying that drag capability exists. Later documentation says '拖拽功能需额外实现', which directly contradicts that claim and matches the absence of any drag-handling code.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
99% confidence
Finding

The documentation explicitly advertises 'localStorage:自动保存编辑状态', which is a concrete implementation claim. The JavaScript implementation contains no localStorage access at all and instead only offers manual save via HTML download, creating a direct contradiction between docs and behavior.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill states that it uses localStorage to automatically save editing state, but it does not warn users that their edits will persist in the browser and may remain on the device after the session. For a feature affecting user data persistence and privacy, the markdown should explicitly disclose this behavior.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

The natural-language feature descriptions are written exclusively in Chinese, but the file does not state that the skill is intended only for Chinese-speaking users or offer any language choice. This may conflict with language/locale policy expectations when no opt-in or scope limitation is documented.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown file states that pressing Ctrl+S will automatically save content to localStorage, which affects user data persistence in the browser. The changelog does not include any warning or disclosure that edits may be stored locally and remain on the system.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
86% confidence
Finding

The file’s natural-language instructions and description are written only in Chinese, which can constitute a language/locale policy violation when no user opt-in or documented locale restriction is provided. There is no indication that this skill is intended exclusively for a Chinese-speaking or region-specific environment.

Content

No source excerpt is available for this finding.