Back to skill

Security audit

PPT 图片生成

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed slide-image workflow that creates images, an HTML viewer, and speaker notes with user approval gates and no hidden persistence or credential access.

Install only if you want a guided PPT-style image workflow that may send your slide content to image generation tools and write generated images plus an HTML player locally. Use a clean output directory, and expect some built-in Chinese prompts/UI unless you ask the agent to adapt the language.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (14)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- Use [generate-html-player.mjs](scripts/generate-html-player.mjs) only after the user approves final local images for a playable HTML output.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
- Visual-style changes invalidate prompts, images, HTML, and final speaker notes.
- Final speaker-note changes do not invalidate prompts, images, or HTML unless the visible slide content or logic changes.
- Style changes invalidate prompts, images, HTML, and final speaker notes according to the affected scope.
- Any single-page content or image change must enter the single-page revision loop in [workflow.md](references/workflow.md): clarify the page request, rebuild the page logic and expanded content, obtain explicit content approval, rebuild the prompt internally without asking for prompt approval, generate only that page, and review the new image.
- Never regenerate a page immediately from user feedback, even when the requested change seems small. Reconfirm the revised page content first. Reuse the existing style lock and do not repeat visual-style confirmation unless the user explicitly asks to change the deck style.
- HTML output must be regenerated if final image filenames, image count, title, or image folder changes.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
Write prompts for image-2. Each prompt must generate exactly one 16:9 PPT-style slide image.

Treat prompts as internal execution artifacts. Do not ask the user to review or approve prompts. Generate them after content and style approval, then proceed directly to image generation.

## Deck-wide style lock

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · references/image-2-prompts.md (reported line 5)May include surrounding context.

md
Write prompts for image-2. Each prompt must generate exactly one 16:9 PPT-style slide image.

Treat prompts as internal execution artifacts. Do not ask the user to review or approve prompts. Generate them after content and style approval, then proceed directly to image generation.

## Deck-wide style lock

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
76% confidence
Finding

The instructions require preserving "McKinsey-style communication," which imposes a specific stylistic/organizational language convention. Under SQP-3, forcing a particular language or locale style without offering user choice or documenting a justified constraint can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The workflow hard-codes a Chinese confirmation prompt even though the skill earlier collects the user's preferred output language. This creates a language-policy inconsistency by forcing a specific language without opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This line mandates a Chinese-only prompt for outline approval, while the workflow otherwise supports configurable output language and tone. That is a natural-language policy issue because it imposes a locale without user choice.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file instructs the agent to ask for approval using Chinese text, but the workflow earlier asks for the user's output language. Forcing Chinese here violates the language-choice expectation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

Although the workflow supports variable output language, this approval question is fixed in Chinese. That creates a locale policy violation by not honoring the user's language preference.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

This line requires Chinese output for a user-facing review gate, conflicting with the earlier collection of output language preferences. The mismatch forces a specific locale without opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The workflow ends with a mandatory Chinese prompt, which conflicts with the earlier requirement to capture the user's output language. This is a language-policy issue because it overrides user preference.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The revision workflow instructs the agent to use Chinese for a user approval step, even though language preference is collected earlier. This forces a specific language during interaction without opt-in.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

This markdown file applies to SQP-2, and it explicitly directs batch output to be saved as images/slide-01.png and similar filenames. The skill description does not include a user warning that it will write files to disk, which is a user-data/system-affecting behavior relevant to markdown safety disclosures.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The generated document sets lang="zh-CN", and the UI text throughout the template is fixed in Chinese. This imposes a specific language/locale on all users without any opt-in or explanation that the tool is intended only for a Chinese-language context.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.